Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: chrome/app/resources/SConscript

Issue 10231: Adding in new solution builder pattern. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/SConscript.main ('k') | site_scons/site_tools/component_builders.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/resources/SConscript
===================================================================
--- chrome/app/resources/SConscript (revision 5017)
+++ chrome/app/resources/SConscript (working copy)
@@ -4,7 +4,6 @@
Import(['env', 'env_res'])
-env = env.Clone()
env_res = env_res.Clone()
env_res.Append(
@@ -95,6 +94,10 @@
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 @@
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 @@
i = env.Install('$TARGET_ROOT/locales/', locale_dlls)
env.Alias('chrome', i)
-
« no previous file with comments | « build/SConscript.main ('k') | site_scons/site_tools/component_builders.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698