libds_srcs = [ 'DSBase/DSRefBase.cpp', 'DSBase/DSRefBase.h', 'DSBuffer/DSBufferQueueTBMImpl.cpp', 'DSBuffer/DSBufferTBMImpl.cpp', 'DSBuffer/DSBufferManager.cpp', 'DSBuffer/DSBufferManager.h', 'DSBuffer/DSBufferManagerPrivate.h', 'DSBuffer/DSBufferRef.cpp', 'DSBuffer/DSBufferRef.h', 'DSBuffer/DSBufferRefPrivate.h', 'DSCallback/DSCallback.h', 'DSCanvas/DSCanvas.cpp', 'DSCompositor/DSCompositor.cpp', 'DSDebug/DSDebugLog.cpp', 'DSDisplayArea/DSDisplayArea.cpp', 'DSDisplayDevice/DSDisplayDeviceHWCTDMImpl.cpp', 'DSDisplayDevice/DSDisplayDeviceHWCWindowTDMImpl.cpp', 'DSDisplayDevice/DSDisplayDeviceHWCWindowTDMTargetImpl.cpp', 'DSDisplayDevice/DSDisplayDeviceOutputModeTDMImpl.cpp', 'DSDisplayDevice/DSDisplayDeviceOutputTDMImpl.cpp', 'DSDisplayDevice/DSDisplayDeviceTDMImpl.cpp', 'DSEventLoop/DSEventLoop.cpp', 'DSInput/DSInput.cpp', 'DSInput/DSInput.h', 'DSInput/DSInputPrivate.h', 'DSInput/DSInputEvent.h', 'DSInput/DSLibinput.cpp', 'DSInput/DSLibinput.h', 'DSObject/DSObject.cpp', 'DSObject/DSObject.h', 'DSObject/DSObjectPrivate.cpp', 'DSObject/DSObjectPrivate.h', 'DSOutput/DSOutputImpl.cpp', 'DSPolicyArea/DSPolicyArea.cpp', 'DSProperty/DSProperty.cpp', 'DSProperty/DSProperty.h', 'DSProperty/DSPropertyPrivate.cpp', 'DSProperty/DSPropertyPrivate.h', 'DSRender/DSRenderEngineEcoreEvasImpl.cpp', 'DSRender/DSRenderEngineDaliImpl.cpp', 'DSRender/DSRenderView.cpp', 'DSRender/DSRenderViewEcoreEvasImpl.cpp', 'DSRender/DSRenderViewDaliImpl.cpp', 'DSSeat/DSSeat.cpp', 'DSSeat/DSKeyboard.cpp', 'DSSeat/DSKeyboard.h', 'DSSeat/DSPointer.cpp', 'DSSeat/DSPointer.h', 'DSSeat/DSTouch.cpp', 'DSSeat/DSTouch.h', 'DSSignal/DSSignal.cpp', 'DSSignal/DSSignal.h', 'DSCore/DSStruct.h', 'DSCore/DSCore.h', 'DSWaylandExtension/DSWaylandExtension.cpp', 'DSTizenAppinfo/DSTizenAppinfo.h', 'DSTizenAppinfo/DSTizenAppinfo.cpp', 'DSTizenAppinfo/DSTizenAppinfoMgr.h', 'DSTizenAppinfo/DSTizenAppinfoMgrPrivate.h', 'DSTizenAppinfo/DSTizenAppinfoMgr.cpp', 'DSWindow/DSWindow.h', 'DSWindow/DSWindowPrivate.h', 'DSWindow/DSWindow.cpp', 'DSWindowManager/DSWindowManager.cpp', 'DSWindowShell/DSWindowShell.cpp', 'DSWindowShell/DSWindowShellPrivate.cpp', 'DSZone/DSZone.cpp', 'DSClient/DSClientPrivate.h', 'DSClient/DSClient.h', 'DSClient/DSClient.cpp', 'DSXkb/DSXkbPrivate.h', 'DSXkb/DSXkb.h', 'DSXkb/DSXkb.cpp', 'DSTextInput/DSTextInputPrivate.h', 'DSTextInput/DSTextInput.h', 'DSTextInput/DSTextInput.cpp', 'DSUtil/DSUtilSocket.h', 'DSUtil/DSUtilSocket.cpp', ] libds_wayland_srcs = [ 'DSWaylandServer/dswayland-server-wayland.cpp', 'DSWaylandServer/dswayland-server-wayland.h', 'DSWaylandServer/dswayland-server-tizen-extension.cpp', 'DSWaylandServer/dswayland-server-tizen-extension.h', 'DSWaylandServer/dswayland-server-xdg-shell-unstable-v6.cpp', 'DSWaylandServer/dswayland-server-xdg-shell-unstable-v6.h', 'DSWaylandServer/dswayland-server-xdg-shell.cpp', 'DSWaylandServer/dswayland-server-xdg-shell.h', 'DSWaylandServer/dswayland-server-tizen-surface.cpp', 'DSWaylandServer/dswayland-server-tizen-surface.h', 'DSWaylandServer/dswayland-server-text.cpp', 'DSWaylandServer/dswayland-server-text.h', 'DSWaylandServer/dswayland-server-tizen-launch.cpp', 'DSWaylandServer/dswayland-server-tizen-launch.h', 'DSWaylandServer/dswayland-server-input-method.cpp', 'DSWaylandServer/dswayland-server-input-method.h', 'DSWaylandServer/DSWaylandCallback.cpp', 'DSWaylandServer/DSWaylandCallback.h', 'DSWaylandServer/DSWaylandCallbackPrivate.h', 'DSWaylandServer/DSWaylandOutput.cpp', 'DSWaylandServer/DSWaylandOutput.h', 'DSWaylandServer/DSWaylandOutputPrivate.h', 'DSWaylandServer/DSWaylandSurface.cpp', 'DSWaylandServer/DSWaylandSurface.h', 'DSWaylandServer/DSWaylandSurfacePrivate.h', 'DSWaylandServer/DSWaylandRegion.cpp', 'DSWaylandServer/DSWaylandRegion.h', 'DSWaylandServer/DSWaylandRegionPrivate.h', 'DSWaylandServer/DSWaylandTizenInputDevice.h', 'DSWaylandServer/DSWaylandTizenInputDevicePrivate.h', 'DSWaylandServer/DSWaylandTizenInputDeviceManager.cpp', 'DSWaylandServer/DSWaylandTizenInputDeviceManager.h', 'DSWaylandServer/DSWaylandTizenInputDeviceManagerPrivate.h', 'DSWaylandServer/DSWaylandTizenPolicy.cpp', 'DSWaylandServer/DSWaylandTizenPosition.cpp', 'DSWaylandServer/DSWaylandTizenVisibility.cpp', 'DSWaylandServer/DSWaylandTizenSurface.cpp', 'DSWaylandServer/DSWaylandTizenSurface.h', 'DSWaylandServer/DSWaylandTizenSurfacePrivate.h', 'DSWaylandServer/DSWaylandZxdgShellV6.cpp', 'DSWaylandServer/DSWaylandZxdgShellV6.h', 'DSWaylandServer/DSWaylandZxdgShellV6Private.h', 'DSWaylandServer/DSWaylandCompositorPrivate.h', 'DSWaylandServer/DSWaylandCompositor.h', 'DSWaylandServer/DSWaylandCompositor.cpp', 'DSWaylandServer/DSWaylandClientPrivate.h', 'DSWaylandServer/DSWaylandClient.h', 'DSWaylandServer/DSWaylandClient.cpp', 'DSWaylandServer/DSWaylandSeatPrivate.h', 'DSWaylandServer/DSWaylandSeat.h', 'DSWaylandServer/DSWaylandSeat.cpp', 'DSWaylandServer/DSWaylandPointerPrivate.h', 'DSWaylandServer/DSWaylandPointer.h', 'DSWaylandServer/DSWaylandPointer.cpp', 'DSWaylandServer/DSWaylandKeyboardPrivate.h', 'DSWaylandServer/DSWaylandKeyboard.h', 'DSWaylandServer/DSWaylandKeyboard.cpp', 'DSWaylandServer/DSWaylandTouchPrivate.h', 'DSWaylandServer/DSWaylandTouch.h', 'DSWaylandServer/DSWaylandTouch.cpp', 'DSWaylandServer/DSWaylandBufferPrivate.h', 'DSWaylandServer/DSWaylandBuffer.h', 'DSWaylandServer/DSWaylandBuffer.cpp', 'DSWaylandServer/DSWaylandTizenIndicatorPrivate.h', 'DSWaylandServer/DSWaylandTizenIndicator.h', 'DSWaylandServer/DSWaylandTizenIndicator.cpp', 'DSWaylandServer/DSWaylandInputMethodContextPrivate.h', 'DSWaylandServer/DSWaylandInputMethodContext.h', 'DSWaylandServer/DSWaylandInputMethodPrivate.h', 'DSWaylandServer/DSWaylandInputMethod.h', 'DSWaylandServer/DSWaylandInputMethod.cpp', 'DSWaylandServer/DSWaylandTextInputManagerPrivate.h', 'DSWaylandServer/DSWaylandTextInputManager.h', 'DSWaylandServer/DSWaylandTextInputPrivate.h', 'DSWaylandServer/DSWaylandTextInput.h', 'DSWaylandServer/DSWaylandTextInput.cpp', 'DSWaylandServer/DSWaylandInputPanelSurfacePrivate.h', 'DSWaylandServer/DSWaylandInputPanelSurface.h', 'DSWaylandServer/DSWaylandInputPanelPrivate.h', 'DSWaylandServer/DSWaylandInputPanel.h', 'DSWaylandServer/DSWaylandInputPanel.cpp', 'DSWaylandServer/DSWaylandTizenAppinfoPrivate.h', 'DSWaylandServer/DSWaylandTizenAppinfo.h', 'DSWaylandServer/DSWaylandTizenAppinfo.cpp', 'DSWaylandServer/DSWaylandProtocolTracePrivate.h', 'DSWaylandServer/DSWaylandProtocolTrace.h', 'DSWaylandServer/DSWaylandProtocolTrace.cpp', ] libds_srcs += libds_wayland_srcs install_headers( 'DSObject/DSObject.h', 'DSSignal/DSSignal.h', 'DSBase/DSRefBase.h', ) pkgconfig = import('pkgconfig') ecore_dep = dependency('ecore') ecore_evas_dep = dependency('ecore-evas') dlog_dep = dependency('dlog') libtdm_dep = dependency('libtdm') libtbm_dep = dependency('libtbm') wayland_tbm_server_dep = dependency('wayland-tbm-server') wayland_dep = dependency('wayland-server') libinput_dep = dependency('libinput') libudev_dep = dependency('libudev') xkbcommon_dep = dependency('xkbcommon') tizen_ext_dep = dependency('tizen-extension-server') xdg_shell_unstable_v6_dep = dependency('xdg-shell-unstable-v6-server') xdg_shell_dep = dependency('xdg-shell-server') tizen_surface_dep = dependency('tizen-surface-server') input_method_dep = dependency('input-method-server') text_dep = dependency('text-server') tizen_launch_dep = dependency('tizen-launch-server') dali_core_dep = dependency('dali2-core') dali_adaptor_dep = dependency('dali2-adaptor') dali_toolkit_dep = dependency('dali2-toolkit') dali_deps = [dali_core_dep, dali_adaptor_dep, dali_toolkit_dep] tizen_ext_deps = [tizen_ext_dep, input_method_dep, text_dep, tizen_launch_dep, tizen_surface_dep] tizen_ext_deps = [tizen_ext_deps, xdg_shell_unstable_v6_dep, xdg_shell_dep] libds_deps = [ecore_dep] libds_include_dirs = include_directories( '.', './DSBase', './DSBuffer', './DSCallback', './DSCanvas', './DSCompositor', './DSDebug', './DSDisplayArea', './DSDisplayDevice', './DSEventLoop', './DSInput', './DSObject', './DSOutput', './DSPolicyArea', './DSProperty', './DSRender', './DSSeat', './DSSignal', './DSCore', './DSWaylandExtension', './DSWaylandServer', './DSWindow', './DSWindowManager', './DSWindowShell', './DSZone', './DSClient', './DSXkb', './DSTextInput', './DSTizenAppinfo', './DSUtil', ) libds_lib = shared_library( 'ds', libds_srcs, 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], include_directories : [libds_include_dirs], version : meson.project_version(), install : true ) pkgconfig.generate( filebase : 'libds', name : 'libds', description : 'Display Server library', version : meson.project_version(), libraries : libds_lib ) libds_declared_dep = declare_dependency( link_with : libds_lib, dependencies : [libds_deps, ecore_dep], include_directories : [libds_include_dirs] )