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

Side by Side Diff: extensions/extensions_resources.gyp

Issue 672403002: Cleanup: Remove most enable_extensions logic in extensions code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 6 years, 1 month 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
« no previous file with comments | « extensions/extensions.gyp ('k') | extensions/renderer/BUILD.gn » ('j') | 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 'target_name': 'extensions_resources', 8 'target_name': 'extensions_resources',
9 'type': 'none', 9 'type': 'none',
10 'variables': { 10 'variables': {
11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions', 11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions',
12 }, 12 },
13 'dependencies': [
14 '../device/serial/serial.gyp:device_serial_mojo',
15 ],
13 'actions': [ 16 'actions': [
14 { 17 {
15 'action_name': 'generate_extensions_resources', 18 'action_name': 'generate_extensions_resources',
16 'variables': { 19 'variables': {
17 'grit_grd_file': 'extensions_resources.grd', 20 'grit_grd_file': 'extensions_resources.grd',
18 }, 21 },
19 'includes': [ '../build/grit_action.gypi' ], 22 'includes': [ '../build/grit_action.gypi' ],
20 }, 23 },
21 { 24 {
22 'action_name': 'generate_extensions_browser_resources', 25 'action_name': 'generate_extensions_browser_resources',
23 'variables': { 26 'variables': {
24 'grit_grd_file': 'browser/resources/extensions_browser_resources.grd ', 27 'grit_grd_file': 'browser/resources/extensions_browser_resources.grd ',
25 }, 28 },
26 'includes': [ '../build/grit_action.gypi' ], 29 'includes': [ '../build/grit_action.gypi' ],
27 }, 30 },
28 { 31 {
29 'action_name': 'generate_extensions_renderer_resources', 32 'action_name': 'generate_extensions_renderer_resources',
30 'variables': { 33 'variables': {
31 'grit_grd_file': 'renderer/resources/extensions_renderer_resources.g rd', 34 'grit_grd_file': 'renderer/resources/extensions_renderer_resources.g rd',
32 'grit_additional_defines': [ 35 'grit_additional_defines': [
33 '-E', 'mojom_root=<(SHARED_INTERMEDIATE_DIR)', 36 '-E', 'mojom_root=<(SHARED_INTERMEDIATE_DIR)',
34 ], 37 ],
35 }, 38 },
36 'includes': [ '../build/grit_action.gypi' ], 39 'includes': [ '../build/grit_action.gypi' ],
37 }, 40 },
38 ], 41 ],
39 'includes': [ '../build/grit_target.gypi' ], 42 'includes': [ '../build/grit_target.gypi' ],
40 'conditions': [
41 ['enable_extensions==1', {
42 'dependencies': [
43 '../device/serial/serial.gyp:device_serial_mojo',
44 ],
45 }],
46 ],
47 } 43 }
48 ] 44 ]
49 } 45 }
OLDNEW
« no previous file with comments | « extensions/extensions.gyp ('k') | extensions/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698