Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Side by Side Diff: extensions/extensions_strings.gyp

Issue 393123004: Cleanup usage of hard_dependency in grit targets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/components_strings.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //extensions:strings 8 # GN version: //extensions:strings
9 'target_name': 'extensions_strings', 9 'target_name': 'extensions_strings',
10 'type': 'none', 10 'type': 'none',
11 'variables': {
12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions/strings',
13 },
11 'actions': [ 14 'actions': [
12 { 15 {
13 'action_name': 'generate_extensions_strings', 16 'action_name': 'generate_extensions_strings',
14 'variables': { 17 'variables': {
15 'grit_grd_file': 'extensions_strings.grd', 18 'grit_grd_file': 'extensions_strings.grd',
16 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions/strings',
17 }, 19 },
18 'includes': [ '../build/grit_action.gypi' ], 20 'includes': [ '../build/grit_action.gypi' ],
19 }, 21 },
20 ], 22 ],
21 'direct_dependent_settings': { 23 'includes': [ '../build/grit_target.gypi' ],
22 'include_dirs': [
23 '<(SHARED_INTERMEDIATE_DIR)/extensions/strings',
24 ],
25 },
26 # This target generates extensions_strings.h so it must be built before
27 # targets that depend on it.
28 'hard_dependency': 1,
29 }, 24 },
30 ], 25 ],
31 } 26 }
OLDNEW
« no previous file with comments | « components/components_strings.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698