diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-18 19:10:58 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-18 19:10:58 +0000 |
commit | f90f5c51896294e5d0bb9c891fbc60a76f88fd48 (patch) | |
tree | ce4526dc2d21c927f89b62bc33e0177f48bdc934 /chrome/app/chrome_strings.scons | |
parent | 47d054af93ac917522c4a432ab3388008d5d21c6 (diff) | |
download | chromium_src-f90f5c51896294e5d0bb9c891fbc60a76f88fd48.zip chromium_src-f90f5c51896294e5d0bb9c891fbc60a76f88fd48.tar.gz chromium_src-f90f5c51896294e5d0bb9c891fbc60a76f88fd48.tar.bz2 |
Add locale_settings.grd to the build. This generates
a locale_settings.h file that we use on all platforms. However,
the rc generation isn't correct yet, so for now, use the existing
locale_settings_*.rc files.
Also go ahead and generate the en-US locale pak on linux.
Review URL: http://codereview.chromium.org/20447
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_strings.scons')
-rw-r--r-- | chrome/app/chrome_strings.scons | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/app/chrome_strings.scons b/chrome/app/chrome_strings.scons index 580565f..2b5934e 100644 --- a/chrome/app/chrome_strings.scons +++ b/chrome/app/chrome_strings.scons @@ -12,6 +12,7 @@ grd_files = [ '$CHROME_SRC_DIR/chrome/app/generated_resources.grd', '$CHROME_SRC_DIR/chrome/app/chromium_strings.grd', '$CHROME_SRC_DIR/chrome/app/google_chrome_strings.grd', + '$CHROME_SRC_DIR/chrome/app/resources/locale_settings.grd', ] for grd_file in grd_files: @@ -20,3 +21,15 @@ for grd_file in grd_files: generated = env.GRIT( '$TARGET_ROOT/grit_derived_sources/fake_' + os.path.basename(grd_file), grd_file) + +if env.Bit('linux'): + # TODO(tc): Generate all the locales and handle official build vs chromium + # build. + lang_pak = env.Repack('$TARGET_ROOT/locales/en-US.pak', + ['$TARGET_ROOT/grit_derived_sources/generated_resources_en-US.pak', + '$TARGET_ROOT/grit_derived_sources/chromium_strings_en-US.pak', + '$TARGET_ROOT/grit_derived_sources/locale_settings_en-US.pak', + ] + ) + i = env.Install('$DESTINATION_ROOT/locales', lang_pak) + env.Requires('$DESTINATION_ROOT/chrome', i) |