Merge pull request #73 from JongHeonChoi/fx_define_rotary_name
[platform/framework/web/crosswalk-tizen.git] / runtime / runtime.gyp
1 {
2   'includes':[
3     '../build/common.gypi',
4   ],
5   'targets': [
6     {
7       'target_name': 'xwalk_runtime',
8       'type': 'executable',
9       'dependencies': [
10         '../common/common.gyp:xwalk_tizen_common',
11         'resources/resources.gyp:xwalk_runtime_resources',
12       ],
13       'sources': [
14         'common/constants.h',
15         'common/constants.cc',
16         'browser/runtime_process.cc',
17         'browser/runtime.h',
18         'browser/runtime.cc',
19         'browser/native_window.h',
20         'browser/native_window.cc',
21         'browser/native_app_window.h',
22         'browser/native_app_window.cc',
23         'browser/web_application.h',
24         'browser/web_application.cc',
25         'browser/web_view.h',
26         'browser/web_view.cc',
27         'browser/web_view_impl.h',
28         'browser/web_view_impl.cc',
29         'browser/popup.h',
30         'browser/popup.cc',
31         'browser/splash_screen.h',
32         'browser/splash_screen.cc',
33         'browser/popup_string.h',
34         'browser/popup_string.cc',
35         'browser/vibration_manager.h',
36         'browser/vibration_manager.cc',
37         'browser/notification_manager.h',
38         'browser/notification_manager.cc',
39         'browser/prelauncher.h',
40         'browser/prelauncher.cc',
41         'browser/preload_manager.h',
42         'browser/preload_manager.cc',
43       ],
44       'variables': {
45         'packages': [
46           'capi-appfw-application',
47           'chromium-efl',
48           'ecore',
49           'ecore-wayland',
50           'elementary',
51           'efl-extension',
52           'deviced',
53           'manifest-parser',
54           'wgt-manifest-handlers',
55           'notification',
56           'launchpad',
57         ],
58       },
59       'conditions': [
60         ['profile == "wearable"', {
61           'defines': ['PROFILE_WEARABLE'],
62         }],
63         ['tizen_feature_rotary_event_support == 1', {
64           'defines': ['ROTARY_EVENT_FEATURE_SUPPORT'],
65         }],
66       ],
67     }, # end of target 'xwalk_runtime'
68     {
69       'target_name': 'xwalk_injected_bundle',
70       'type': 'shared_library',
71       'dependencies': [
72         '../common/common.gyp:xwalk_tizen_common',
73         '../extensions/extensions.gyp:xwalk_extension_renderer',
74       ],
75       'sources': [
76         'renderer/injected_bundle.cc',
77       ],
78       'cflags': [
79         '-fvisibility=default',
80       ],
81       'variables': {
82         'packages': [
83           'chromium-efl',
84           'elementary',
85         ],
86       },
87     }, # end of target 'xwalk_injected_bundle'
88   ],
89 }