Merge pull request #323 from zolkis/master
[platform/framework/web/tizen-extensions-crosswalk.git] / tizen-wrt.gyp
1 {
2   'includes':[
3     'common/common.gypi',
4   ],
5
6   'targets': [
7     {
8       'target_name': 'build_all_tizen_extensions',
9       'type': 'none',
10       'dependencies': [
11         'bluetooth/bluetooth.gyp:*',
12         'mediaserver/mediaserver.gyp:*',
13         'network_bearer_selection/network_bearer_selection.gyp:*',
14         'notification/notification.gyp:*',
15         'power/power.gyp:*',
16         'speech/speech.gyp:*',
17         'system_info/system_info.gyp:*',
18         'system_setting/system_setting.gyp:*',
19         'time/time.gyp:*',
20         'tizen/tizen.gyp:*',
21         'utils/utils.gyp:*',
22       ],
23       'conditions': [
24         [ 'tizen == 1', {
25           'dependencies': [
26             'application/application.gyp:*',
27             'bookmark/bookmark.gyp:*',
28             'content/content.gyp:*',
29             'download/download.gyp:*',
30             'filesystem/filesystem.gyp:*',
31             'messageport/messageport.gyp:*',
32           ],
33         }],
34         [ 'extension_host_os == "mobile"', {
35           'dependencies': [
36             'callhistory/callhistory.gyp:*',
37           ],
38         }],
39       ],
40     },
41     {
42       'target_name': 'generate_manifest',
43       'type': 'none',
44
45       'conditions': [
46         [ 'tizen == 1', {
47           'actions': [
48             {
49               'variables': {
50                 'generate_args': [
51                   '_examples_package',
52                   'crosswalk-examples',
53                   '/usr/bin/tizen-extensions-crosswalk-examples',
54                   'Crosswalk Examples',
55                 ],
56               },
57               'action_name': 'examples',
58               'inputs': [
59                 'tools/generate_manifest.py',
60                 'packaging/tizen-extensions-crosswalk.spec',
61                 'tizen-extensions-crosswalk.xml.in',
62               ],
63               'outputs': [
64                 'tizen-extensions-crosswalk-examples.xml',
65               ],
66               'action': [
67                 'python',
68                 '<@(_inputs)',
69                 '<@(generate_args)',
70                 '<@(_outputs)',
71               ],
72             },
73             {
74               'variables': {
75                 'generate_args': [
76                   '_bluetooth_demo_package',
77                   'crosswalk-bluetooth-demo',
78                   '/usr/bin/tizen-extensions-crosswalk-bluetooth-demo',
79                   'Crosswalk Bluetooth Demo',
80                 ],
81               },
82               'action_name': 'demo',
83               'inputs': [
84                 'tools/generate_manifest.py',
85                 'packaging/tizen-extensions-crosswalk.spec',
86                 'tizen-extensions-crosswalk.xml.in',
87               ],
88               'outputs': [
89                 'tizen-extensions-crosswalk-bluetooth-demo.xml',
90               ],
91               'action': [
92                 'python',
93                 '<@(_inputs)',
94                 '<@(generate_args)',
95                 '<@(_outputs)',
96               ],
97             },
98             {
99               'variables': {
100                 'generate_args': [
101                   '_system_info_demo_package',
102                   'crosswalk-system-info-demo',
103                   '/usr/bin/tizen-extensions-crosswalk-system-info-demo',
104                   'Crosswalk System Info Demo',
105                 ],
106               },
107               'action_name': 'system_info_demo',
108               'inputs': [
109                 'tools/generate_manifest.py',
110                 'packaging/tizen-extensions-crosswalk.spec',
111                 'tizen-extensions-crosswalk.xml.in',
112               ],
113               'outputs': [
114                 'tizen-extensions-crosswalk-system-info-demo.xml',
115               ],
116               'action': [
117                 'python',
118                 '<@(_inputs)',
119                 '<@(generate_args)',
120                 '<@(_outputs)',
121               ],
122             },
123           ],
124         }],
125       ],
126     },
127   ],
128 }