gyp: cache conditional ASTs for 3 CPU seconds (5%) gain. 
gyp: cache conditional ASTs for 3 CPU seconds (5%) gain. 

This is in the parallel part so net gain is somewhere between 
5/core_count% and 5%. In chromium on my computer I save roughly 
1.5 seconds in total runtime. 

BUG=chromium:362075
R=mark@chromium.org

Review URL: https://codereview.chromium.org/232773004/
Patch from Daniel Bratell <bratell@opera.com>!


git-svn-id: e7e1075985beda50ea81ac4472467b4f6e91fc78@1900 78cadc50-ecff-11dd-a971-7dbc132099af

sport-monkey/GYP,cysp/gyp,Chilledheart/gyp,Phuehvk/gyp,xin3liang/platform_external_chromium_org_tools_gyp,chromium/gyp,sanyaade-teachings/gyp,mgamer/gyp,amoikevin/gyp,sdklite/gyp,sdklite/gyp,bnq4ever/gypgoogle,amoikevin/gyp,yjhjstz/gyp,Jack-Q/GYP-copy,turbulenz/gyp,sport-monkey/GYP,bnoordhuis/gyp,cysp/gyp,Omegaphora/external_chromium_org_tools_gyp,bulldy80/gyp_unofficial,AWhetter/gyp,dougbeal/gyp,bulldy80/gyp_unofficial,geekboxzone/lollipop_external_chromium_org_tools_gyp,Danath/gyp,azunite/gyp,carlTLR/gyp,AOSPU/external_chromium_org_tools_gyp,azunite/gyp_20150930,ttyangf/pdfium_gyp,cysp/gyp,ryfx/gyp,cchamberlain/gyp,trafi/gyp,dougbeal/gyp,enkripsi/gyp,sport-monkey/GYP,enkripsi/gyp,AWhetter/gyp,turbulenz/gyp,Chilledheart/gyp,dougbeal/gyp,AWhetter/gyp,saghul/gyn,openpeer/webrtc-gyp,erikge/watch_gyp,mapbox/gyp,bulldy80/gyp_unofficial,enkripsi/gyp,LazyCodingCat/gyp,LazyCodingCat/gyp,saghul/gyn,xin3liang/platform_external_chromium_org_tools_gyp,ttyangf/pdfium_gyp,adblockplus/gyp,openpeer/webrtc-gyp,AOSPU/external_chromium_org_tools_gyp,Danath/gyp,xin3liang/platform_external_chromium_org_tools_gyp,pandaxcl/gyp,tarc/gyp,Chilledheart/gyp,amoikevin/gyp,carlTLR/gyp,AOSPU/external_chromium_org_tools_gyp,cchamberlain/gyp,carlTLR/gyp,azunite/gyp_20150930,mapbox/gyp,Danath/gyp,sport-monkey/GYP,bulldy80/gyp_unofficial,mapbox/gyp,msc-/gyp,chromium/gyp,duanhjlt/gyp,turbulenz/gyp,bnoordhuis/gyp,openpeer/webrtc-gyp,clar/gyp,bnoordhuis/gyp,adblockplus/gyp,saghul/gyn,azunite/gyp,ttyangf/pdfium_gyp,trafi/gyp,saghul/gyn,LazyCodingCat/gyp,ttyangf/gyp,springmeyer/gyp,pandaxcl/gyp,springmeyer/gyp,android-ia/platform_external_chromium_org_tools_gyp,bnq4ever/gypgoogle,erikge/watch_gyp,enkripsi/gyp,msc-/gyp,trafi/gyp,springmeyer/gyp,chromium/gyp,mapbox/gyp,ttyangf/gyp,ttyangf/pdfium_gyp,sdklite/gyp,tarc/gyp,sanyaade-teachings/gyp,chromium/gyp,Chilledheart/gyp,adblockplus/gyp,sdklite/gyp,LazyCodingCat/gyp,clar/gyp,carlTLR/gyp,openpeer/webrtc-gyp,ryfx/gyp,azunite/gyp,bnq4ever/gypgoogle,ryfx/gyp,bpsinc-native/src_tools_gyp,msc-/gyp,tarc/gyp,turbulenz/gyp,ttyangf/gyp,azunite/gyp_20150930,erikge/watch_gyp,mgamer/gyp,AWhetter/gyp,sanyaade-teachings/gyp,mapbox/gyp,mgamer/gyp,mgamer/gyp,bnoordhuis/gyp,bpsinc-native/src_tools_gyp,duanhjlt/gyp,bnq4ever/gypgoogle,Chilledheart/gyp,duanhjlt/gyp,azunite/gyp,bnq4ever/gypgoogle,Omegaphora/external_chromium_org_tools_gyp,erikge/watch_gyp,azunite/gyp,geekboxzone/lollipop_external_chromium_org_tools_gyp,carlTLR/gyp,chromium/gyp,yjhjstz/gyp,ttyangf/gyp,AWhetter/gyp,yjhjstz/gyp,tarc/gyp,ryfx/gyp,AOSPU/external_chromium_org_tools_gyp,clar/gyp,geekboxzone/lollipop_external_chromium_org_tools_gyp,sanyaade-teachings/gyp,bpsinc-native/src_tools_gyp,dougbeal/gyp,cysp/gyp,sanyaade-teachings/gyp,azunite/gyp_20150930,dougbeal/gyp,Omegaphora/external_chromium_org_tools_gyp,adblockplus/gyp,bulldy80/gyp_unofficial,geekboxzone/lollipop_external_chromium_org_tools_gyp,clar/gyp,Jack-Q/GYP-copy,yjhjstz/gyp,azunite/gyp_20150930,Omegaphora/external_chromium_org_tools_gyp,msc-/gyp,Phuehvk/gyp,Phuehvk/gyp,ttyangf/pdfium_gyp,Danath/gyp,cchamberlain/gyp,pandaxcl/gyp,pandaxcl/gyp,android-ia/platform_external_chromium_org_tools_gyp,Phuehvk/gyp,cchamberlain/gyp,openpeer/webrtc-gyp,springmeyer/gyp,Danath/gyp,clar/gyp,msc-/gyp,mgamer/gyp,tarc/gyp,trafi/gyp,android-ia/platform_external_chromium_org_tools_gyp,LazyCodingCat/gyp,Jack-Q/GYP-copy,sport-monkey/GYP,sdklite/gyp,bnoordhuis/gyp,yjhjstz/gyp,turbulenz/gyp,duanhjlt/gyp,ryfx/gyp,saghul/gyn,duanhjlt/gyp,cchamberlain/gyp,trafi/gyp,enkripsi/gyp,ttyangf/gyp,cysp/gyp,amoikevin/gyp,Jack-Q/GYP-copy,Phuehvk/gyp,springmeyer/gyp,adblockplus/gyp,xin3liang/platform_external_chromium_org_tools_gyp,amoikevin/gyp,pandaxcl/gyp,bpsinc-native/src_tools_gyp,Jack-Q/GYP-copy,android-ia/platform_external_chromium_org_tools_gyp,erikge/watch_gyp