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

Unified Diff: chrome/chrome.gyp

Issue 171043: Stop shortening the Mac lproj directories (ie-"en-US" instead of "en").... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months 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 | « chrome/app/tweak_mac_lproj_folders ('k') | chrome/tools/build/repack_locales.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome.gyp
===================================================================
--- chrome/chrome.gyp (revision 23545)
+++ chrome/chrome.gyp (working copy)
@@ -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)',
« no previous file with comments | « chrome/app/tweak_mac_lproj_folders ('k') | chrome/tools/build/repack_locales.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698