Add dependency check for weasyprint

Change-Id: I10fde6caae79b19e679f49dd61b154c17e1690b4