summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-22 05:26:06 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-22 05:26:06 +0000
commitfd62678a517b1ed13cf67a9e677ae13b8f7784ae (patch)
tree0c89ec3342723a802d58c827c4fb8f7d0797fe6d /chrome/tools
parentbb2b19e2ac4f5bb2ad50564e32240dc799c464f9 (diff)
downloadchromium_src-fd62678a517b1ed13cf67a9e677ae13b8f7784ae.zip
chromium_src-fd62678a517b1ed13cf67a9e677ae13b8f7784ae.tar.gz
chromium_src-fd62678a517b1ed13cf67a9e677ae13b8f7784ae.tar.bz2
Split platform specific settings out from locale_settings.grd so we can
have per platform config and overrides. This is easier to manage than the mess of <if>'s in the existing grd and xtb files. Each platform only builds its locale_settings_{win,mac,linux}.grd file. All the grd files generate the same platform_locale_settings.h header (for easy inclusion in .cc files). We use the fallback feature of grit to only specify locale specific values in xtb files if we want to override the default for the locale. BUG=28590 Review URL: http://codereview.chromium.org/545132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36849 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rwxr-xr-xchrome/tools/build/repack_locales.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/tools/build/repack_locales.py b/chrome/tools/build/repack_locales.py
index 09b3b22..d849530 100755
--- a/chrome/tools/build/repack_locales.py
+++ b/chrome/tools/build/repack_locales.py
@@ -56,6 +56,9 @@ def calc_inputs(locale):
#e.g. '<(grit_out_dir)/locale_settings_da.pak'
inputs.append('%s/locale_settings_%s.pak' % (GRIT_DIR, locale))
+ #e.g. '<(grit_out_dir)/platform_locale_settings_da.pak'
+ inputs.append('%s/platform_locale_settings_%s.pak' % (GRIT_DIR, locale))
+
#e.g. '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_da.pak'
inputs.append('%s/webkit/webkit_strings_%s.pak' % (SHARE_INT_DIR, locale))