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/chrome.xcodeproj | |
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/chrome.xcodeproj')
-rwxr-xr-x | chrome/chrome.xcodeproj/generate_headers.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/chrome.xcodeproj/generate_headers.sh b/chrome/chrome.xcodeproj/generate_headers.sh index 775d4e5..27a6863 100755 --- a/chrome/chrome.xcodeproj/generate_headers.sh +++ b/chrome/chrome.xcodeproj/generate_headers.sh @@ -78,3 +78,13 @@ then -i "${PROJECT_DIR}/browser/debugger/debugger/debugger_resources.grd" build \ -o "${GRIT_DIR}" fi + +# compare locale_settings.grd to locale_settings.h. If the .h is +# older or doesn't exist, rebuild it +if [ "${GRIT_DIR}/grit/locale_settings.h" -ot \ + "${PROJECT_DIR}/app/resources/locale_settings.grd" ] +then + python "${PROJECT_DIR}/../tools/grit/grit.py" \ + -i "${PROJECT_DIR}/app/resources/locale_settings.grd" build \ + -o "${GRIT_DIR}" +fi |