Factor out the resource generation actions for Linux and FreeBSD.
Factor out the resource generation actions for Linux and FreeBSD.

Create a new target 'packed_resources' that can be used for building
resource files for Linux and FreeBSD, without building the chrome
binary.

The new target is useful for test programs that depend on the
resource files. For example, view_examples on Linux depends on
chrome.pak to be present in the product directory. Hence we
needed to build "chrome" before "view_examples" just for
resource files, which is not great.

Note that I tried to unify the actions with Mac, but failed
as Mac needs to build the mac bundle as part of chrome_dll
library.

TEST=try --clobber; locally clean-built chrome on linux.
BUG=29969

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

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

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