summaryrefslogtreecommitdiffstats
path: root/chrome/app/resources
diff options
context:
space:
mode:
authorbradnelson@chromium.org <bradnelson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-08 00:12:34 +0000
committerbradnelson@chromium.org <bradnelson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-08 00:12:34 +0000
commit4a28e0bc86f6c42eeb4c3686b3f29493354701c7 (patch)
tree722c61e207b5a315d75fea6165d43534e8ea181e /chrome/app/resources
parent86aa36bfc4155eb70453e303d0c6b351860b84a3 (diff)
downloadchromium_src-4a28e0bc86f6c42eeb4c3686b3f29493354701c7.zip
chromium_src-4a28e0bc86f6c42eeb4c3686b3f29493354701c7.tar.gz
chromium_src-4a28e0bc86f6c42eeb4c3686b3f29493354701c7.tar.bz2
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
Diffstat (limited to 'chrome/app/resources')
-rw-r--r--chrome/app/resources/SConscript8
1 files changed, 5 insertions, 3 deletions
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)
-