Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / extensions / extensions_resources.gyp
blob0cc93d0960f3190caad90cd7cad5a26dc6645d03
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       'actions': [
14         {
15           'action_name': 'generate_extensions_resources',
16           'variables': {
17             'grit_grd_file': 'extensions_resources.grd',
18           },
19           'includes': [ '../build/grit_action.gypi' ],
20         },
21         {
22           'action_name': 'generate_extensions_renderer_resources',
23           'variables': {
24             'grit_grd_file': 'renderer/resources/extensions_renderer_resources.grd',
25             'grit_additional_defines': [
26               '-E', 'mojom_root=<(SHARED_INTERMEDIATE_DIR)',
27             ],
28           },
29           'includes': [ '../build/grit_action.gypi' ],
30         },
31       ],
32       'includes': [ '../build/grit_target.gypi' ],
33       'conditions': [
34         ['enable_extensions==1', {
35           'dependencies': [
36             '../device/serial/serial.gyp:device_serial_mojo',
37           ],
38         }],
39       ],
40     }
41   ]