notification window
[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         '../extensions/extensions.gyp:xwalk_extension_shared',
12         'resources/resources.gyp:xwalk_runtime_resources',
13       ],
14       'sources': [
15         'common/constants.h',
16         'common/constants.cc',
17         'browser/runtime_process.cc',
18         'browser/runtime.h',
19         'browser/runtime.cc',
20         'browser/ui_runtime.h',
21         'browser/ui_runtime.cc',
22         'browser/native_window.h',
23         'browser/native_window.cc',
24         'browser/native_app_window.h',
25         'browser/native_app_window.cc',
26         'browser/notification_window.h',
27         'browser/notification_window.cc',
28         'browser/web_application.h',
29         'browser/web_application.cc',
30         'browser/web_view.h',
31         'browser/web_view.cc',
32         'browser/web_view_impl.h',
33         'browser/web_view_impl.cc',
34         'browser/popup.h',
35         'browser/popup.cc',
36         'browser/splash_screen.h',
37         'browser/splash_screen.cc',
38         'browser/popup_string.h',
39         'browser/popup_string.cc',
40         'browser/vibration_manager.h',
41         'browser/vibration_manager.cc',
42         'browser/notification_manager.h',
43         'browser/notification_manager.cc',
44         'browser/prelauncher.h',
45         'browser/prelauncher.cc',
46         'browser/preload_manager.h',
47         'browser/preload_manager.cc',
48       ],
49       'variables': {
50         'packages': [
51           'capi-appfw-application',
52           'capi-ui-efl-util',
53           'chromium-efl',
54           'ecore',
55           'ecore-wayland',
56           'elementary',
57           'efl-extension',
58           'deviced',
59           'manifest-parser',
60           'wgt-manifest-handlers',
61           'notification',
62           'launchpad',
63         ],
64       },
65       'conditions': [
66         ['profile == "mobile"', {
67           'defines': ['PROFILE_MOBILE'],
68         }],
69         ['profile == "wearable"', {
70           'defines': ['PROFILE_WEARABLE'],
71         }],
72         ['profile == "tv"', {
73           'defines': ['PROFILE_TV'],
74         }],
75         ['tizen_feature_rotary_event_support == 1', {
76           'defines': ['ROTARY_EVENT_FEATURE_SUPPORT'],
77         }],
78         ['tizen_feature_web_ime_support == 1', {
79           'defines': ['IME_FEATURE_SUPPORT'],
80           'sources': [
81             'browser/ime_runtime.h',
82             'browser/ime_runtime.cc',
83             'browser/ime_application.h',
84             'browser/ime_application.cc',
85             'browser/native_ime_window.h',
86             'browser/native_ime_window.cc',
87           ],
88           'variables': {
89             'packages': [
90               'capi-ui-inputmethod',
91             ],
92           },
93         }],
94         ['tizen_feature_watch_face_support == 1', {
95           'defines': ['WATCH_FACE_FEATURE_SUPPORT'],
96           'sources': [
97             'browser/watch_runtime.h',
98             'browser/watch_runtime.cc',
99             'browser/native_watch_window.h',
100             'browser/native_watch_window.cc',
101           ],
102           'variables': {
103             'packages': [
104               'capi-appfw-watch-application',
105               'appcore-watch',
106             ],
107           },
108         }],
109       ],
110     }, # end of target 'xwalk_runtime'
111     {
112       'target_name': 'xwalk_injected_bundle',
113       'type': 'shared_library',
114       'dependencies': [
115         '../common/common.gyp:xwalk_tizen_common',
116         '../extensions/extensions.gyp:xwalk_extension_shared',
117       ],
118       'sources': [
119         'renderer/injected_bundle.cc',
120       ],
121       'cflags': [
122         '-fvisibility=default',
123       ],
124       'variables': {
125         'packages': [
126           'chromium-efl',
127           'elementary',
128         ],
129       },
130     }, # end of target 'xwalk_injected_bundle'
131   ],
132 }