From 4a28e0bc86f6c42eeb4c3686b3f29493354701c7 Mon Sep 17 00:00:00 2001 From: "bradnelson@chromium.org" Date: Sat, 8 Nov 2008 00:12:34 +0000 Subject: Adding in new solution builder pattern. Review URL: http://codereview.chromium.org/10231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5047 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/resources/SConscript | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'chrome/app/resources') diff --git a/chrome/app/resources/SConscript b/chrome/app/resources/SConscript index 519e929..cfbf1a0 100644 --- a/chrome/app/resources/SConscript +++ b/chrome/app/resources/SConscript @@ -4,7 +4,6 @@ Import(['env', 'env_res']) -env = env.Clone() env_res = env_res.Clone() env_res.Append( @@ -95,6 +94,10 @@ extract_lang = re.compile(r'locale_settings_(.*)\.res') locale_dlls = [] +env_lang = env.Clone() +AddTargetGroup('all_languages', 'resource dlls for languages can be built') +env_lang['COMPONENT_LIBRARY_GROUPS'] = ['all_languages'] + for locale_settings_res in resources: s = str(locale_settings_res) #lang = '$CHROME_DIR/locales/' + extract_lang.match(s).group(1) @@ -102,7 +105,7 @@ for locale_settings_res in resources: g_r_res = s.replace('locale_settings', 'generated_resources') w_s_res = s.replace('locale_settings', '$WEBKIT_DIR/build/localized_strings/webkit_strings') - dll = env.ChromeSharedLibrary( + dll = env_lang.ChromeSharedLibrary( lang, [ g_r_res, @@ -114,4 +117,3 @@ for locale_settings_res in resources: i = env.Install('$TARGET_ROOT/locales/', locale_dlls) env.Alias('chrome', i) - -- cgit v1.1