blob: 3a4f5f51013dfff48a4b4fb88532de3ad5385314 [file] [log] [blame]
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +00001list(APPEND WebKit2_SOURCES
carlosgc@webkit.org0bdecfe2014-05-23 09:57:56 +00002 NetworkProcess/efl/NetworkProcessMainEfl.cpp
3
ossy@webkit.orga82c35d2013-10-10 21:47:14 +00004 NetworkProcess/soup/NetworkProcessSoup.cpp
5 NetworkProcess/soup/NetworkResourceLoadSchedulerSoup.cpp
ossy@webkit.orgab7af2d2013-10-16 09:07:12 +00006 NetworkProcess/soup/RemoteNetworkingContextSoup.cpp
7
ryuan.choi@samsung.comc476ff12013-12-30 23:34:33 +00008 Platform/IPC/unix/AttachmentUnix.cpp
9 Platform/IPC/unix/ConnectionUnix.cpp
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +000010
commit-queue@webkit.org1a9b8cd2012-09-14 01:15:39 +000011 Platform/efl/LoggingEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000012 Platform/efl/ModuleEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000013
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +000014 Platform/unix/SharedMemoryUnix.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000015
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +000016 PluginProcess/unix/PluginControllerProxyUnix.cpp
17 PluginProcess/unix/PluginProcessMainUnix.cpp
18 PluginProcess/unix/PluginProcessUnix.cpp
19
ryuan.choi@samsung.com8d2c4892012-07-05 08:47:49 +000020 Shared/API/c/cairo/WKImageCairo.cpp
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +000021
commit-queue@webkit.org800e3302013-03-14 15:15:12 +000022 Shared/API/c/efl/WKArrayEfl.cpp
ryuan.choi@samsung.com8d2c4892012-07-05 08:47:49 +000023
yoon@igalia.com7226eeb2014-12-08 12:09:30 +000024 Shared/CoordinatedGraphics/CoordinatedBackingStore.cpp
ryuan.choi@samsung.comce72ffe2014-03-18 15:03:55 +000025 Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp
yoon@igalia.com7226eeb2014-12-08 12:09:30 +000026 Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp
ryuan.choi@samsung.comce72ffe2014-03-18 15:03:55 +000027 Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp
28
gyuyoung.kim@samsung.comb73c9d12013-01-25 03:03:33 +000029 Shared/Downloads/efl/DownloadSoupErrorsEfl.cpp
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +000030
gyuyoung.kim@samsung.comb73c9d12013-01-25 03:03:33 +000031 Shared/Downloads/soup/DownloadSoup.cpp
32
commit-queue@webkit.org188273e2014-10-08 06:37:40 +000033 Shared/Network/CustomProtocols/soup/CustomProtocolManagerImpl.cpp
34 Shared/Network/CustomProtocols/soup/CustomProtocolManagerSoup.cpp
35
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +000036 Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp
37
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000038 Shared/cairo/ShareableBitmapCairo.cpp
39
40 Shared/efl/NativeWebKeyboardEventEfl.cpp
commit-queue@webkit.org6df81ec2012-09-18 06:45:09 +000041 Shared/efl/NativeWebTouchEventEfl.cpp
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +000042 Shared/efl/NativeWebWheelEventEfl.cpp
commit-queue@webkit.org14224932012-07-23 11:37:26 +000043 Shared/efl/ProcessExecutablePathEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000044 Shared/efl/WebEventFactory.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000045
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +000046 Shared/linux/WebMemorySamplerLinux.cpp
47
thiago.santos@intel.com0ee9d4d2013-04-09 09:07:32 +000048 Shared/linux/SeccompFilters/OpenSyscall.cpp
thiago.santos@intel.com0ee9d4d2013-04-09 09:07:32 +000049 Shared/linux/SeccompFilters/SeccompBroker.cpp
50 Shared/linux/SeccompFilters/SeccompFilters.cpp
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +000051 Shared/linux/SeccompFilters/SigactionSyscall.cpp
52 Shared/linux/SeccompFilters/SigprocmaskSyscall.cpp
thiago.santos@intel.com0ee9d4d2013-04-09 09:07:32 +000053 Shared/linux/SeccompFilters/Syscall.cpp
54 Shared/linux/SeccompFilters/SyscallPolicy.cpp
55
commit-queue@webkit.orgba250672012-07-24 09:13:23 +000056 Shared/soup/WebCoreArgumentCodersSoup.cpp
carlosgc@webkit.orge6ce9da2012-07-13 07:26:17 +000057
carlosgc@webkit.org0bdecfe2014-05-23 09:57:56 +000058 Shared/unix/ChildProcessMain.cpp
59
commit-queue@webkit.orgdd56fa52012-09-13 10:11:01 +000060 UIProcess/DefaultUndoController.cpp
61
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +000062 UIProcess/API/C/CoordinatedGraphics/WKView.cpp
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +000063
christophe.dumez@intel.com9e7a3452013-01-28 09:02:32 +000064 UIProcess/API/C/cairo/WKIconDatabaseCairo.cpp
65
ryuan.choi@samsung.comceaecbc2014-02-18 05:13:18 +000066 UIProcess/API/C/efl/WKColorPickerResultListener.cpp
commit-queue@webkit.org23129a32013-06-28 01:53:32 +000067 UIProcess/API/C/efl/WKEventEfl.cpp
ch.dumez@sisa.samsung.com93005b682013-02-19 00:40:44 +000068 UIProcess/API/C/efl/WKPageEfl.cpp
69 UIProcess/API/C/efl/WKPopupItem.cpp
70 UIProcess/API/C/efl/WKPopupMenuListener.cpp
mikhail.pozdnyakov@intel.comeb28eb92013-04-23 14:45:52 +000071 UIProcess/API/C/efl/WKViewEfl.cpp
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +000072
christophe.dumez@intel.comf7343e02013-01-23 18:20:46 +000073 UIProcess/API/C/soup/WKCookieManagerSoup.cpp
commit-queue@webkit.org188273e2014-10-08 06:37:40 +000074 UIProcess/API/C/soup/WKSoupCustomProtocolRequestManager.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +000075
ryuan.choi@samsung.comce72ffe2014-03-18 15:03:55 +000076 UIProcess/API/CoordinatedGraphics/WKCoordinatedScene.cpp
77
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +000078 UIProcess/API/cpp/efl/WKEinaSharedString.cpp
79
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +000080 UIProcess/API/efl/EwkView.cpp
commit-queue@webkit.org16308862013-08-06 23:01:33 +000081 UIProcess/API/efl/GestureRecognizer.cpp
commit-queue@webkit.orgd8c67e72012-11-27 23:56:54 +000082 UIProcess/API/efl/SnapshotImageGL.cpp
k.czech@samsung.come2f7bc32014-10-23 08:02:35 +000083 UIProcess/API/efl/WebAccessibility.cpp
ryuan.choi@samsung.com6fd69dd2014-03-17 05:46:10 +000084 UIProcess/API/efl/ewk_application_cache_manager.cpp
commit-queue@webkit.org663e8a22012-11-01 15:32:42 +000085 UIProcess/API/efl/ewk_auth_request.cpp
commit-queue@webkit.orge6393442012-08-07 10:46:14 +000086 UIProcess/API/efl/ewk_back_forward_list.cpp
87 UIProcess/API/efl/ewk_back_forward_list_item.cpp
commit-queue@webkit.orgbe9ca402012-10-26 11:32:25 +000088 UIProcess/API/efl/ewk_color_picker.cpp
ryuan.choi@samsung.com5c8bdc112012-06-10 14:21:31 +000089 UIProcess/API/efl/ewk_context.cpp
gyuyoung.kim@samsung.com514eb882012-11-21 14:24:54 +000090 UIProcess/API/efl/ewk_context_menu.cpp
91 UIProcess/API/efl/ewk_context_menu_item.cpp
commit-queue@webkit.orgc5e2faa2012-07-18 14:41:22 +000092 UIProcess/API/efl/ewk_cookie_manager.cpp
commit-queue@webkit.orgb0c6c4f92012-11-07 00:32:54 +000093 UIProcess/API/efl/ewk_database_manager.cpp
commit-queue@webkit.org6c00bc92012-07-27 17:24:49 +000094 UIProcess/API/efl/ewk_download_job.cpp
commit-queue@webkit.orga69d6542012-10-05 11:33:03 +000095 UIProcess/API/efl/ewk_error.cpp
commit-queue@webkit.org58b89dc2012-10-15 19:44:09 +000096 UIProcess/API/efl/ewk_favicon_database.cpp
commit-queue@webkit.org599a4cb2012-10-31 19:17:16 +000097 UIProcess/API/efl/ewk_file_chooser_request.cpp
commit-queue@webkit.orga1356652012-07-26 13:28:25 +000098 UIProcess/API/efl/ewk_form_submission_request.cpp
commit-queue@webkit.org6f7fca62012-07-25 08:30:00 +000099 UIProcess/API/efl/ewk_main.cpp
commit-queue@webkit.org5cea2182012-10-10 08:14:40 +0000100 UIProcess/API/efl/ewk_navigation_data.cpp
commit-queue@webkit.orgc4c64362012-07-12 08:35:36 +0000101 UIProcess/API/efl/ewk_navigation_policy_decision.cpp
commit-queue@webkit.orgd94dd552012-11-02 09:24:28 +0000102 UIProcess/API/efl/ewk_object.cpp
commit-queue@webkit.org800e3302013-03-14 15:15:12 +0000103 UIProcess/API/efl/ewk_page_group.cpp
commit-queue@webkit.org837e1682012-10-25 21:15:25 +0000104 UIProcess/API/efl/ewk_popup_menu.cpp
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +0000105 UIProcess/API/efl/ewk_popup_menu_item.cpp
commit-queue@webkit.org0b31a252012-11-02 09:05:48 +0000106 UIProcess/API/efl/ewk_security_origin.cpp
commit-queue@webkit.org4cdf2d72012-09-03 14:48:45 +0000107 UIProcess/API/efl/ewk_settings.cpp
commit-queue@webkit.org0b31a252012-11-02 09:05:48 +0000108 UIProcess/API/efl/ewk_storage_manager.cpp
commit-queue@webkit.org22975d02012-10-17 10:30:52 +0000109 UIProcess/API/efl/ewk_text_checker.cpp
commit-queue@webkit.org96a167d2012-07-05 07:59:25 +0000110 UIProcess/API/efl/ewk_url_request.cpp
commit-queue@webkit.org8d230602012-07-12 03:22:03 +0000111 UIProcess/API/efl/ewk_url_response.cpp
commit-queue@webkit.orgc63fcf82012-07-23 15:49:04 +0000112 UIProcess/API/efl/ewk_url_scheme_request.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000113 UIProcess/API/efl/ewk_view.cpp
commit-queue@webkit.org92981272012-11-21 03:21:11 +0000114 UIProcess/API/efl/ewk_window_features.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000115
ryuan.choi@samsung.comce72ffe2014-03-18 15:03:55 +0000116 UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp
117 UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp
ryuan.choi@samsung.com0cde9232013-11-14 09:12:12 +0000118 UIProcess/CoordinatedGraphics/PageViewportController.cpp
ryuan.choi@samsung.comce72ffe2014-03-18 15:03:55 +0000119 UIProcess/CoordinatedGraphics/WebPageProxyCoordinatedGraphics.cpp
mikhail.pozdnyakov@intel.comeb28eb92013-04-23 14:45:52 +0000120 UIProcess/CoordinatedGraphics/WebView.cpp
121 UIProcess/CoordinatedGraphics/WebViewClient.cpp
122
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000123 UIProcess/InspectorServer/efl/WebInspectorServerEfl.cpp
124
125 UIProcess/InspectorServer/soup/WebSocketServerSoup.cpp
126
127 UIProcess/Launcher/efl/ProcessLauncherEfl.cpp
128
commit-queue@webkit.org188273e2014-10-08 06:37:40 +0000129 UIProcess/Network/CustomProtocols/soup/CustomProtocolManagerProxySoup.cpp
130 UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.cpp
131 UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManagerClient.cpp
132
ossy@webkit.orga82c35d2013-10-10 21:47:14 +0000133 UIProcess/Network/soup/NetworkProcessProxySoup.cpp
134
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000135 UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp
136 UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp
137
138 UIProcess/Storage/StorageManager.cpp
139
140 UIProcess/cairo/BackingStoreCairo.cpp
141
commit-queue@webkit.org49a251c2012-10-25 17:56:26 +0000142 UIProcess/efl/BatteryProvider.cpp
commit-queue@webkit.org7b933e42012-10-24 07:54:27 +0000143 UIProcess/efl/ContextHistoryClientEfl.cpp
gyuyoung.kim@samsung.com514eb882012-11-21 14:24:54 +0000144 UIProcess/efl/ContextMenuClientEfl.cpp
commit-queue@webkit.org1f5d4172012-10-23 10:53:37 +0000145 UIProcess/efl/DownloadManagerEfl.cpp
commit-queue@webkit.org89d38942013-09-16 12:51:40 +0000146 UIProcess/efl/EasingCurves.cpp
commit-queue@webkit.org23129a32013-06-28 01:53:32 +0000147 UIProcess/efl/EwkTouchEvent.cpp
148 UIProcess/efl/EwkTouchPoint.cpp
commit-queue@webkit.orgfea6a232012-10-24 11:02:12 +0000149 UIProcess/efl/FindClientEfl.cpp
150 UIProcess/efl/FormClientEfl.cpp
commit-queue@webkit.orgc261bad2012-10-26 09:40:21 +0000151 UIProcess/efl/InputMethodContextEfl.cpp
commit-queue@webkit.orga05d1642012-10-23 08:11:54 +0000152 UIProcess/efl/PageLoadClientEfl.cpp
commit-queue@webkit.orgc8335822012-10-23 12:31:45 +0000153 UIProcess/efl/PagePolicyClientEfl.cpp
commit-queue@webkit.orgb80fbbd2012-10-23 11:41:41 +0000154 UIProcess/efl/PageUIClientEfl.cpp
commit-queue@webkit.org49a251c2012-10-25 17:56:26 +0000155 UIProcess/efl/PageViewportControllerClientEfl.cpp
commit-queue@webkit.org3e565bb2012-10-23 13:52:13 +0000156 UIProcess/efl/RequestManagerClientEfl.cpp
g.czajkowski@samsung.coma2e88c12013-04-18 13:04:15 +0000157 UIProcess/efl/TextCheckerClientEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000158 UIProcess/efl/TextCheckerEfl.cpp
commit-queue@webkit.orgb9231fc2012-11-08 01:29:28 +0000159 UIProcess/efl/VibrationClientEfl.cpp
ch.dumez@sisa.samsung.com9109c0e2013-02-13 16:16:45 +0000160 UIProcess/efl/ViewClientEfl.cpp
ryuan.choi@samsung.comceaecbc2014-02-18 05:13:18 +0000161 UIProcess/efl/WebColorPickerClient.cpp
162 UIProcess/efl/WebColorPickerEfl.cpp
163 UIProcess/efl/WebColorPickerResultListenerProxy.cpp
gyuyoung.kim@samsung.com514eb882012-11-21 14:24:54 +0000164 UIProcess/efl/WebContextMenuProxyEfl.cpp
commit-queue@webkit.orgf7fd87c2012-07-18 12:59:21 +0000165 UIProcess/efl/WebInspectorProxyEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000166 UIProcess/efl/WebPageProxyEfl.cpp
ch.dumez@sisa.samsung.com93005b682013-02-19 00:40:44 +0000167 UIProcess/efl/WebPopupItemEfl.cpp
168 UIProcess/efl/WebPopupMenuListenerEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000169 UIProcess/efl/WebPreferencesEfl.cpp
g.czajkowski@samsung.com23fab952015-02-16 16:10:27 +0000170 UIProcess/efl/WebProcessPoolEfl.cpp
weinig@apple.comc14ecd32012-09-25 04:09:02 +0000171 UIProcess/efl/WebProcessProxyEfl.cpp
ch.dumez@sisa.samsung.com93005b682013-02-19 00:40:44 +0000172 UIProcess/efl/WebUIPopupMenuClient.cpp
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000173 UIProcess/efl/WebViewEfl.cpp
commit-queue@webkit.org47522542012-12-08 17:16:05 +0000174
carlosgc@webkit.orgc74f54f2012-07-12 08:12:52 +0000175 UIProcess/soup/WebCookieManagerProxySoup.cpp
changseok.oh@collabora.com4b7dbbb2014-12-24 05:34:39 +0000176 UIProcess/soup/WebProcessPoolSoup.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000177
kubo@profusion.mobic3a2eeb52012-02-13 13:30:42 +0000178 WebProcess/Cookies/soup/WebCookieManagerSoup.cpp
carlosgc@webkit.orgc74f54f2012-07-12 08:12:52 +0000179 WebProcess/Cookies/soup/WebKitSoupCookieJarSqlite.cpp
kubo@profusion.mobic3a2eeb52012-02-13 13:30:42 +0000180
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000181 WebProcess/InjectedBundle/API/efl/ewk_extension.cpp
ryuan.choi@navercorp.com12dbedb2015-03-18 02:42:30 +0000182 WebProcess/InjectedBundle/API/efl/ewk_page.cpp
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000183
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000184 WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp
185
jer.noble@apple.come50b1e32014-10-29 00:18:08 +0000186 WebProcess/MediaCache/WebMediaKeyStorageManager.cpp
187
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +0000188 WebProcess/Plugins/Netscape/unix/PluginProxyUnix.cpp
189
190 WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
191
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000192 WebProcess/WebCoreSupport/efl/WebContextMenuClientEfl.cpp
193 WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp
194 WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp
195 WebProcess/WebCoreSupport/efl/WebPopupMenuEfl.cpp
196
commit-queue@webkit.orge2aa22e2012-09-05 13:06:01 +0000197 WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp
198
ryuan.choi@samsung.comce72ffe2014-03-18 15:03:55 +0000199 WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.cpp
200 WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp
201 WebProcess/WebPage/CoordinatedGraphics/WebPageCoordinatedGraphics.cpp
202
commit-queue@webkit.org358e4262013-01-24 10:11:51 +0000203 WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000204
timothy@apple.com6e81b9e2014-09-24 19:58:08 +0000205 WebProcess/WebPage/efl/WebInspectorUIEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000206 WebProcess/WebPage/efl/WebPageEfl.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000207
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000208 WebProcess/efl/ExtensionManagerEfl.cpp
thiago.santos@intel.com0ee9d4d2013-04-09 09:07:32 +0000209 WebProcess/efl/SeccompFiltersWebProcessEfl.cpp
commit-queue@webkit.org565b2972012-09-05 23:04:38 +0000210 WebProcess/efl/WebProcessMainEfl.cpp
211
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000212 WebProcess/soup/WebKitSoupRequestGeneric.cpp
213 WebProcess/soup/WebKitSoupRequestInputStream.cpp
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000214 WebProcess/soup/WebProcessSoup.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000215)
216
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000217list(APPEND WebKit2_MESSAGES_IN_FILES
ryuan.choi@samsung.comce72ffe2014-03-18 15:03:55 +0000218 UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in
219
ryuan.choi@samsung.comce72ffe2014-03-18 15:03:55 +0000220 WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.messages.in
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000221)
222
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000223list(APPEND WebKit2_INCLUDE_DIRECTORIES
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000224 "${WEBCORE_DIR}/platform/efl"
225 "${WEBCORE_DIR}/platform/graphics/cairo"
commit-queue@webkit.org19ce59d2014-03-04 08:26:28 +0000226 "${WEBCORE_DIR}/platform/graphics/efl"
mario@webkit.org17953912013-11-07 15:18:43 +0000227 "${WEBCORE_DIR}/platform/graphics/opentype"
kubo@profusion.mobic3a2eeb52012-02-13 13:30:42 +0000228 "${WEBCORE_DIR}/platform/network/soup"
commit-queue@webkit.org22975d02012-10-17 10:30:52 +0000229 "${WEBCORE_DIR}/platform/text/enchant"
carlosgc@webkit.org0bdecfe2014-05-23 09:57:56 +0000230 "${WEBKIT2_DIR}/NetworkProcess/efl"
ossy@webkit.orgab7af2d2013-10-16 09:07:12 +0000231 "${WEBKIT2_DIR}/NetworkProcess/unix"
bw80.lee@samsung.comc5089622013-10-11 04:55:47 +0000232 "${WEBKIT2_DIR}/Platform/efl"
commit-queue@webkit.org800e3302013-03-14 15:15:12 +0000233 "${WEBKIT2_DIR}/Shared/API/c/efl"
ryuan.choi@samsung.comce72ffe2014-03-18 15:03:55 +0000234 "${WEBKIT2_DIR}/Shared/CoordinatedGraphics"
gyuyoung.kim@samsung.comb73c9d12013-01-25 03:03:33 +0000235 "${WEBKIT2_DIR}/Shared/Downloads/soup"
commit-queue@webkit.org188273e2014-10-08 06:37:40 +0000236 "${WEBKIT2_DIR}/Shared/Network/CustomProtocols/soup"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000237 "${WEBKIT2_DIR}/Shared/efl"
carlosgc@webkit.orgc74f54f2012-07-12 08:12:52 +0000238 "${WEBKIT2_DIR}/Shared/soup"
carlosgc@webkit.org0bdecfe2014-05-23 09:57:56 +0000239 "${WEBKIT2_DIR}/Shared/unix"
christophe.dumez@intel.com9e7a3452013-01-28 09:02:32 +0000240 "${WEBKIT2_DIR}/UIProcess/API/C/cairo"
mikhail.pozdnyakov@intel.comeb28eb92013-04-23 14:45:52 +0000241 "${WEBKIT2_DIR}/UIProcess/API/C/CoordinatedGraphics"
ryuan.choi@samsung.com71b54342012-06-21 15:11:48 +0000242 "${WEBKIT2_DIR}/UIProcess/API/C/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000243 "${WEBKIT2_DIR}/UIProcess/API/C/soup"
commit-queue@webkit.org5ab53c02012-08-08 14:40:54 +0000244 "${WEBKIT2_DIR}/UIProcess/API/cpp/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000245 "${WEBKIT2_DIR}/UIProcess/API/efl"
ryuan.choi@samsung.comce72ffe2014-03-18 15:03:55 +0000246 "${WEBKIT2_DIR}/UIProcess/CoordinatedGraphics"
m.pakula@samsung.com1095d152014-03-25 12:13:15 +0000247 "${WEBKIT2_DIR}/UIProcess/Network/CustomProtocols/soup"
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +0000248 "${WEBKIT2_DIR}/UIProcess/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000249 "${WEBKIT2_DIR}/UIProcess/soup"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000250 "${WEBKIT2_DIR}/WebProcess/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000251 "${WEBKIT2_DIR}/WebProcess/soup"
carlosgc@webkit.org0bdecfe2014-05-23 09:57:56 +0000252 "${WEBKIT2_DIR}/WebProcess/unix"
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000253 "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API/efl"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000254 "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/efl"
commit-queue@webkit.orge2aa22e2012-09-05 13:06:01 +0000255 "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/soup"
ryuan.choi@samsung.comce72ffe2014-03-18 15:03:55 +0000256 "${WEBKIT2_DIR}/WebProcess/WebPage/CoordinatedGraphics"
commit-queue@webkit.org645d2752012-10-17 22:04:47 +0000257 "${WTF_DIR}/wtf/efl/"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000258 "${WTF_DIR}/wtf/gobject"
rakuco@webkit.orgfb7fec12012-05-04 00:39:57 +0000259 ${CAIRO_INCLUDE_DIRS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000260 ${ECORE_EVAS_INCLUDE_DIRS}
ryuan.choi@samsung.com927e74f2013-03-06 00:15:43 +0000261 ${ECORE_IMF_EVAS_INCLUDE_DIRS}
262 ${ECORE_IMF_INCLUDE_DIRS}
263 ${ECORE_INCLUDE_DIRS}
264 ${ECORE_X_INCLUDE_DIRS}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000265 ${EDJE_INCLUDE_DIRS}
commit-queue@webkit.org9cb75d82012-07-26 12:01:37 +0000266 ${EFREET_INCLUDE_DIRS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000267 ${EINA_INCLUDE_DIRS}
ryuan.choi@samsung.com44459542012-12-21 00:59:46 +0000268 ${EO_INCLUDE_DIRS}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000269 ${EVAS_INCLUDE_DIRS}
ljaehun.lim@samsung.com41d410f2014-12-01 07:36:45 +0000270 ${GLIB_INCLUDE_DIRS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000271 ${HARFBUZZ_INCLUDE_DIRS}
commit-queue@webkit.org565b2972012-09-05 23:04:38 +0000272 ${LIBSOUP_INCLUDE_DIRS}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000273 ${LIBXML2_INCLUDE_DIR}
274 ${LIBXSLT_INCLUDE_DIRS}
275 ${SQLITE_INCLUDE_DIRS}
276)
277
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000278list(APPEND WebKit2_LIBRARIES
gyuyoung.kim@samsung.com3b34f202014-08-11 10:07:59 +0000279 WTF
rakuco@webkit.orgfb7fec12012-05-04 00:39:57 +0000280 ${CAIRO_LIBRARIES}
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000281 ${CMAKE_DL_LIBS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000282 ${ECORE_EVAS_LIBRARIES}
kbalazs@webkit.orgd50a83e2013-07-17 08:37:03 +0000283 ${ECORE_IMF_EVAS_LIBRARIES}
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000284 ${ECORE_LIBRARIES}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000285 ${EDJE_LIBRARIES}
commit-queue@webkit.org9cb75d82012-07-26 12:01:37 +0000286 ${EFREET_LIBRARIES}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000287 ${EINA_LIBRARIES}
ryuan.choi@samsung.com44459542012-12-21 00:59:46 +0000288 ${EO_LIBRARIES}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000289 ${EVAS_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000290 ${FONTCONFIG_LIBRARIES}
thiago.lacerda@openbossa.org79957d42014-03-21 03:47:26 +0000291 ${FREETYPE2_LIBRARIES}
rakuco@webkit.org6624e352012-08-13 23:41:07 +0000292 ${GLIB_GIO_LIBRARIES}
293 ${GLIB_GOBJECT_LIBRARIES}
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000294 ${GLIB_LIBRARIES}
295 ${HARFBUZZ_LIBRARIES}
296 ${JPEG_LIBRARIES}
rakuco@webkit.org48d9a032012-08-13 23:30:23 +0000297 ${LIBSOUP_LIBRARIES}
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000298 ${LIBXML2_LIBRARIES}
299 ${OPENGL_LIBRARIES}
300 ${PNG_LIBRARIES}
301 ${SQLITE_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000302)
303
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000304list(APPEND WebProcess_SOURCES
carlosgc@webkit.org0bdecfe2014-05-23 09:57:56 +0000305 WebProcess/EntryPoint/unix/WebProcessMain.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000306)
307
m.pakula@samsung.com1095d152014-03-25 12:13:15 +0000308list(APPEND NetworkProcess_SOURCES
carlosgc@webkit.org0bdecfe2014-05-23 09:57:56 +0000309 NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp
m.pakula@samsung.com1095d152014-03-25 12:13:15 +0000310)
311
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000312list(APPEND WebProcess_LIBRARIES
rakuco@webkit.orgfb7fec12012-05-04 00:39:57 +0000313 ${CAIRO_LIBRARIES}
commit-queue@webkit.org201bf1c2012-12-18 02:39:54 +0000314 ${ECORE_IMF_EVAS_LIBRARIES}
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000315 ${ECORE_IMF_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000316 ${EDJE_LIBRARIES}
317 ${EFLDEPS_LIBRARIES}
318 ${EVAS_LIBRARIES}
319 ${LIBXML2_LIBRARIES}
320 ${LIBXSLT_LIBRARIES}
commit-queue@webkit.orgadb694d2012-08-08 05:38:28 +0000321 ${OPENGL_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000322 ${SQLITE_LIBRARIES}
323)
324
thiago.santos@intel.com0ee9d4d2013-04-09 09:07:32 +0000325if (ENABLE_SECCOMP_FILTERS)
326 list(APPEND WebKit2_LIBRARIES
327 ${LIBSECCOMP_LIBRARIES}
328 )
329 list(APPEND WebKit2_INCLUDE_DIRECTORIES
330 ${LIBSECCOMP_INCLUDE_DIRS}
331 )
332
333 # If building with jhbuild, add the root build directory to the
334 # filesystem access policy.
ljaehun.lim@samsung.com7e8a25f2014-12-09 04:56:38 +0000335 if (IS_DIRECTORY ${CMAKE_SOURCE_DIR}/WebKitBuild/DependenciesEFL)
thiago.santos@intel.com0ee9d4d2013-04-09 09:07:32 +0000336 add_definitions(-DSOURCE_DIR=\"${CMAKE_SOURCE_DIR}\")
337 endif ()
338endif ()
339
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000340if (ENABLE_ECORE_X)
341 list(APPEND WebProcess_LIBRARIES
commit-queue@webkit.org0d525682012-10-24 14:33:47 +0000342 ${ECORE_X_LIBRARIES}
kbalazs@webkit.orgd50a83e2013-07-17 08:37:03 +0000343 ${X11_Xext_LIB}
344 )
345 list(APPEND WebKit2_LIBRARIES
346 ${ECORE_X_LIBRARIES}
347 )
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000348endif ()
commit-queue@webkit.org0d525682012-10-24 14:33:47 +0000349
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000350add_custom_target(forwarding-headerEfl
paroga@webkit.org3b00bfc2012-07-30 18:49:49 +0000351 COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include efl
bw80.lee@samsung.coma2a20842013-04-24 22:50:14 +0000352 COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include CoordinatedGraphics
paroga@webkit.org3b00bfc2012-07-30 18:49:49 +0000353)
paroga@webkit.org3b00bfc2012-07-30 18:49:49 +0000354
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000355add_custom_target(forwarding-headerSoup
paroga@webkit.org3b00bfc2012-07-30 18:49:49 +0000356 COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include soup
357)
mrobinson@webkit.org0373a742013-05-21 18:49:40 +0000358
359set(WEBKIT2_EXTRA_DEPENDENCIES
360 forwarding-headerEfl
361 forwarding-headerSoup
362)
paroga@webkit.org3b00bfc2012-07-30 18:49:49 +0000363
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000364configure_file(efl/ewebkit2.pc.in ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2.pc @ONLY)
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000365configure_file(efl/ewebkit2-extension.pc.in ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2-extension.pc @ONLY)
ryuan.choi@samsung.com063f8142013-11-18 11:31:51 +0000366configure_file(efl/EWebKit2Config.cmake.in ${CMAKE_BINARY_DIR}/WebKit2/efl/EWebKit2Config.cmake @ONLY)
367configure_file(efl/EWebKit2ConfigVersion.cmake.in ${CMAKE_BINARY_DIR}/WebKit2/efl/EWebKit2ConfigVersion.cmake @ONLY)
ryuan.choi@samsung.com3f43d062014-07-23 07:21:35 +0000368configure_file(UIProcess/API/efl/EWebKit2.h.in ${DERIVED_SOURCES_WEBKIT2_DIR}/include/EWebKit2.h)
ryuan.choi@samsung.com063f8142013-11-18 11:31:51 +0000369
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000370set(EWebKit2_HEADERS
ryuan.choi@samsung.com3f43d062014-07-23 07:21:35 +0000371 "${DERIVED_SOURCES_WEBKIT2_DIR}/include/EWebKit2.h"
commit-queue@webkit.org663e8a22012-11-01 15:32:42 +0000372 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_auth_request.h"
commit-queue@webkit.orge6393442012-08-07 10:46:14 +0000373 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_back_forward_list.h"
374 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_back_forward_list_item.h"
ryuan.choi@samsung.com6fd69dd2014-03-17 05:46:10 +0000375 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_application_cache_manager.h"
commit-queue@webkit.orgbe9ca402012-10-26 11:32:25 +0000376 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_color_picker.h"
commit-queue@webkit.orgbff9a102012-06-21 15:46:40 +0000377 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_context.h"
ryuan.choi@samsung.com7dcb7d72012-12-17 06:47:40 +0000378 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_context_menu.h"
379 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_context_menu_item.h"
commit-queue@webkit.orgc5e2faa2012-07-18 14:41:22 +0000380 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_cookie_manager.h"
commit-queue@webkit.orgb0c6c4f92012-11-07 00:32:54 +0000381 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_database_manager.h"
commit-queue@webkit.org6c00bc92012-07-27 17:24:49 +0000382 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_download_job.h"
commit-queue@webkit.orga69d6542012-10-05 11:33:03 +0000383 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_error.h"
commit-queue@webkit.org58b89dc2012-10-15 19:44:09 +0000384 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_favicon_database.h"
commit-queue@webkit.org599a4cb2012-10-31 19:17:16 +0000385 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_file_chooser_request.h"
commit-queue@webkit.orga1356652012-07-26 13:28:25 +0000386 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_form_submission_request.h"
ryuan.choi@samsung.com6b3da632014-08-16 04:35:59 +0000387 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_intro.h"
gyuyoung.kim@samsung.com324ab952012-09-28 10:49:05 +0000388 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_main.h"
commit-queue@webkit.org5cea2182012-10-10 08:14:40 +0000389 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_navigation_data.h"
commit-queue@webkit.org975681a2012-07-13 17:09:03 +0000390 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_navigation_policy_decision.h"
commit-queue@webkit.orgd94dd552012-11-02 09:24:28 +0000391 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_object.h"
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000392 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_page_group.h"
commit-queue@webkit.org837e1682012-10-25 21:15:25 +0000393 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_popup_menu.h"
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +0000394 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_popup_menu_item.h"
commit-queue@webkit.org0b31a252012-11-02 09:05:48 +0000395 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_security_origin.h"
commit-queue@webkit.org4cdf2d72012-09-03 14:48:45 +0000396 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_settings.h"
commit-queue@webkit.org0b31a252012-11-02 09:05:48 +0000397 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_storage_manager.h"
commit-queue@webkit.org22975d02012-10-17 10:30:52 +0000398 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_text_checker.h"
commit-queue@webkit.orgea161622012-09-21 06:23:33 +0000399 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_touch.h"
commit-queue@webkit.org975681a2012-07-13 17:09:03 +0000400 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_request.h"
401 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_response.h"
commit-queue@webkit.orgc63fcf82012-07-23 15:49:04 +0000402 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_scheme_request.h"
commit-queue@webkit.orgbff9a102012-06-21 15:46:40 +0000403 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_view.h"
commit-queue@webkit.org92981272012-11-21 03:21:11 +0000404 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_window_features.h"
commit-queue@webkit.orgbff9a102012-06-21 15:46:40 +0000405)
406
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000407set(EWebKit2_Extension_HEADERS
408 "${CMAKE_CURRENT_SOURCE_DIR}/WebProcess/InjectedBundle/API/efl/EWebKit_Extension.h"
409 "${CMAKE_CURRENT_SOURCE_DIR}/WebProcess/InjectedBundle/API/efl/ewk_extension.h"
ryuan.choi@navercorp.com12dbedb2015-03-18 02:42:30 +0000410 "${CMAKE_CURRENT_SOURCE_DIR}/WebProcess/InjectedBundle/API/efl/ewk_page.h"
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000411)
412
ryuan.choi@navercorp.com12dbedb2015-03-18 02:42:30 +0000413install(FILES ${EWebKit2_HEADERS} DESTINATION ${HEADER_INSTALL_DIR})
414install(FILES ${EWebKit2_Extension_HEADERS} DESTINATION ${HEADER_INSTALL_DIR}/extension)
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000415
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000416install(FILES ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2.pc DESTINATION lib/pkgconfig)
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000417install(FILES ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2-extension.pc DESTINATION lib/pkgconfig)
ryuan.choi@samsung.com063f8142013-11-18 11:31:51 +0000418install(FILES
419 ${CMAKE_BINARY_DIR}/WebKit2/efl/EWebKit2Config.cmake
420 ${CMAKE_BINARY_DIR}/WebKit2/efl/EWebKit2ConfigVersion.cmake
421 DESTINATION lib/cmake/EWebKit2)
422
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000423set(EWEBKIT_EXTENSION_MANAGER_INSTALL_DIR "${LIB_INSTALL_DIR}/${WebKit2_OUTPUT_NAME}-${PROJECT_VERSION_MAJOR}/" CACHE PATH "Absolute path to install injected bundle which controls the extension library")
424
425add_library(ewebkit_extension_manager SHARED "${WEBKIT2_DIR}/WebProcess/efl/WebInjectedBundleMainEfl.cpp")
426target_link_libraries(ewebkit_extension_manager WebKit2)
427
428install(TARGETS ewebkit_extension_manager DESTINATION "${EWEBKIT_EXTENSION_MANAGER_INSTALL_DIR}")
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000429
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000430if (ENABLE_PLUGIN_PROCESS)
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000431 list(APPEND PluginProcess_INCLUDE_DIRECTORIES
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +0000432 "${WEBKIT2_DIR}/PluginProcess/unix"
433 )
434
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000435 include_directories(${PluginProcess_INCLUDE_DIRECTORIES})
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +0000436
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000437 list(APPEND PluginProcess_SOURCES
carlosgc@webkit.org0bdecfe2014-05-23 09:57:56 +0000438 ${WEBKIT2_DIR}/PluginProcess/EntryPoint/unix/PluginProcessMain.cpp
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +0000439 )
440
kbalazs@webkit.orgd50a83e2013-07-17 08:37:03 +0000441 if (ENABLE_ECORE_X)
442 list(APPEND PluginProcess_LIBRARIES
443 ${ECORE_X_LIBRARIES}
444 )
445 endif ()
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000446endif () # ENABLE_PLUGIN_PROCESS
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +0000447
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000448include_directories(${THIRDPARTY_DIR}/gtest/include)
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000449
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000450set(EWK2UnitTests_LIBRARIES
commit-queue@webkit.orgbaeaccc2012-07-23 20:26:00 +0000451 ${CAIRO_LIBRARIES}
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000452 ${ECORE_EVAS_LIBRARIES}
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000453 ${ECORE_LIBRARIES}
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000454 ${EVAS_LIBRARIES}
rakuco@webkit.org26876672012-08-13 23:49:06 +0000455 ${GLIB_GIO_LIBRARIES}
456 ${GLIB_GOBJECT_LIBRARIES}
commit-queue@webkit.org36bd77a2012-12-06 21:58:01 +0000457 ${GLIB_GTHREAD_LIBRARIES}
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000458 ${GLIB_LIBRARIES}
rakuco@webkit.org48d9a032012-08-13 23:30:23 +0000459 ${LIBSOUP_LIBRARIES}
paroga@webkit.orgefce2eb2013-09-23 08:07:44 +0000460 JavaScriptCore
461 WTF
462 WebCore
463 WebKit2
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000464 gtest
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000465)
466
k.czech@samsung.com2b4f9a62014-10-23 09:35:46 +0000467if (ENABLE_ECORE_X)
468 list(APPEND EWK2UnitTests_LIBRARIES
469 ${ECORE_X_LIBRARIES}
470 )
471endif ()
472
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000473set(WEBKIT2_EFL_TEST_DIR "${WEBKIT2_DIR}/UIProcess/API/efl/tests")
474set(TEST_RESOURCES_DIR ${WEBKIT2_EFL_TEST_DIR}/resources)
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000475set(TEST_EXTENSIONS_DIR ${WEBKIT2_EFL_TEST_DIR}/extensions)
gyuyoung.kim@samsung.comcdebde22014-01-09 00:35:34 +0000476set(WEBKIT2_EFL_TEST_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/TestWebKitAPI/EWebKit2)
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000477
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000478add_definitions(-DTEST_RESOURCES_DIR=\"${TEST_RESOURCES_DIR}\"
commit-queue@webkit.org905d5ba2012-09-24 12:31:54 +0000479 -DTEST_LIB_DIR=\"${CMAKE_LIBRARY_OUTPUT_DIRECTORY}\"
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000480 -DGTEST_LINKED_AS_SHARED_LIBRARY=1
mrobinson@webkit.org68d6abd2014-05-21 16:39:17 +0000481 -DLIBEXECDIR=\"${EXEC_INSTALL_DIR}\"
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000482 -DEXTENSIONMANAGERDIR=\"${CMAKE_INSTALL_PREFIX}/${EWEBKIT_EXTENSION_MANAGER_INSTALL_DIR}\"
paroga@webkit.org8c217802013-05-18 11:36:50 +0000483 -DWEBPROCESSNAME=\"WebProcess\"
484 -DPLUGINPROCESSNAME=\"PluginProcess\"
ossy@webkit.orgab7af2d2013-10-16 09:07:12 +0000485 -DNETWORKPROCESSNAME=\"NetworkProcess\"
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000486 -DEXTENSIONMANAGERNAME=\"libewebkit_extension_manager.so\"
ryuan.choi@samsung.com7023dfb2014-08-26 10:51:01 +0000487 -DGTEST_HAS_RTTI=0
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000488)
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000489
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000490add_library(ewk2UnitTestUtils
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000491 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestBase.cpp
492 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestEnvironment.cpp
493 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestMain.cpp
commit-queue@webkit.orgbaeaccc2012-07-23 20:26:00 +0000494 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestServer.cpp
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000495)
496
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000497target_link_libraries(ewk2UnitTestUtils ${EWK2UnitTests_LIBRARIES})
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000498
499# The "ewk" on the test name needs to be suffixed with "2", otherwise it
500# will clash with tests from the WebKit 1 test suite.
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000501set(EWK2UnitTests_BINARIES
k.czech@samsung.come2f7bc32014-10-23 08:02:35 +0000502 test_ewk2_accessibility
ryuan.choi@samsung.com6fd69dd2014-03-17 05:46:10 +0000503 test_ewk2_application_cache_manager
ch.dumez@sisa.samsung.com263f4c02013-02-12 23:10:31 +0000504 test_ewk2_auth_request
commit-queue@webkit.org68a200e2012-08-17 15:37:18 +0000505 test_ewk2_back_forward_list
commit-queue@webkit.orgbe9ca402012-10-26 11:32:25 +0000506 test_ewk2_color_picker
commit-queue@webkit.org3ca0d432012-07-26 16:04:20 +0000507 test_ewk2_context
commit-queue@webkit.org5cea2182012-10-10 08:14:40 +0000508 test_ewk2_context_history_callbacks
commit-queue@webkit.orgbaeaccc2012-07-23 20:26:00 +0000509 test_ewk2_cookie_manager
commit-queue@webkit.orgb0c6c4f92012-11-07 00:32:54 +0000510 test_ewk2_database_manager
commit-queue@webkit.org603c9872015-03-05 14:05:12 +0000511 test_ewk2_download_job
commit-queue@webkit.org0df599b2012-08-20 11:52:26 +0000512 test_ewk2_eina_shared_string
commit-queue@webkit.org58b89dc2012-10-15 19:44:09 +0000513 test_ewk2_favicon_database
commit-queue@webkit.org599a4cb2012-10-31 19:17:16 +0000514 test_ewk2_file_chooser_request
ryuan.choi@navercorp.com12dbedb2015-03-18 02:42:30 +0000515 test_ewk2_javascript_binding
commit-queue@webkit.org2e423be2012-11-02 16:09:54 +0000516 test_ewk2_object
commit-queue@webkit.org800e3302013-03-14 15:15:12 +0000517 test_ewk2_page_group
commit-queue@webkit.org837e1682012-10-25 21:15:25 +0000518 test_ewk2_popup_menu
commit-queue@webkit.org4cdf2d72012-09-03 14:48:45 +0000519 test_ewk2_settings
pmolnar.u-szeged@partner.samsung.com31a58412014-03-31 12:59:56 +0000520 test_ewk2_ssl
commit-queue@webkit.org11a69f62015-03-16 14:32:38 +0000521 test_ewk2_storage_manager
g.czajkowski@samsung.comf8741682014-12-10 13:00:05 +0000522 test_ewk2_text_checker
ryuan.choi@gmail.com5f271bc2014-10-02 11:14:43 +0000523 test_ewk2_view
commit-queue@webkit.org92981272012-11-21 03:21:11 +0000524 test_ewk2_window_features
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000525)
526
thiago.santos@intel.com39a2f6f2013-01-21 08:18:18 +0000527# Skipped unit tests list:
528#
529# webkit.org/b/107422: test_ewk2_auth_request
gyuyoung.kim@samsung.com941468a2014-05-16 05:21:24 +0000530# webkit.org/b/132980: test_ewk2_context_menu
thiago.santos@intel.com39a2f6f2013-01-21 08:18:18 +0000531
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000532if (ENABLE_API_TESTS)
533 foreach (testName ${EWK2UnitTests_BINARIES})
534 add_executable(${testName} ${WEBKIT2_EFL_TEST_DIR}/${testName}.cpp)
gyuyoung.kim@samsung.comcdebde22014-01-09 00:35:34 +0000535 add_test(${testName} ${WEBKIT2_EFL_TEST_RUNTIME_OUTPUT_DIRECTORY}/${testName})
thiago.santos@intel.comb1c5dde2012-12-17 10:49:19 +0000536 set_tests_properties(${testName} PROPERTIES TIMEOUT 60)
gyuyoung.kim@samsung.comcdebde22014-01-09 00:35:34 +0000537 set_target_properties(${testName} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${WEBKIT2_EFL_TEST_RUNTIME_OUTPUT_DIRECTORY})
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000538 target_link_libraries(${testName} ${EWK2UnitTests_LIBRARIES} ewk2UnitTestUtils)
539 endforeach ()
commit-queue@webkit.org56737f82012-09-20 14:39:23 +0000540
ryuan.choi@gmail.comb3860762014-10-12 07:15:25 +0000541 add_library(ewk2UnitTestExtensionSample SHARED ${TEST_EXTENSIONS_DIR}/extension_sample.cpp)
ryuan.choi@navercorp.comfed7bc42015-02-24 11:02:14 +0000542 target_link_libraries(ewk2UnitTestExtensionSample ${EINA_LIBRARIES} WebKit2)
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000543endif ()
commit-queue@webkit.org22975d02012-10-17 10:30:52 +0000544
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000545if (ENABLE_SPELLCHECK)
546 list(APPEND WebKit2_INCLUDE_DIRECTORIES
commit-queue@webkit.org22975d02012-10-17 10:30:52 +0000547 ${ENCHANT_INCLUDE_DIRS}
548 )
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000549 list(APPEND WebKit2_LIBRARIES
commit-queue@webkit.org22975d02012-10-17 10:30:52 +0000550 ${ENCHANT_LIBRARIES}
551 )
commit-queue@webkit.orgd6fb2c52012-12-06 03:10:13 +0000552endif ()
commit-queue@webkit.org358e4262013-01-24 10:11:51 +0000553
554if (ENABLE_ACCESSIBILITY)
555 list(APPEND WebKit2_INCLUDE_DIRECTORIES
556 "${WEBKIT2_DIR}/WebProcess/WebPage/atk"
557 ${ATK_INCLUDE_DIRS}
558 )
559 list(APPEND WebKit2_LIBRARIES
560 ${ATK_LIBRARIES}
561 )
562endif ()
ljaehun.lim@samsung.com41d410f2014-12-01 07:36:45 +0000563
564if (ENABLE_BATTERY_STATUS)
565 list(APPEND WebKit2_LIBRARIES
566 ${ELDBUS_LIBRARIES}
567 )
568endif ()