Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / extensions / extensions_resources.gyp
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       'dependencies': [
11         '../device/serial/serial.gyp:device_serial_mojo',
12       ],
13       'variables': {
14         'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions',
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_renderer_resources',
26           'variables': {
27             'grit_grd_file': 'renderer/resources/extensions_renderer_resources.grd',
28             'grit_additional_defines': [
29               '-E', 'mojom_root=<(SHARED_INTERMEDIATE_DIR)',
30             ],
31           },
32           'includes': [ '../build/grit_action.gypi' ],
33         },
34       ],
35       'includes': [ '../build/grit_target.gypi' ],
36     }
37   ]
38 }