diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-04 17:38:17 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-04 17:38:17 +0000 |
commit | 9e94cca6f859d9f44538975382679f1ebe322c9a (patch) | |
tree | 69ba2abe06d4e5456bd55062b75e12f3b98ba958 /webkit/glue/webkit_glue.gypi | |
parent | a57b892e3f080edae1d5740635750d3566c04164 (diff) | |
download | chromium_src-9e94cca6f859d9f44538975382679f1ebe322c9a.zip chromium_src-9e94cca6f859d9f44538975382679f1ebe322c9a.tar.gz chromium_src-9e94cca6f859d9f44538975382679f1ebe322c9a.tar.bz2 |
Add back the inspector_strings target
It's only built if use_third_part_translations=1.
Also pull in the translations from launchpad.net.
Review URL: http://codereview.chromium.org/6334090
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73816 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.gypi')
-rw-r--r-- | webkit/glue/webkit_glue.gypi | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/webkit/glue/webkit_glue.gypi b/webkit/glue/webkit_glue.gypi index fcd1a04..6f55a21 100644 --- a/webkit/glue/webkit_glue.gypi +++ b/webkit/glue/webkit_glue.gypi @@ -570,4 +570,41 @@ ], }, ], + 'conditions': [ + ['use_third_party_translations==1', { + 'targets': [ + { + 'target_name': 'inspector_strings', + 'type': 'none', + 'variables': { + 'grit_out_dir': '<(PRODUCT_DIR)/resources/inspector/l10n', + }, + 'actions': [ + { + 'action_name': 'inspector_strings', + 'variables': { + 'input_path': './inspector_strings.grd', + }, + 'inputs': [ + '<!@(<(grit_info_cmd) --inputs <(input_path))', + ], + 'outputs': [ + '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(input_path))', + ], + 'action': ['<@(grit_cmd)', + '-i', '<(input_path)', 'build', + '-o', '<(grit_out_dir)', + '<@(grit_defines)'], + 'message': 'Generating resources from <(input_path)', + }, + ], + 'conditions': [ + ['OS=="win"', { + 'dependencies': ['<(DEPTH)/build/win/system.gyp:cygwin'], + }], + ], + }, + ], + }], + ], } |