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

Unified Diff: chrome/app/policy/policy_templates.gypi

Issue 7312004: Remove policy template localizations from the Mac application bundle (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/policy/policy_templates.gypi
diff --git a/chrome/app/policy/policy_templates.gypi b/chrome/app/policy/policy_templates.gypi
index 4c49a9a245482edc10890356ba2d94e00426ed4b..f7a7f72130a01b8d99dfacdca517151311406a49 100644
--- a/chrome/app/policy/policy_templates.gypi
+++ b/chrome/app/policy/policy_templates.gypi
@@ -135,14 +135,18 @@
# Directory to collect the Localizable.strings files before
# they are copied to the bundle.
'output_path': '<(INTERMEDIATE_DIR)/app_manifest',
+ # The reason we are not enumerating all the locales is that
+ # the translations would eat up 20MB disk space in the
+ # application bundle:
Nico 2011/07/12 22:25:23 3.5MB, not 20 MB. (there was a 20MB size regressio
gfeher 2011/07/12 22:27:35 I'll fix this as a TBR.
+ 'available_locales': 'en',
},
'inputs': [
# TODO: remove this helper when we have loops in GYP
- '>!@(<(apply_locales_cmd) -d \'<(input_path)/ZZLOCALE.lproj/Localizable.strings\' <(locales))',
+ '>!@(<(apply_locales_cmd) -d \'<(input_path)/ZZLOCALE.lproj/Localizable.strings\' <(available_locales))',
],
'outputs': [
# TODO: remove this helper when we have loops in GYP
- '>!@(<(apply_locales_cmd) -d \'<(output_path)/ZZLOCALE.lproj/Localizable.strings\' <(locales))',
+ '>!@(<(apply_locales_cmd) -d \'<(output_path)/ZZLOCALE.lproj/Localizable.strings\' <(available_locales))',
],
'action': [
'cp', '-R',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698