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', |