diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-11 22:01:30 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-11 22:01:30 +0000 |
commit | df305520efe6329ff3c7614dbdd0081711e52bd9 (patch) | |
tree | 1e77698fe1f4a9a58dc853173235ba32497857ff /build | |
parent | 3d7ade18caf86777d59fc88e5aa2be449da37bee (diff) | |
download | chromium_src-df305520efe6329ff3c7614dbdd0081711e52bd9.zip chromium_src-df305520efe6329ff3c7614dbdd0081711e52bd9.tar.gz chromium_src-df305520efe6329ff3c7614dbdd0081711e52bd9.tar.bz2 |
Generate the lists of localization files instead of hardcoding them.
This CL modifies remoting/tools/localize.py script such that it can:
- be invoked via 'pymod_do_main' filter.
- generate a separate output file for each locale/language.
- produce the list of output files for given set of parameters.
remoting.gyp now generates the lists of .pak and message.json files invoking the script via 'pymod_do_main' filter. 'pymod_do_main' is necessary to pass paths unaltered between GYP and python.
The script was also renamed to remoting/tools/build/remoting_localize.py to avoid potential name clashes since the script is globally visible now.
TBR is for the DEPS changes only.
TBR=cpu@chromium.org
BUG=155204
Review URL: https://chromiumcodereview.appspot.com/18868009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211227 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-x | build/gyp_chromium | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/gyp_chromium b/build/gyp_chromium index b31c433..56cfcf3 100755 --- a/build/gyp_chromium +++ b/build/gyp_chromium @@ -25,6 +25,7 @@ sys.path.insert(1, os.path.join(chrome_src, 'tools', 'generate_shim_headers')) sys.path.insert(1, os.path.join(chrome_src, 'tools', 'grit')) sys.path.insert(1, os.path.join(chrome_src, 'chrome', 'tools', 'build')) sys.path.insert(1, os.path.join(chrome_src, 'native_client', 'build')) +sys.path.insert(1, os.path.join(chrome_src, 'remoting', 'tools', 'build')) sys.path.insert(1, os.path.join(chrome_src, 'third_party', 'WebKit', 'Source', 'core', 'scripts')) # TODO(adamk): Remove this line once core.gyp is no longer a directory |