summaryrefslogtreecommitdiffstats
path: root/chrome/app/policy
diff options
context:
space:
mode:
authorgfeher@chromium.org <gfeher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 13:10:39 +0000
committergfeher@chromium.org <gfeher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 13:10:39 +0000
commit57f61ffa6a42a62c1b1921a8f3103d29bb76a6cb (patch)
tree1e2be8f17fded04b317a01f26b68d0e09018a34b /chrome/app/policy
parentaf8b9b1a0afeeb7559ff53cf3fe08f99a32ed4df (diff)
downloadchromium_src-57f61ffa6a42a62c1b1921a8f3103d29bb76a6cb.zip
chromium_src-57f61ffa6a42a62c1b1921a8f3103d29bb76a6cb.tar.gz
chromium_src-57f61ffa6a42a62c1b1921a8f3103d29bb76a6cb.tar.bz2
Remove policy template localizations from the Mac application bundle
Because they are taking up way too much space... BUG=88209 TEST=Size of Chromium app bundle drops by ~20M Review URL: http://codereview.chromium.org/7312004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91697 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/policy')
-rw-r--r--chrome/app/policy/policy_templates.gypi8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/app/policy/policy_templates.gypi b/chrome/app/policy/policy_templates.gypi
index 4c49a9a..f7a7f72 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:
+ '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',