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: http://src.chromium.org/svn/trunk/src/build@211227 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
2b7052817e
Коммит
3bf1608dda
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче