OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'extensions_resources', | |
9 'type': 'none', | |
10 'variables': { | |
11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions', | |
12 }, | |
13 'dependencies': [ | |
14 'common/api/api.gyp:extensions_api_mojom', | |
15 '../device/serial/serial.gyp:device_serial_mojo', | |
16 ], | |
17 'actions': [ | |
18 { | |
19 'action_name': 'generate_extensions_resources', | |
20 'variables': { | |
21 'grit_grd_file': 'extensions_resources.grd', | |
22 }, | |
23 'includes': [ '../build/grit_action.gypi' ], | |
24 }, | |
25 { | |
26 'action_name': 'generate_extensions_browser_resources', | |
27 'variables': { | |
28 'grit_grd_file': 'browser/resources/extensions_browser_resources.grd
', | |
29 }, | |
30 'includes': [ '../build/grit_action.gypi' ], | |
31 }, | |
32 { | |
33 'action_name': 'generate_extensions_renderer_resources', | |
34 'variables': { | |
35 'grit_grd_file': 'renderer/resources/extensions_renderer_resources.g
rd', | |
36 'grit_additional_defines': [ | |
37 '-E', 'mojom_root=<(SHARED_INTERMEDIATE_DIR)', | |
38 ], | |
39 }, | |
40 'includes': [ '../build/grit_action.gypi' ], | |
41 }, | |
42 ], | |
43 'includes': [ '../build/grit_target.gypi' ], | |
44 } | |
45 ] | |
46 } | |
OLD | NEW |