From 99c0125b180ea9c5760168a4227ec8cef1d617bb Mon Sep 17 00:00:00 2001 From: "jamescook@chromium.org" Date: Thu, 17 Apr 2014 05:21:57 +0000 Subject: 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 --- extensions/extensions_strings.gyp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 extensions/extensions_strings.gyp (limited to 'extensions/extensions_strings.gyp') 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, + }, + ], +} -- cgit v1.1