diff options
author | newt@chromium.org <newt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-01 20:53:42 +0000 |
---|---|---|
committer | newt@chromium.org <newt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-01 20:53:42 +0000 |
commit | 763498c06a5c594da72704cef4d8e57c4451149e (patch) | |
tree | 0463f8ca6a87ec87fab0a7b148fab415ec8614e5 /chrome/chrome_resources.gyp | |
parent | 4f5d54464e9770002c55c890e01522bb40a8205e (diff) | |
download | chromium_src-763498c06a5c594da72704cef4d8e57c4451149e.zip chromium_src-763498c06a5c594da72704cef4d8e57c4451149e.tar.gz chromium_src-763498c06a5c594da72704cef4d8e57c4451149e.tar.bz2 |
Allow "cross-compiling" with GRIT
This adds an explicit "platform" option to repack_locales.py, so
resources for one platform (e.g. Android) can be compiled on another
(e.g. Linux).
BUG=136951
Review URL: https://chromiumcodereview.appspot.com/10830085
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149488 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_resources.gyp')
-rw-r--r-- | chrome/chrome_resources.gyp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/chrome_resources.gyp b/chrome/chrome_resources.gyp index f557ded..596cc5a 100644 --- a/chrome/chrome_resources.gyp +++ b/chrome/chrome_resources.gyp @@ -345,13 +345,13 @@ { 'destination': '<(PRODUCT_DIR)/locales', 'files': [ - '<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))' + '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))' ], }, { 'destination': '<(PRODUCT_DIR)/pseudo_locales', 'files': [ - '<!@pymod_do_main(repack_locales -o -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(pseudo_locales))' + '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(pseudo_locales))' ], }, ], |