summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-02 18:55:55 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-02 18:55:55 +0000
commit27ac03eefb96c503b417a1a3e545eb3499b1f9e5 (patch)
treec677b3c89e45f1dea61dcab22873bec01c3e4e8c /chrome/chrome.gyp
parent8b6976e46f45f4a2ada7ea0dbf8c2963e986f5b6 (diff)
downloadchromium_src-27ac03eefb96c503b417a1a3e545eb3499b1f9e5.zip
chromium_src-27ac03eefb96c503b417a1a3e545eb3499b1f9e5.tar.gz
chromium_src-27ac03eefb96c503b417a1a3e545eb3499b1f9e5.tar.bz2
Add all locales to the grit output list.
BUG=none TEST=Linux make build no longer fails complaining about foo_ar.pak. Review URL: http://codereview.chromium.org/188003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25213 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp18
1 files changed, 8 insertions, 10 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 78b47e7..68fd197 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -33,6 +33,8 @@
'uk', 'vi', 'zh-CN', 'zh-TW',
],
'repack_locales_cmd': ['python', 'tools/build/repack_locales.py',],
+ # TODO: remove this helper when we have loops in GYP
+ 'apply_locales_cmd': ['python', 'tools/build/apply_locales.py',],
'browser_tests_sources': [
'browser/browser_browsertest.cc',
'browser/browser_init_browsertest.cc',
@@ -255,12 +257,8 @@
],
'outputs': [
'<(grit_out_dir)/grit/<(RULE_INPUT_ROOT).h',
- # TODO(mmoss) Generate this list from a helper script, like
- # repack_locales_cmd.
- '<(grit_out_dir)/<(RULE_INPUT_ROOT)_da.pak',
- '<(grit_out_dir)/<(RULE_INPUT_ROOT)_en-US.pak',
- '<(grit_out_dir)/<(RULE_INPUT_ROOT)_he.pak',
- '<(grit_out_dir)/<(RULE_INPUT_ROOT)_zh-TW.pak',
+ # TODO: remove this helper when we have loops in GYP
+ '>!@(<(apply_locales_cmd) \'<(grit_out_dir)/<(RULE_INPUT_ROOT)_ZZLOCALE.pak\' <(locales))',
],
'action': ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)',
'build', '-o', '<(grit_out_dir)',
@@ -3268,11 +3266,11 @@
'<(tool_path)',
'<(version_file_path)',
# TODO: remove this helper when we have loops in GYP
- '>!@(tools/build/apply_locales.py \'<(grit_out_dir)/<(branding_name)_ZZLOCALE.pak\' <(locales))',
+ '>!@(<(apply_locales_cmd) \'<(grit_out_dir)/<(branding_name)_ZZLOCALE.pak\' <(locales))',
],
'outputs': [
# TODO: remove this helper when we have loops in GYP
- '>!@(tools/build/apply_locales.py \'<(output_path)/ZZLOCALE.lproj/InfoPlist.strings\' <(locales))',
+ '>!@(<(apply_locales_cmd) \'<(output_path)/ZZLOCALE.lproj/InfoPlist.strings\' <(locales))',
],
'action': [
'<(tool_path)',
@@ -4898,11 +4896,11 @@
'<(tool_path)',
'<(version_file_path)',
# TODO: remove this helper when we have loops in GYP
- '>!@(tools/build/apply_locales.py \'<(grit_out_dir)/<(branding_name)_ZZLOCALE.pak\' <(locales))',
+ '>!@(<(apply_locales_cmd) \'<(grit_out_dir)/<(branding_name)_ZZLOCALE.pak\' <(locales))',
],
'outputs': [
# TODO: remove this helper when we have loops in GYP
- '>!@(tools/build/apply_locales.py \'<(output_path)/ZZLOCALE.lproj/InfoPlist.strings\' <(locales))',
+ '>!@(<(apply_locales_cmd) \'<(output_path)/ZZLOCALE.lproj/InfoPlist.strings\' <(locales))',
],
'action': [
'<(tool_path)',