summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-17 17:56:45 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-17 17:56:45 +0000
commite68d6578f6c64a9120eb224aa594eca1c5960df3 (patch)
tree6542773bd5c5ac7a80566fe9cd73ed1cfcd95f7c /chrome/chrome.gyp
parentf3dd4151bea83e010fe5ff80e112ce129927dcd7 (diff)
downloadchromium_src-e68d6578f6c64a9120eb224aa594eca1c5960df3.zip
chromium_src-e68d6578f6c64a9120eb224aa594eca1c5960df3.tar.gz
chromium_src-e68d6578f6c64a9120eb224aa594eca1c5960df3.tar.bz2
Stop shortening the Mac lproj directories (ie-"en-US" instead of "en").
Add a script to make a link for "en.lproj" so we always have an english in the fall back list. Run said script as a postbuild step. TEST=Chrome should now show all 40 language when you do a get info in the finder. BUG=19165 Review URL: http://codereview.chromium.org/171043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp26
1 files changed, 8 insertions, 18 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index dba3484..d4e3aca 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -3147,7 +3147,11 @@
'-s1', # Include Subversion information
'<(branding)'],
},
- ],
+ {
+ 'postbuild_name': 'Tweak Mac lproj folders',
+ 'action': ['app/tweak_mac_lproj_folders'],
+ },
+ ], # postbuilds
}, { # else: OS != "mac"
'conditions': [
['branding=="Chrome"', {
@@ -3322,6 +3326,7 @@
},
{
'action_name': 'repack_locales',
+ 'process_outputs_as_mac_bundle_resources': 1,
'variables': {
'conditions': [
['branding=="Chrome"', {
@@ -3340,23 +3345,8 @@
# here was the only way it seemed to work.
'>!@(<(repack_locales_cmd) -i <(branding_flag) -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))',
],
- 'conditions': [
- ['OS=="mac"', {
- 'process_outputs_as_mac_bundle_resources': 1,
- 'variables': {
- 'locales=': [ 'da', 'en-US', 'he', 'zh-TW', ],
- },
- 'outputs': [
- '<(INTERMEDIATE_DIR)/repack/da.lproj/locale.pak',
- '<(INTERMEDIATE_DIR)/repack/en.lproj/locale.pak',
- '<(INTERMEDIATE_DIR)/repack/he.lproj/locale.pak',
- '<(INTERMEDIATE_DIR)/repack/zh.lproj/locale.pak',
- ],
- }, { # else: OS!="mac"
- 'outputs': [
- '>!@(<(repack_locales_cmd) -o -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))',
- ],
- }],
+ 'outputs': [
+ '>!@(<(repack_locales_cmd) -o -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))',
],
'action': ['<@(repack_locales_cmd)',
'<@(branding_flag)',