make: Add support for building bundles.
make: Add support for building bundles.

With this change, the make build can build frameworks and app bundles, if
the output path doesn't happen to contain spaces (i.e. chromium doesn't 
work quite yet).

For bundles, self.output is now the bundle directory, and self.output_binary
the binary within. For non-bundle targets, self.output and self.output_binary
are the same file.

For bundles, self.output depends on all bundle_deps to make sure they're
built before the bundle, and then package-frameworks is called for the
bundle.
Review URL: http://codereview.chromium.org/7396012

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

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