mac: In component builds, put all chrome code in a nonbundle dylib. 25% faster incremental builds.
mac: In component builds, put all chrome code in a nonbundle dylib. 25% faster incremental builds.

In a components build, make chrome_dll a very thin shim that includes
all the bundle resources but no code, give it type shared_library/bundle
(currently it's type none) and make it -reexport_library chrome_main_dll.
Also move all postbuilds to this target. (To make this maintainable, all the
bundle stuff was moved to a separate gypi file previously that's now just
included in a different place.)

Keep all sources in chrome_main_dll, but turn it from a bundle into a
regular shared library.

With this, gyp's ld optimization becomes active for chrome_mail_dll,
which means all the bundle stuff (most notably postbuilds) don't need to
run after touching a file below chrome/.

Touching file in c/b/ui and rebuilding:
7.7s -> 5.8s (download_show_all_cell.mm, SSD), or
8.3s -> 6.4s (omnibox_popup_view_mac.mm, SSD)
19.7s -> 16.7s (hover_button.mm, HDD)

From

0. ninja figures out deps (0.7s)
1. compile changed file (~1s)
2. libtool libchrome_browser_ui.a (~2s)
3. touch obj/chrome/chrome_main_dll.actions_depends.stamp
4. ld Chromium Framework (~2s)
5. package-framework Chromium Framework
6. ld libplugin_carbon_interpose.dylib
7. ld Chromium Helper
8. change_mach_o_flags_from_xcode.sh for Chromium Helper
9. touch obj/chrome/chrome.actions_depends.stamp
10. ln libplugin_carbon_interpose.dylib to Contents/Versions/...
11. same for Chromium Framework
12. touch obj/chrome/chrome.actions_rules_copies.stamp
13. ld Chromium main executable
14. Main executable postbuilds (tweak_info_plist.py, make_more_helpers, ...)

to

0. ninja figures out deps (0.7s)
1. compile changed file (~1s)
2. libtool libchrome_browser_ui.a (~2s)
3. ld libchrome_main_dll.dylib (~2s)

Review URL: https://codereview.chromium.org/11420019

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@168314 0039d316-1c4b-4281-b951-d872f2087c98

PeterWangIntel/chromium-crosswalk,dushu1203/chromium.src,Pluto-tv/chromium-crosswalk,jaruba/chromium.src,hujiajie/pa-chromium,jaruba/chromium.src,nacl-webkit/chrome_deps,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,nacl-webkit/chrome_deps,ltilve/chromium,Jonekee/chromium.src,timopulkkinen/BubbleFish,mogoweb/chromium-crosswalk,chuan9/chromium-crosswalk,Fireblend/chromium-crosswalk,Just-D/chromium-1,nacl-webkit/chrome_deps,dednal/chromium.src,markYoungH/chromium.src,Jonekee/chromium.src,crosswalk-project/chromium-crosswalk-efl,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,ChromiumWebApps/chromium,PeterWangIntel/chromium-crosswalk,patrickm/chromium.src,dednal/chromium.src,dednal/chromium.src,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,mogoweb/chromium-crosswalk,chuan9/chromium-crosswalk,littlstar/chromium.src,dushu1203/chromium.src,hgl888/chromium-crosswalk,nacl-webkit/chrome_deps,zcbenz/cefode-chromium,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,Chilledheart/chromium,axinging/chromium-crosswalk,nacl-webkit/chrome_deps,anirudhSK/chromium,ChromiumWebApps/chromium,patrickm/chromium.src,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,mohamed--abdel-maksoud/chromium.src,ltilve/chromium,fujunwei/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,Chilledheart/chromium,axinging/chromium-crosswalk,Jonekee/chromium.src,nacl-webkit/chrome_deps,Pluto-tv/chromium-crosswalk,patrickm/chromium.src,zcbenz/cefode-chromium,ChromiumWebApps/chromium,Fireblend/chromium-crosswalk,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk,littlstar/chromium.src,Chilledheart/chromium,hujiajie/pa-chromium,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,anirudhSK/chromium,dushu1203/chromium.src,anirudhSK/chromium,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,littlstar/chromium.src,Fireblend/chromium-crosswalk,timopulkkinen/BubbleFish,markYoungH/chromium.src,fujunwei/chromium-crosswalk,chuan9/chromium-crosswalk,dednal/chromium.src,PeterWangIntel/chromium-crosswalk,markYoungH/chromium.src,TheTypoMaster/chromium-crosswalk,hgl888/chromium-crosswalk,dednal/chromium.src,mohamed--abdel-maksoud/chromium.src,patrickm/chromium.src,Jonekee/chromium.src,mohamed--abdel-maksoud/chromium.src,fujunwei/chromium-crosswalk,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,markYoungH/chromium.src,littlstar/chromium.src,mohamed--abdel-maksoud/chromium.src,nacl-webkit/chrome_deps,M4sse/chromium.src,Jonekee/chromium.src,patrickm/chromium.src,Jonekee/chromium.src,markYoungH/chromium.src,dednal/chromium.src,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,Jonekee/chromium.src,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,timopulkkinen/BubbleFish,ondra-novak/chromium.src,bright-sparks/chromium-spacewalk,hujiajie/pa-chromium,crosswalk-project/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,mogoweb/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,mogoweb/chromium-crosswalk,nacl-webkit/chrome_deps,jaruba/chromium.src,TheTypoMaster/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,M4sse/chromium.src,M4sse/chromium.src,Chilledheart/chromium,zcbenz/cefode-chromium,mogoweb/chromium-crosswalk,hujiajie/pa-chromium,dednal/chromium.src,krieger-od/nwjs_chromium.src,M4sse/chromium.src,chuan9/chromium-crosswalk,Pluto-tv/chromium-crosswalk,anirudhSK/chromium,ltilve/chromium,mogoweb/chromium-crosswalk,ondra-novak/chromium.src,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,mogoweb/chromium-crosswalk,timopulkkinen/BubbleFish,crosswalk-project/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,markYoungH/chromium.src,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,jaruba/chromium.src,nacl-webkit/chrome_deps,hujiajie/pa-chromium,jaruba/chromium.src,mogoweb/chromium-crosswalk,ltilve/chromium,Fireblend/chromium-crosswalk,pozdnyakov/chromium-crosswalk,chuan9/chromium-crosswalk,Just-D/chromium-1,axinging/chromium-crosswalk,markYoungH/chromium.src,jaruba/chromium.src,ondra-novak/chromium.src,jaruba/chromium.src,nacl-webkit/chrome_deps,hujiajie/pa-chromium,crosswalk-project/chromium-crosswalk-efl,ChromiumWebApps/chromium,fujunwei/chromium-crosswalk,M4sse/chromium.src,pozdnyakov/chromium-crosswalk,dushu1203/chromium.src,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,ondra-novak/chromium.src,anirudhSK/chromium,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,mohamed--abdel-maksoud/chromium.src,jaruba/chromium.src,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,axinging/chromium-crosswalk,littlstar/chromium.src,timopulkkinen/BubbleFish,Just-D/chromium-1,dushu1203/chromium.src,dednal/chromium.src,hgl888/chromium-crosswalk,dushu1203/chromium.src,hujiajie/pa-chromium,dednal/chromium.src,ondra-novak/chromium.src,zcbenz/cefode-chromium,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,axinging/chromium-crosswalk,Just-D/chromium-1,Just-D/chromium-1,ChromiumWebApps/chromium,markYoungH/chromium.src,timopulkkinen/BubbleFish,bright-sparks/chromium-spacewalk,chuan9/chromium-crosswalk,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,Pluto-tv/chromium-crosswalk,bright-sparks/chromium-spacewalk,krieger-od/nwjs_chromium.src,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,patrickm/chromium.src,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,Fireblend/chromium-crosswalk,ChromiumWebApps/chromium,ondra-novak/chromium.src,ChromiumWebApps/chromium,hujiajie/pa-chromium,littlstar/chromium.src,fujunwei/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,zcbenz/cefode-chromium,jaruba/chromium.src,M4sse/chromium.src,axinging/chromium-crosswalk,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,timopulkkinen/BubbleFish,markYoungH/chromium.src,PeterWangIntel/chromium-crosswalk,timopulkkinen/BubbleFish,pozdnyakov/chromium-crosswalk,zcbenz/cefode-chromium,ltilve/chromium,ChromiumWebApps/chromium,Chilledheart/chromium,hgl888/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,anirudhSK/chromium,Chilledheart/chromium,mohamed--abdel-maksoud/chromium.src,hujiajie/pa-chromium,Chilledheart/chromium,chuan9/chromium-crosswalk,Pluto-tv/chromium-crosswalk,zcbenz/cefode-chromium,pozdnyakov/chromium-crosswalk,Just-D/chromium-1,ChromiumWebApps/chromium,patrickm/chromium.src,Just-D/chromium-1,dushu1203/chromium.src,zcbenz/cefode-chromium,hujiajie/pa-chromium,markYoungH/chromium.src,M4sse/chromium.src,M4sse/chromium.src,ondra-novak/chromium.src,Just-D/chromium-1,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,Jonekee/chromium.src,Chilledheart/chromium,jaruba/chromium.src,mogoweb/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,fujunwei/chromium-crosswalk,M4sse/chromium.src,anirudhSK/chromium,patrickm/chromium.src,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,PeterWangIntel/chromium-crosswalk,pozdnyakov/chromium-crosswalk,krieger-od/nwjs_chromium.src,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,ltilve/chromium,ltilve/chromium,Just-D/chromium-1,PeterWangIntel/chromium-crosswalk,Pluto-tv/chromium-crosswalk,littlstar/chromium.src,ChromiumWebApps/chromium,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,nacl-webkit/chrome_deps,Pluto-tv/chromium-crosswalk,zcbenz/cefode-chromium,anirudhSK/chromium,anirudhSK/chromium,axinging/chromium-crosswalk,anirudhSK/chromium,dushu1203/chromium.src,axinging/chromium-crosswalk,markYoungH/chromium.src,crosswalk-project/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk-efl,littlstar/chromium.src,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,jaruba/chromium.src,bright-sparks/chromium-spacewalk,Chilledheart/chromium,TheTypoMaster/chromium-crosswalk,patrickm/chromium.src,fujunwei/chromium-crosswalk,dednal/chromium.src,hujiajie/pa-chromium,ondra-novak/chromium.src,timopulkkinen/BubbleFish,dednal/chromium.src,Jonekee/chromium.src,M4sse/chromium.src,dushu1203/chromium.src,ltilve/chromium,ltilve/chromium