Upstream version 5.34.97.0
[platform/framework/web/crosswalk.git] / src / xwalk / extensions / extensions_resources.gyp
1 {
2   'targets': [
3     {
4       'target_name': 'xwalk_extensions_resources',
5       'type': 'none',
6       'dependencies': [
7         'generate_xwalk_extensions_resources',
8       ],
9       'variables': {
10         'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/xwalk',
11       },
12       'includes': [ '../../build/grit_target.gypi' ],
13       'copies': [
14         {
15           'destination': '<(PRODUCT_DIR)',
16           'files': [
17             '<(SHARED_INTERMEDIATE_DIR)/xwalk/xwalk_extensions_resources.pak'
18           ],
19         },
20       ],
21     },
22     {
23       'target_name': 'generate_xwalk_extensions_resources',
24       'type': 'none',
25       'variables': {
26         'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/xwalk',
27       },
28       'actions': [
29         {
30           'action_name': 'xwalk_extensions_resources',
31           'variables': {
32             'grit_resource_ids': '../resources/resource_ids',
33             'grit_grd_file': 'extensions_resources.grd',
34           },
35           'includes': [ '../../build/grit_action.gypi' ],
36         },
37       ],
38     },
39   ],
40 }