diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-17 05:21:57 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-17 05:21:57 +0000 |
commit | 99c0125b180ea9c5760168a4227ec8cef1d617bb (patch) | |
tree | f24c048d957dd0c1ab56ab9ed825085a8d6b7050 /extensions/extensions_strings.gyp | |
parent | b8642ec4593f6daf22cd4c70d422f5cc40c16e7f (diff) | |
download | chromium_src-99c0125b180ea9c5760168a4227ec8cef1d617bb.zip chromium_src-99c0125b180ea9c5760168a4227ec8cef1d617bb.tar.gz chromium_src-99c0125b180ea9c5760168a4227ec8cef1d617bb.tar.bz2 |
Introduce extensions_strings.grd
Extract extensions-module strings into their own .grd and .gyp file.
Follows the conventions of components_strings.gyp and ui_strings.gyp.
Starts by moving sockets API strings, more will follow.
BUG=335157
TEST=compiles, unit_tests *Extension*
TBR=mmoss@chromium.org for chrome/tools/build/repack_locales.py
TBR=thomasvl@chromium.org for chrome/tools/check_grd_for_unused_strings.py
Review URL: https://codereview.chromium.org/239543005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/extensions_strings.gyp')
-rw-r--r-- | extensions/extensions_strings.gyp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extensions/extensions_strings.gyp b/extensions/extensions_strings.gyp new file mode 100644 index 0000000..abbf167 --- /dev/null +++ b/extensions/extensions_strings.gyp @@ -0,0 +1,30 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'targets': [ + { + 'target_name': 'extensions_strings', + 'type': 'none', + 'actions': [ + { + 'action_name': 'generate_extensions_strings', + 'variables': { + 'grit_grd_file': 'extensions_strings.grd', + 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions/strings', + }, + 'includes': [ '../build/grit_action.gypi' ], + }, + ], + 'direct_dependent_settings': { + 'include_dirs': [ + '<(SHARED_INTERMEDIATE_DIR)/extensions/strings', + ], + }, + # This target generates extensions_strings.h so it must be built before + # targets that depend on it. + 'hard_dependency': 1, + }, + ], +} |