Make generator: Fix test/rules/gyptest-all.py and test/rules/gyptest-default.py.
Make generator: Fix test/rules/gyptest-all.py and test/rules/gyptest-default.py.

Write out a separate set of actions for each rule. Actions containing "INPUT_ROOT" does not work in make fragments, so we need to expand them out as separate actions.

Outputs that have just a file name expect the file to be in the directory containing the gyp file. Write the target out as "path/to/foo" rather than "foo".

Review URL: http://codereview.chromium.org/200028

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

omasanori/gyp,cysp/gyp,duanhjlt/gyp,android-ia/platform_external_chromium_org_tools_gyp,amoikevin/gyp,enkripsi/gyp,alexcrichton/gyp,geekboxzone/lollipop_external_chromium_org_tools_gyp,sloanyang/gyp,adblockplus/gyp,bnoordhuis/gyp,svn2github/gyp,amoikevin/gyp,AWhetter/gyp,bdarnell/gyp,okwasi/gyp,LazyCodingCat/gyp,turbulenz/gyp,azunite/gyp_20150930,Danath/gyp,bnoordhuis/gyp,ryfx/gyp,lukeweber/gyp-override,azunite/gyp_20150930,Danath/gyp,ttyangf/pdfium_gyp,AOSPU/external_chromium_org_tools_gyp,sfiera/gyp,mgamer/gyp,turbulenz/gyp,dougbeal/gyp,pyokagan/gyp,cchamberlain/gyp,yinquan529/platform-external-chromium_org-tools-gyp,trafi/gyp,amoikevin/gyp,AOSPU/external_chromium_org_tools_gyp,sanyaade-teachings/gyp,mistydemeo/gyp,enkripsi/gyp,Jack-Q/GYP-copy,channing/gyp,brson/gyp,IllusionRom-deprecated/android_platform_external_chromium_org_tools_gyp,bulldy80/gyp_unofficial,trafi/gyp,msc-/gyp,adblockplus/gyp,erikge/watch_gyp,bdarnell/gyp,mapbox/gyp,android-ia/platform_external_chromium_org_tools_gyp,cysp/gyp,pandaxcl/gyp,azunite/gyp,ttyangf/gyp,pyokagan/gyp,xin3liang/platform_external_chromium_org_tools_gyp,mgamer/gyp,okwasi/gyp,clar/gyp,trafi/gyp,Omegaphora/external_chromium_org_tools_gyp,bnoordhuis/gyp,IllusionRom-deprecated/android_platform_external_chromium_org_tools_gyp,saghul/gyn,Jack-Q/GYP-copy,saghul/gyn,ttyangf/gyp,sport-monkey/GYP,clar/gyp,saghul/gyn,adblockplus/gyp,turbulenz/gyp,sloanyang/gyp,kevinchen3315/gyp-git,mkrautz/gyp-libmumble,mapbox/gyp,svn2github/kgyp,cchamberlain/gyp,lukeweber/gyp-override,enkripsi/gyp,AWhetter/gyp,pandaxcl/gyp,Chilledheart/gyp,lukeweber/gyp-override,LazyCodingCat/gyp,bnq4ever/gypgoogle,Phuehvk/gyp,MIPS/external-chromium_org-tools-gyp,amoikevin/gyp,svn2github/kgyp,ttyangf/gyp,mgamer/gyp,sdklite/gyp,msc-/gyp,okumura/gyp,springmeyer/gyp,turbulenz/gyp,Phuehvk/gyp,mgamer/gyp,carlTLR/gyp,geekboxzone/lollipop_external_chromium_org_tools_gyp,svn2github/gyp,bpsinc-native/src_tools_gyp,alexcrichton/gyp,geekboxzone/lollipop_external_chromium_org_tools_gyp,adblockplus/gyp,msc-/gyp,springmeyer/gyp,erikge/watch_gyp,okumura/gyp,sanyaade-teachings/gyp,azunite/gyp,ttyangf/gyp,bulldy80/gyp_unofficial,Phuehvk/gyp,yjhjstz/gyp,ttyangf/gyp,sdklite/gyp,svn2github/gyp,yangrongwei/gyp,trafi/gyp,duanhjlt/gyp,bnq4ever/gypgoogle,azunite/gyp,luvit/gyp,clar/gyp,AOSPU/external_chromium_org_tools_gyp,MIPS/external-chromium_org-tools-gyp,yinquan529/platform-external-chromium_org-tools-gyp,sdklite/gyp,cysp/gyp,yjhjstz/gyp,yjhjstz/gyp,bnq4ever/gypgoogle,bpsinc-native/src_tools_gyp,duanhjlt/gyp,ttyangf/pdfium_gyp,channing/gyp,msc-/gyp,sdklite/gyp,mgamer/gyp,msc-/gyp,cchamberlain/gyp,adblockplus/gyp,lukeweber/gyp-override,svn2github/gyp,Phuehvk/gyp,duanhjlt/gyp,Danath/gyp,bnq4ever/gypgoogle,xin3liang/platform_external_chromium_org_tools_gyp,yinquan529/platform-external-chromium_org-tools-gyp,ryfx/gyp,pandaxcl/gyp,tarc/gyp,Chilledheart/gyp,cysp/gyp,sanyaade-teachings/gyp,mkrautz/gyp-libmumble,Chilledheart/gyp,carlTLR/gyp,ryfx/gyp,turbulenz/gyp,luvit/gyp,MIPS/external-chromium_org-tools-gyp,ryfx/gyp,azunite/gyp_20150930,sdklite/gyp,okwasi/gyp,Danath/gyp,geekboxzone/lollipop_external_chromium_org_tools_gyp,openpeer/webrtc-gyp,svn2github/kgyp,sanyaade-teachings/gyp,bpsinc-native/src_tools_gyp,mapbox/gyp,channing/gyp,openpeer/webrtc-gyp,tarc/gyp,ttyangf/pdfium_gyp,dougbeal/gyp,sanyaade-teachings/gyp,mapbox/gyp,azunite/gyp,AWhetter/gyp,chromium/gyp,sfiera/gyp,alexcrichton/gyp,dougbeal/gyp,openpeer/webrtc-gyp,sport-monkey/GYP,sport-monkey/GYP,pyokagan/gyp,Omegaphora/external_chromium_org_tools_gyp,erikge/watch_gyp,sport-monkey/GYP,enkripsi/gyp,svn2github/kgyp,mkrautz/gyp-libmumble,mapbox/gyp,Jack-Q/GYP-copy,IllusionRom-deprecated/android_platform_external_chromium_org_tools_gyp,Omegaphora/external_chromium_org_tools_gyp,chromium/gyp,Danath/gyp,clar/gyp,AWhetter/gyp,yangrongwei/gyp,openpeer/webrtc-gyp,lianliuwei/gyp,carlTLR/gyp,kevinchen3315/gyp-git,brson/gyp,lianliuwei/gyp,channing/gyp,mumble-voip/libmumble-gyp,sfiera/gyp,okumura/gyp,android-ia/platform_external_chromium_org_tools_gyp,Chilledheart/gyp,ttyangf/pdfium_gyp,alexcrichton/gyp,mkrautz/gyp-libmumble,LazyCodingCat/gyp,carlTLR/gyp,okumura/gyp,springmeyer/gyp,tarc/gyp,bnoordhuis/gyp,bnq4ever/gypgoogle,trafi/gyp,LazyCodingCat/gyp,luvit/gyp,bulldy80/gyp_unofficial,android-ia/platform_external_chromium_org_tools_gyp,azunite/gyp_20150930,enkripsi/gyp,yangrongwei/gyp,IllusionRom-deprecated/android_platform_external_chromium_org_tools_gyp,amoikevin/gyp,saghul/gyn,sloanyang/gyp,MIPS/external-chromium_org-tools-gyp,duanhjlt/gyp,bnoordhuis/gyp,bulldy80/gyp_unofficial,yangrongwei/gyp,ryfx/gyp,Phuehvk/gyp,azunite/gyp,cchamberlain/gyp,kevinchen3315/gyp-git,mistydemeo/gyp,erikge/watch_gyp,bdarnell/gyp,yinquan529/platform-external-chromium_org-tools-gyp,openpeer/webrtc-gyp,yjhjstz/gyp,brson/gyp,azunite/gyp_20150930,pandaxcl/gyp,AWhetter/gyp,cchamberlain/gyp,tarc/gyp,svn2github/kgyp,lianliuwei/gyp,tarc/gyp,AOSPU/external_chromium_org_tools_gyp,springmeyer/gyp,kevinchen3315/gyp-git,Omegaphora/external_chromium_org_tools_gyp,springmeyer/gyp,mumble-voip/libmumble-gyp,LazyCodingCat/gyp,omasanori/gyp,dougbeal/gyp,okwasi/gyp,yjhjstz/gyp,sport-monkey/GYP,mumble-voip/libmumble-gyp,chromium/gyp,mistydemeo/gyp,xin3liang/platform_external_chromium_org_tools_gyp,chromium/gyp,carlTLR/gyp,erikge/watch_gyp,chromium/gyp,pyokagan/gyp,sloanyang/gyp,brson/gyp,pyokagan/gyp,mistydemeo/gyp,bdarnell/gyp,Jack-Q/GYP-copy,mumble-voip/libmumble-gyp,bulldy80/gyp_unofficial,Jack-Q/GYP-copy,xin3liang/platform_external_chromium_org_tools_gyp,luvit/gyp,pandaxcl/gyp,svn2github/gyp,saghul/gyn,cysp/gyp,ttyangf/pdfium_gyp,omasanori/gyp,bpsinc-native/src_tools_gyp,clar/gyp,lianliuwei/gyp,Chilledheart/gyp,omasanori/gyp,dougbeal/gyp