Blink roll 25b6bd3a7a131ffe68d809546ad1a20707915cdc:3a503f41ae42e5b79cfcd2ff10e65afde...
[chromium-blink-merge.git] / extensions / extensions_resources.gyp
blobed81dee7d2db92c5da7a10bf7fe28ac10acecc5f
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.
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         '../device/serial/serial.gyp:device_serial_mojo',
15       ],
16       'actions': [
17         {
18           'action_name': 'generate_extensions_resources',
19           'variables': {
20             'grit_grd_file': 'extensions_resources.grd',
21           },
22           'includes': [ '../build/grit_action.gypi' ],
23         },
24         {
25           'action_name': 'generate_extensions_browser_resources',
26           'variables': {
27             'grit_grd_file': 'browser/resources/extensions_browser_resources.grd',
28           },
29           'includes': [ '../build/grit_action.gypi' ],
30         },
31         {
32           'action_name': 'generate_extensions_renderer_resources',
33           'variables': {
34             'grit_grd_file': 'renderer/resources/extensions_renderer_resources.grd',
35             'grit_additional_defines': [
36               '-E', 'mojom_root=<(SHARED_INTERMEDIATE_DIR)',
37             ],
38           },
39           'includes': [ '../build/grit_action.gypi' ],
40         },
41       ],
42       'includes': [ '../build/grit_target.gypi' ],
43     }
44   ]