Apply to Web IME
[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/web_application.h',
27         'browser/web_application.cc',
28         'browser/web_view.h',
29         'browser/web_view.cc',
30         'browser/web_view_impl.h',
31         'browser/web_view_impl.cc',
32         'browser/popup.h',
33         'browser/popup.cc',
34         'browser/splash_screen.h',
35         'browser/splash_screen.cc',
36         'browser/popup_string.h',
37         'browser/popup_string.cc',
38         'browser/vibration_manager.h',
39         'browser/vibration_manager.cc',
40         'browser/notification_manager.h',
41         'browser/notification_manager.cc',
42         'browser/prelauncher.h',
43         'browser/prelauncher.cc',
44         'browser/preload_manager.h',
45         'browser/preload_manager.cc',
46       ],
47       'variables': {
48         'packages': [
49           'capi-appfw-application',
50           'chromium-efl',
51           'ecore',
52           'ecore-wayland',
53           'elementary',
54           'efl-extension',
55           'deviced',
56           'manifest-parser',
57           'wgt-manifest-handlers',
58           'notification',
59           'launchpad',
60         ],
61       },
62       'conditions': [
63         ['profile == "mobile"', {
64           'defines': ['PROFILE_MOBILE'],
65         }],
66         ['profile == "wearable"', {
67           'defines': ['PROFILE_WEARABLE'],
68         }],
69         ['profile == "tv"', {
70           'defines': ['PROFILE_TV'],
71         }],
72         ['tizen_feature_rotary_event_support == 1', {
73           'defines': ['ROTARY_EVENT_FEATURE_SUPPORT'],
74         }],
75         ['tizen_feature_web_ime_support == 1', {
76           'defines': ['IME_FEATURE_SUPPORT'],
77           'sources': [
78             'browser/ime_runtime.h',
79             'browser/ime_runtime.cc',
80             'browser/ime_application.h',
81             'browser/ime_application.cc',
82             'browser/native_ime_window.h',
83             'browser/native_ime_window.cc',
84           ],
85           'variables': {
86             'packages': [
87               'capi-ui-inputmethod',
88             ],
89           },
90         }],
91       ],
92     }, # end of target 'xwalk_runtime'
93     {
94       'target_name': 'xwalk_injected_bundle',
95       'type': 'shared_library',
96       'dependencies': [
97         '../common/common.gyp:xwalk_tizen_common',
98         '../extensions/extensions.gyp:xwalk_extension_shared',
99       ],
100       'sources': [
101         'renderer/injected_bundle.cc',
102       ],
103       'cflags': [
104         '-fvisibility=default',
105       ],
106       'variables': {
107         'packages': [
108           'chromium-efl',
109           'elementary',
110         ],
111       },
112     }, # end of target 'xwalk_injected_bundle'
113   ],
114 }