DSWaylandTizenPolicyExt: Add skeleton codes to get tizen_rotation
[platform/core/uifw/libds.git] / src / meson.build
1
2 libds_srcs = [
3         'DSBase/DSRefBase.cpp',
4         'DSBase/DSRefBase.h',
5         'DSBuffer/DSBufferQueueTBMImpl.cpp',
6         'DSBuffer/DSBufferTBMImpl.cpp',
7         'DSBuffer/DSBufferManager.cpp',
8         'DSBuffer/DSBufferManager.h',
9         'DSBuffer/DSBufferManagerPrivate.h',
10         'DSBuffer/DSBufferRef.cpp',
11         'DSBuffer/DSBufferRef.h',
12         'DSBuffer/DSBufferRefPrivate.h',
13         'DSCallback/DSCallback.h',
14         'DSCanvas/DSCanvas.cpp',
15         'DSCompositor/DSCompositor.cpp',
16         'DSDebug/DSDebugLog.cpp',
17         'DSDisplayArea/DSDisplayArea.cpp',
18         'DSDisplayDevice/DSDisplayDeviceHWCTDMImpl.cpp',
19         'DSDisplayDevice/DSDisplayDeviceHWCWindowTDMImpl.cpp',
20         'DSDisplayDevice/DSDisplayDeviceHWCWindowTDMTargetImpl.cpp',
21         'DSDisplayDevice/DSDisplayDeviceOutputModeTDMImpl.cpp',
22         'DSDisplayDevice/DSDisplayDeviceOutputTDMImpl.cpp',
23         'DSDisplayDevice/DSDisplayDeviceTDMImpl.cpp',
24         'DSEventLoop/DSEventLoop.cpp',
25         'DSInput/DSInput.cpp',
26         'DSInput/DSInput.h',
27         'DSInput/DSInputPrivate.h',
28         'DSInput/DSInputEvent.h',
29         'DSInput/DSLibinput.cpp',
30         'DSInput/DSLibinput.h',
31         'DSObject/DSObject.cpp',
32         'DSObject/DSObject.h',
33         'DSObject/DSObjectPrivate.cpp',
34         'DSObject/DSObjectPrivate.h',
35         'DSOutput/DSOutputImpl.cpp',
36         'DSPolicyArea/DSPolicyArea.cpp',
37         'DSProperty/DSProperty.cpp',
38         'DSProperty/DSProperty.h',
39         'DSProperty/DSPropertyPrivate.cpp',
40         'DSProperty/DSPropertyPrivate.h',
41         'DSRender/DSRenderEngineEcoreEvasImpl.cpp',
42         'DSRender/DSRenderEngineDaliImpl.cpp',
43         'DSRender/DSRenderView.cpp',
44         'DSRender/DSRenderViewEcoreEvasImpl.cpp',
45         'DSRender/DSRenderViewDaliImpl.cpp',
46         'DSSeat/DSSeat.cpp',
47         'DSSeat/DSKeyboard.cpp',
48         'DSSeat/DSKeyboard.h',
49         'DSSeat/DSPointer.cpp',
50         'DSSeat/DSPointer.h',
51         'DSSeat/DSTouch.cpp',
52         'DSSeat/DSTouch.h',
53         'DSSignal/DSSignal.cpp',
54         'DSSignal/DSSignal.h',
55         'DSCore/DSStruct.h',
56         'DSCore/DSCore.h',
57         'DSWaylandExtension/DSWaylandExtension.cpp',
58         'DSTizenAppinfo/DSTizenAppinfo.h',
59         'DSTizenAppinfo/DSTizenAppinfo.cpp',
60         'DSTizenAppinfo/DSTizenAppinfoMgr.h',
61         'DSTizenAppinfo/DSTizenAppinfoMgrPrivate.h',
62         'DSTizenAppinfo/DSTizenAppinfoMgr.cpp',
63         'DSWindow/DSWindow.h',
64         'DSWindow/DSWindowPrivate.h',
65         'DSWindow/DSWindow.cpp',
66         'DSWindowManager/DSWindowManager.cpp',
67         'DSWindowShell/DSWindowShell.cpp',
68         'DSWindowShell/DSWindowShellPrivate.cpp',
69         'DSZone/DSZone.cpp',
70         'DSClient/DSClientPrivate.h',
71         'DSClient/DSClient.h',
72         'DSClient/DSClient.cpp',
73         'DSXkb/DSXkbPrivate.h',
74         'DSXkb/DSXkb.h',
75         'DSXkb/DSXkb.cpp',
76         'DSTextInput/DSTextInputPrivate.h',
77         'DSTextInput/DSTextInput.h',
78         'DSTextInput/DSTextInput.cpp',
79         'DSUtil/DSUtilSocket.h',
80         'DSUtil/DSUtilSocket.cpp',
81         ]
82
83 libds_wayland_srcs = [
84         'DSWaylandServer/dswayland-server-wayland.cpp',
85         'DSWaylandServer/dswayland-server-wayland.h',
86         'DSWaylandServer/dswayland-server-tizen-extension.cpp',
87         'DSWaylandServer/dswayland-server-tizen-extension.h',
88         'DSWaylandServer/dswayland-server-xdg-shell-unstable-v6.cpp',
89         'DSWaylandServer/dswayland-server-xdg-shell-unstable-v6.h',
90         'DSWaylandServer/dswayland-server-xdg-shell.cpp',
91         'DSWaylandServer/dswayland-server-xdg-shell.h',
92         'DSWaylandServer/dswayland-server-tizen-surface.cpp',
93         'DSWaylandServer/dswayland-server-tizen-surface.h',
94         'DSWaylandServer/dswayland-server-text.cpp',
95         'DSWaylandServer/dswayland-server-text.h',
96         'DSWaylandServer/dswayland-server-tizen-launch.cpp',
97         'DSWaylandServer/dswayland-server-tizen-launch.h',
98         'DSWaylandServer/dswayland-server-input-method.cpp',
99         'DSWaylandServer/dswayland-server-input-method.h',
100         'DSWaylandServer/dswayland-server-tizen_policy_ext.cpp',
101         'DSWaylandServer/dswayland-server-tizen_policy_ext.h',
102         'DSWaylandServer/DSWaylandCallback.cpp',
103         'DSWaylandServer/DSWaylandCallback.h',
104         'DSWaylandServer/DSWaylandCallbackPrivate.h',
105         'DSWaylandServer/DSWaylandOutput.cpp',
106         'DSWaylandServer/DSWaylandOutput.h',
107         'DSWaylandServer/DSWaylandOutputPrivate.h',
108         'DSWaylandServer/DSWaylandSurface.cpp',
109         'DSWaylandServer/DSWaylandSurface.h',
110         'DSWaylandServer/DSWaylandSurfacePrivate.h',
111         'DSWaylandServer/DSWaylandRegion.cpp',
112         'DSWaylandServer/DSWaylandRegion.h',
113         'DSWaylandServer/DSWaylandRegionPrivate.h',
114         'DSWaylandServer/DSWaylandTizenInputDevice.h',
115         'DSWaylandServer/DSWaylandTizenInputDevicePrivate.h',
116         'DSWaylandServer/DSWaylandTizenInputDeviceManager.cpp',
117         'DSWaylandServer/DSWaylandTizenInputDeviceManager.h',
118         'DSWaylandServer/DSWaylandTizenInputDeviceManagerPrivate.h',
119         'DSWaylandServer/DSWaylandTizenPolicy.cpp',
120         'DSWaylandServer/DSWaylandTizenPosition.cpp',
121         'DSWaylandServer/DSWaylandTizenVisibility.cpp',
122         'DSWaylandServer/DSWaylandTizenSurface.cpp',
123         'DSWaylandServer/DSWaylandTizenSurface.h',
124         'DSWaylandServer/DSWaylandTizenSurfacePrivate.h',
125         'DSWaylandServer/DSWaylandTizenSurfaceShm.cpp',
126         'DSWaylandServer/DSWaylandTizenSurfaceShm.h',
127         'DSWaylandServer/DSWaylandTizenSurfaceShmPrivate.h',
128         'DSWaylandServer/DSWaylandZxdgShellV6.cpp',
129         'DSWaylandServer/DSWaylandZxdgShellV6.h',
130         'DSWaylandServer/DSWaylandZxdgShellV6Private.h',
131         'DSWaylandServer/DSWaylandCompositorPrivate.h',
132         'DSWaylandServer/DSWaylandCompositor.h',
133         'DSWaylandServer/DSWaylandCompositor.cpp',
134         'DSWaylandServer/DSWaylandClientPrivate.h',
135         'DSWaylandServer/DSWaylandClient.h',
136         'DSWaylandServer/DSWaylandClient.cpp',
137         'DSWaylandServer/DSWaylandSeatPrivate.h',
138         'DSWaylandServer/DSWaylandSeat.h',
139         'DSWaylandServer/DSWaylandSeat.cpp',
140         'DSWaylandServer/DSWaylandPointerPrivate.h',
141         'DSWaylandServer/DSWaylandPointer.h',
142         'DSWaylandServer/DSWaylandPointer.cpp',
143         'DSWaylandServer/DSWaylandKeyboardPrivate.h',
144         'DSWaylandServer/DSWaylandKeyboard.h',
145         'DSWaylandServer/DSWaylandKeyboard.cpp',
146         'DSWaylandServer/DSWaylandTouchPrivate.h',
147         'DSWaylandServer/DSWaylandTouch.h',
148         'DSWaylandServer/DSWaylandTouch.cpp',
149         'DSWaylandServer/DSWaylandBufferPrivate.h',
150         'DSWaylandServer/DSWaylandBuffer.h',
151         'DSWaylandServer/DSWaylandBuffer.cpp',
152         'DSWaylandServer/DSWaylandTizenIndicatorPrivate.h',
153         'DSWaylandServer/DSWaylandTizenIndicator.h',
154         'DSWaylandServer/DSWaylandTizenIndicator.cpp',
155         'DSWaylandServer/DSWaylandInputMethodContextPrivate.h',
156         'DSWaylandServer/DSWaylandInputMethodContext.h',
157         'DSWaylandServer/DSWaylandInputMethodPrivate.h',
158         'DSWaylandServer/DSWaylandInputMethod.h',
159         'DSWaylandServer/DSWaylandInputMethod.cpp',
160         'DSWaylandServer/DSWaylandTextInputManagerPrivate.h',
161         'DSWaylandServer/DSWaylandTextInputManager.h',
162         'DSWaylandServer/DSWaylandTextInputPrivate.h',
163         'DSWaylandServer/DSWaylandTextInput.h',
164         'DSWaylandServer/DSWaylandTextInput.cpp',
165         'DSWaylandServer/DSWaylandInputPanelSurfacePrivate.h',
166         'DSWaylandServer/DSWaylandInputPanelSurface.h',
167         'DSWaylandServer/DSWaylandInputPanelPrivate.h',
168         'DSWaylandServer/DSWaylandInputPanel.h',
169         'DSWaylandServer/DSWaylandInputPanel.cpp',
170         'DSWaylandServer/DSWaylandTizenAppinfoPrivate.h',
171         'DSWaylandServer/DSWaylandTizenAppinfo.h',
172         'DSWaylandServer/DSWaylandTizenAppinfo.cpp',
173         'DSWaylandServer/DSWaylandTizenLaunchEffectPrivate.h',
174         'DSWaylandServer/DSWaylandTizenLaunchEffect.h',
175         'DSWaylandServer/DSWaylandTizenLaunchEffect.cpp',
176         'DSWaylandServer/DSWaylandTizenLaunchSplashPrivate.h',
177         'DSWaylandServer/DSWaylandTizenLaunchSplash.h',
178         'DSWaylandServer/DSWaylandTizenLaunchSplash.cpp',
179         'DSWaylandServer/DSWaylandProtocolTracePrivate.h',
180         'DSWaylandServer/DSWaylandProtocolTrace.h',
181         'DSWaylandServer/DSWaylandProtocolTrace.cpp',
182         'DSWaylandServer/DSWaylandTizenPolicyExt.h',
183         'DSWaylandServer/DSWaylandTizenPolicyExtPrivate.h',
184         'DSWaylandServer/DSWaylandTizenPolicyExt.cpp',
185         'DSWaylandServer/tizen_policy_ext-server-protocol.h',
186         'DSWaylandServer/tizen_policy_ext-protocol.c',
187         ]
188
189 libds_srcs += libds_wayland_srcs
190
191 install_headers(
192         'DSObject/DSObject.h',
193         'DSSignal/DSSignal.h',
194         'DSBase/DSRefBase.h',
195         )
196
197 pkgconfig = import('pkgconfig')
198 ecore_dep = dependency('ecore')
199 ecore_evas_dep = dependency('ecore-evas')
200 dlog_dep = dependency('dlog')
201 libtdm_dep = dependency('libtdm')
202 libtbm_dep = dependency('libtbm')
203 wayland_tbm_server_dep = dependency('wayland-tbm-server')
204 wayland_dep = dependency('wayland-server')
205 libinput_dep = dependency('libinput')
206 libudev_dep = dependency('libudev')
207 xkbcommon_dep = dependency('xkbcommon')
208
209 tizen_ext_dep = dependency('tizen-extension-server')
210 xdg_shell_unstable_v6_dep = dependency('xdg-shell-unstable-v6-server')
211 xdg_shell_dep = dependency('xdg-shell-server')
212 tizen_surface_dep = dependency('tizen-surface-server')
213 input_method_dep = dependency('input-method-server')
214 text_dep = dependency('text-server')
215 tizen_launch_dep = dependency('tizen-launch-server')
216
217 dali_core_dep = dependency('dali2-core')
218 dali_adaptor_dep = dependency('dali2-adaptor')
219 dali_toolkit_dep = dependency('dali2-toolkit')
220
221 dali_deps = [dali_core_dep, dali_adaptor_dep, dali_toolkit_dep]
222 tizen_ext_deps = [tizen_ext_dep, input_method_dep, text_dep, tizen_launch_dep, tizen_surface_dep]
223 tizen_ext_deps = [tizen_ext_deps, xdg_shell_unstable_v6_dep, xdg_shell_dep]
224 libds_deps = [ecore_dep]
225
226 libds_include_dirs = include_directories(
227         '.',
228         './DSBase',
229         './DSBuffer',
230         './DSCallback',
231         './DSCanvas',
232         './DSCompositor',
233         './DSDebug',
234         './DSDisplayArea',
235         './DSDisplayDevice',
236         './DSEventLoop',
237         './DSInput',
238         './DSObject',
239         './DSOutput',
240         './DSPolicyArea',
241         './DSProperty',
242         './DSRender',
243         './DSSeat',
244         './DSSignal',
245         './DSCore',
246         './DSWaylandExtension',
247         './DSWaylandServer',
248         './DSWindow',
249         './DSWindowManager',
250         './DSWindowShell',
251         './DSZone',
252         './DSClient',
253         './DSXkb',
254         './DSTextInput',
255         './DSTizenAppinfo',
256         './DSUtil',
257         )
258
259 libds_lib = shared_library(
260         'ds',
261         libds_srcs,
262         dependencies : [dlog_dep, libtdm_dep, wayland_dep, tizen_ext_deps, ecore_dep, ecore_evas_dep, libinput_dep, libudev_dep, xkbcommon_dep, libtbm_dep, wayland_tbm_server_dep, dali_deps],
263         include_directories : [libds_include_dirs],
264         version : meson.project_version(),
265         install : true
266         )
267
268 pkgconfig.generate(
269         filebase : 'libds',
270         name : 'libds',
271         description : 'Display Server library',
272         version : meson.project_version(),
273         libraries : libds_lib
274         )
275
276 libds_declared_dep = declare_dependency(
277         link_with : libds_lib,
278         dependencies : [libds_deps, ecore_dep],
279         include_directories : [libds_include_dirs]
280         )
281