blob: 39f83937ad2ca2061c5e83e1bfa3e86980cce8a6 [file] [log] [blame]
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +00001LIST(APPEND WebKit2_SOURCES
commit-queue@webkit.org1a9b8cd2012-09-14 01:15:39 +00002 Platform/efl/LoggingEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +00003 Platform/efl/ModuleEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +00004 Platform/efl/WorkQueueEfl.cpp
5 Platform/unix/SharedMemoryUnix.cpp
6
7 Platform/CoreIPC/unix/ConnectionUnix.cpp
8 Platform/CoreIPC/unix/AttachmentUnix.cpp
9
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +000010 PluginProcess/unix/PluginControllerProxyUnix.cpp
11 PluginProcess/unix/PluginProcessMainUnix.cpp
12 PluginProcess/unix/PluginProcessUnix.cpp
13
ryuan.choi@samsung.com8d2c4892012-07-05 08:47:49 +000014 Shared/API/c/cairo/WKImageCairo.cpp
15
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000016 Shared/API/c/gtk/WKGraphicsContextGtk.cpp
17
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000018 Shared/cairo/ShareableBitmapCairo.cpp
19
commit-queue@webkit.org8927db82012-07-27 13:45:16 +000020 Shared/efl/LayerTreeContextEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000021 Shared/efl/NativeWebKeyboardEventEfl.cpp
22 Shared/efl/NativeWebWheelEventEfl.cpp
23 Shared/efl/NativeWebMouseEventEfl.cpp
commit-queue@webkit.org6df81ec2012-09-18 06:45:09 +000024 Shared/efl/NativeWebTouchEventEfl.cpp
commit-queue@webkit.org14224932012-07-23 11:37:26 +000025 Shared/efl/ProcessExecutablePathEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000026 Shared/efl/WebEventFactory.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000027
commit-queue@webkit.org9f7e2312012-08-30 21:56:45 +000028 Shared/linux/WebMemorySamplerLinux.cpp
29
carlosgc@webkit.orge6ce9da2012-07-13 07:26:17 +000030 Shared/soup/PlatformCertificateInfo.cpp
commit-queue@webkit.orgba250672012-07-24 09:13:23 +000031 Shared/soup/WebCoreArgumentCodersSoup.cpp
carlosgc@webkit.orge6ce9da2012-07-13 07:26:17 +000032
commit-queue@webkit.orgdd56fa52012-09-13 10:11:01 +000033 UIProcess/DefaultUndoController.cpp
34
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +000035 Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp
36
ryuan.choi@samsung.com71b54342012-06-21 15:11:48 +000037 UIProcess/API/C/efl/WKView.cpp
commit-queue@webkit.org5ab53c02012-08-08 14:40:54 +000038
39 UIProcess/API/cpp/efl/WKEinaSharedString.cpp
ryuan.choi@samsung.com71b54342012-06-21 15:11:48 +000040
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +000041 UIProcess/API/C/soup/WKContextSoup.cpp
42 UIProcess/API/C/soup/WKSoupRequestManager.cpp
43
commit-queue@webkit.org773f66d2012-07-11 06:10:43 +000044 UIProcess/API/efl/BatteryProvider.cpp
rakuco@webkit.orgc4a8d7d2012-10-19 13:58:03 +000045 UIProcess/API/efl/PageViewportControllerClientEfl.cpp
commit-queue@webkit.org2aa98e72012-07-26 17:47:18 +000046 UIProcess/API/efl/NetworkInfoProvider.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000047 UIProcess/API/efl/PageClientImpl.cpp
commit-queue@webkit.org61b6b772012-07-24 15:40:05 +000048 UIProcess/API/efl/VibrationProvider.cpp
commit-queue@webkit.org22975d02012-10-17 10:30:52 +000049 UIProcess/API/efl/WebKitTextChecker.cpp
commit-queue@webkit.orge6393442012-08-07 10:46:14 +000050 UIProcess/API/efl/ewk_back_forward_list.cpp
51 UIProcess/API/efl/ewk_back_forward_list_item.cpp
ryuan.choi@samsung.com5c8bdc112012-06-10 14:21:31 +000052 UIProcess/API/efl/ewk_context.cpp
commit-queue@webkit.org5cea2182012-10-10 08:14:40 +000053 UIProcess/API/efl/ewk_context_history_client.cpp
commit-queue@webkit.orgc63fcf82012-07-23 15:49:04 +000054 UIProcess/API/efl/ewk_context_request_manager_client.cpp
commit-queue@webkit.orgc5e2faa2012-07-18 14:41:22 +000055 UIProcess/API/efl/ewk_cookie_manager.cpp
commit-queue@webkit.org6c00bc92012-07-27 17:24:49 +000056 UIProcess/API/efl/ewk_download_job.cpp
commit-queue@webkit.orga69d6542012-10-05 11:33:03 +000057 UIProcess/API/efl/ewk_error.cpp
commit-queue@webkit.org58b89dc2012-10-15 19:44:09 +000058 UIProcess/API/efl/ewk_favicon_database.cpp
commit-queue@webkit.orga1356652012-07-26 13:28:25 +000059 UIProcess/API/efl/ewk_form_submission_request.cpp
commit-queue@webkit.org1a4a9e42012-07-02 02:12:41 +000060 UIProcess/API/efl/ewk_intent.cpp
commit-queue@webkit.orgf6288ca2012-07-03 06:27:10 +000061 UIProcess/API/efl/ewk_intent_service.cpp
commit-queue@webkit.org6f7fca62012-07-25 08:30:00 +000062 UIProcess/API/efl/ewk_main.cpp
commit-queue@webkit.org5cea2182012-10-10 08:14:40 +000063 UIProcess/API/efl/ewk_navigation_data.cpp
commit-queue@webkit.orgc4c64362012-07-12 08:35:36 +000064 UIProcess/API/efl/ewk_navigation_policy_decision.cpp
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +000065 UIProcess/API/efl/ewk_popup_menu_item.cpp
commit-queue@webkit.orgf74518c2012-10-05 07:46:58 +000066 UIProcess/API/efl/ewk_resource.cpp
commit-queue@webkit.org4cdf2d72012-09-03 14:48:45 +000067 UIProcess/API/efl/ewk_settings.cpp
commit-queue@webkit.org22975d02012-10-17 10:30:52 +000068 UIProcess/API/efl/ewk_text_checker.cpp
commit-queue@webkit.org96a167d2012-07-05 07:59:25 +000069 UIProcess/API/efl/ewk_url_request.cpp
commit-queue@webkit.org8d230602012-07-12 03:22:03 +000070 UIProcess/API/efl/ewk_url_response.cpp
commit-queue@webkit.orgc63fcf82012-07-23 15:49:04 +000071 UIProcess/API/efl/ewk_url_scheme_request.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000072 UIProcess/API/efl/ewk_view.cpp
commit-queue@webkit.org8189e4a2012-08-07 08:15:43 +000073 UIProcess/API/efl/ewk_view_find_client.cpp
commit-queue@webkit.orga1356652012-07-26 13:28:25 +000074 UIProcess/API/efl/ewk_view_form_client.cpp
commit-queue@webkit.orgc4c64362012-07-12 08:35:36 +000075 UIProcess/API/efl/ewk_view_policy_client.cpp
commit-queue@webkit.orgf9744e32012-08-02 16:03:46 +000076 UIProcess/API/efl/ewk_view_ui_client.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000077
78 UIProcess/cairo/BackingStoreCairo.cpp
79
commit-queue@webkit.org1f5d4172012-10-23 10:53:37 +000080 UIProcess/efl/DownloadManagerEfl.cpp
commit-queue@webkit.orga05d1642012-10-23 08:11:54 +000081 UIProcess/efl/PageLoadClientEfl.cpp
commit-queue@webkit.orgb7da1832012-10-22 19:53:08 +000082 UIProcess/efl/ResourceLoadClientEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000083 UIProcess/efl/TextCheckerEfl.cpp
84 UIProcess/efl/WebContextEfl.cpp
commit-queue@webkit.orgc57a1792012-04-17 18:01:42 +000085 UIProcess/efl/WebFullScreenManagerProxyEfl.cpp
commit-queue@webkit.orgf7fd87c2012-07-18 12:59:21 +000086 UIProcess/efl/WebInspectorProxyEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000087 UIProcess/efl/WebPageProxyEfl.cpp
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +000088 UIProcess/efl/WebPopupMenuProxyEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000089 UIProcess/efl/WebPreferencesEfl.cpp
weinig@apple.comc14ecd32012-09-25 04:09:02 +000090 UIProcess/efl/WebProcessProxyEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000091
carlosgc@webkit.orgc74f54f2012-07-12 08:12:52 +000092 UIProcess/soup/WebCookieManagerProxySoup.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +000093 UIProcess/soup/WebSoupRequestManagerClient.cpp
94 UIProcess/soup/WebSoupRequestManagerProxy.cpp
95
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000096 UIProcess/Launcher/efl/ProcessLauncherEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000097
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +000098 UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +000099 UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000100
kubo@profusion.mobic3a2eeb52012-02-13 13:30:42 +0000101 WebProcess/Cookies/soup/WebCookieManagerSoup.cpp
carlosgc@webkit.orgc74f54f2012-07-12 08:12:52 +0000102 WebProcess/Cookies/soup/WebKitSoupCookieJarSqlite.cpp
kubo@profusion.mobic3a2eeb52012-02-13 13:30:42 +0000103
commit-queue@webkit.org91512892012-07-18 21:31:34 +0000104 WebProcess/Downloads/efl/DownloadSoupErrorsEfl.cpp
105 WebProcess/Downloads/soup/DownloadSoup.cpp
commit-queue@webkit.org22d97d72012-01-05 08:51:02 +0000106
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000107 WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp
108
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +0000109 WebProcess/Plugins/Netscape/unix/PluginProxyUnix.cpp
110
111 WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
112
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000113 WebProcess/WebCoreSupport/efl/WebContextMenuClientEfl.cpp
114 WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp
115 WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp
116 WebProcess/WebCoreSupport/efl/WebPopupMenuEfl.cpp
117
commit-queue@webkit.orge2aa22e2012-09-05 13:06:01 +0000118 WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp
119
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000120 WebProcess/WebPage/efl/WebInspectorEfl.cpp
121 WebProcess/WebPage/efl/WebPageEfl.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000122
commit-queue@webkit.org565b2972012-09-05 23:04:38 +0000123 WebProcess/efl/WebProcessMainEfl.cpp
124
125 WebProcess/soup/WebProcessSoup.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000126 WebProcess/soup/WebSoupRequestManager.cpp
127 WebProcess/soup/WebKitSoupRequestGeneric.cpp
128 WebProcess/soup/WebKitSoupRequestInputStream.cpp
129)
130
131LIST(APPEND WebKit2_MESSAGES_IN_FILES
132 UIProcess/soup/WebSoupRequestManagerProxy.messages.in
133 WebProcess/soup/WebSoupRequestManager.messages.in
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000134)
135
136LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000137 "${JAVASCRIPTCORE_DIR}/llint"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000138 "${WEBCORE_DIR}/platform/efl"
139 "${WEBCORE_DIR}/platform/graphics/cairo"
kubo@profusion.mobic3a2eeb52012-02-13 13:30:42 +0000140 "${WEBCORE_DIR}/platform/network/soup"
commit-queue@webkit.org22975d02012-10-17 10:30:52 +0000141 "${WEBCORE_DIR}/platform/text/enchant"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000142 "${WEBCORE_DIR}/svg/graphics"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000143 "${WEBKIT2_DIR}/Shared/efl"
carlosgc@webkit.orgc74f54f2012-07-12 08:12:52 +0000144 "${WEBKIT2_DIR}/Shared/soup"
ryuan.choi@samsung.com71b54342012-06-21 15:11:48 +0000145 "${WEBKIT2_DIR}/UIProcess/API/C/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000146 "${WEBKIT2_DIR}/UIProcess/API/C/soup"
commit-queue@webkit.org5ab53c02012-08-08 14:40:54 +0000147 "${WEBKIT2_DIR}/UIProcess/API/cpp/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000148 "${WEBKIT2_DIR}/UIProcess/API/efl"
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +0000149 "${WEBKIT2_DIR}/UIProcess/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000150 "${WEBKIT2_DIR}/UIProcess/soup"
commit-queue@webkit.org91512892012-07-18 21:31:34 +0000151 "${WEBKIT2_DIR}/WebProcess/Downloads/soup"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000152 "${WEBKIT2_DIR}/WebProcess/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000153 "${WEBKIT2_DIR}/WebProcess/soup"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000154 "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/efl"
commit-queue@webkit.orge2aa22e2012-09-05 13:06:01 +0000155 "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/soup"
commit-queue@webkit.org645d2752012-10-17 22:04:47 +0000156 "${WTF_DIR}/wtf/efl/"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000157 "${WTF_DIR}/wtf/gobject"
rakuco@webkit.orgfb7fec12012-05-04 00:39:57 +0000158 ${CAIRO_INCLUDE_DIRS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000159 ${ECORE_INCLUDE_DIRS}
160 ${ECORE_EVAS_INCLUDE_DIRS}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000161 ${EDJE_INCLUDE_DIRS}
commit-queue@webkit.org9cb75d82012-07-26 12:01:37 +0000162 ${EFREET_INCLUDE_DIRS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000163 ${EINA_INCLUDE_DIRS}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000164 ${EVAS_INCLUDE_DIRS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000165 ${HARFBUZZ_INCLUDE_DIRS}
commit-queue@webkit.org565b2972012-09-05 23:04:38 +0000166 ${LIBSOUP_INCLUDE_DIRS}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000167 ${LIBXML2_INCLUDE_DIR}
168 ${LIBXSLT_INCLUDE_DIRS}
169 ${SQLITE_INCLUDE_DIRS}
rakuco@webkit.org56218832012-08-13 20:38:06 +0000170 ${GLIB_INCLUDE_DIRS}
rakuco@webkit.org48d9a032012-08-13 23:30:23 +0000171 ${LIBSOUP_INCLUDE_DIRS}
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000172 ${WTF_DIR}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000173)
174
commit-queue@webkit.org143a83c2012-09-11 07:48:57 +0000175IF (WTF_USE_3D_GRAPHICS)
176 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
177 "${THIRDPARTY_DIR}/ANGLE/include/GLSLANG"
178 )
179ENDIF ()
180
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000181LIST(APPEND WebKit2_LIBRARIES
rakuco@webkit.orgfb7fec12012-05-04 00:39:57 +0000182 ${CAIRO_LIBRARIES}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000183 ${ECORE_LIBRARIES}
184 ${ECORE_EVAS_LIBRARIES}
185 ${EDJE_LIBRARIES}
commit-queue@webkit.org9cb75d82012-07-26 12:01:37 +0000186 ${EFREET_LIBRARIES}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000187 ${EINA_LIBRARIES}
188 ${EVAS_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000189 ${Freetype_LIBRARIES}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000190 ${HARFBUZZ_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000191 ${LIBXML2_LIBRARIES}
commit-queue@webkit.orgadb694d2012-08-08 05:38:28 +0000192 ${OPENGL_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000193 ${SQLITE_LIBRARIES}
194 ${FONTCONFIG_LIBRARIES}
195 ${PNG_LIBRARY}
196 ${JPEG_LIBRARY}
197 ${CMAKE_DL_LIBS}
rakuco@webkit.org56218832012-08-13 20:38:06 +0000198 ${GLIB_LIBRARIES}
rakuco@webkit.org6624e352012-08-13 23:41:07 +0000199 ${GLIB_GIO_LIBRARIES}
200 ${GLIB_GOBJECT_LIBRARIES}
rakuco@webkit.org48d9a032012-08-13 23:30:23 +0000201 ${LIBSOUP_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000202)
203
204LIST (APPEND WebProcess_SOURCES
205 efl/MainEfl.cpp
206)
207
208LIST (APPEND WebProcess_LIBRARIES
rakuco@webkit.orgfb7fec12012-05-04 00:39:57 +0000209 ${CAIRO_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000210 ${ECORE_X_LIBRARIES}
211 ${EDJE_LIBRARIES}
212 ${EFLDEPS_LIBRARIES}
213 ${EVAS_LIBRARIES}
214 ${LIBXML2_LIBRARIES}
215 ${LIBXSLT_LIBRARIES}
commit-queue@webkit.orgadb694d2012-08-08 05:38:28 +0000216 ${OPENGL_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000217 ${SQLITE_LIBRARIES}
218)
219
paroga@webkit.org3b00bfc2012-07-30 18:49:49 +0000220ADD_CUSTOM_TARGET(forwarding-headerEfl
221 COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include efl
222)
223SET(ForwardingHeaders_NAME forwarding-headerEfl)
224
225ADD_CUSTOM_TARGET(forwarding-headerSoup
226 COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include soup
227)
228SET(ForwardingNetworkHeaders_NAME forwarding-headerSoup)
229
commit-queue@webkit.orgbff9a102012-06-21 15:46:40 +0000230CONFIGURE_FILE(efl/ewebkit2.pc.in ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2.pc @ONLY)
231SET (EWebKit2_HEADERS
232 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/EWebKit2.h"
commit-queue@webkit.orge6393442012-08-07 10:46:14 +0000233 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_back_forward_list.h"
234 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_back_forward_list_item.h"
commit-queue@webkit.orgbff9a102012-06-21 15:46:40 +0000235 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_context.h"
commit-queue@webkit.orgc5e2faa2012-07-18 14:41:22 +0000236 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_cookie_manager.h"
commit-queue@webkit.org6c00bc92012-07-27 17:24:49 +0000237 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_download_job.h"
commit-queue@webkit.orga69d6542012-10-05 11:33:03 +0000238 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_error.h"
commit-queue@webkit.org58b89dc2012-10-15 19:44:09 +0000239 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_favicon_database.h"
commit-queue@webkit.orga1356652012-07-26 13:28:25 +0000240 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_form_submission_request.h"
commit-queue@webkit.org975681a2012-07-13 17:09:03 +0000241 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_intent.h"
242 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_intent_service.h"
gyuyoung.kim@samsung.com324ab952012-09-28 10:49:05 +0000243 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_main.h"
commit-queue@webkit.org5cea2182012-10-10 08:14:40 +0000244 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_navigation_data.h"
commit-queue@webkit.org975681a2012-07-13 17:09:03 +0000245 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_navigation_policy_decision.h"
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +0000246 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_popup_menu_item.h"
commit-queue@webkit.orgf74518c2012-10-05 07:46:58 +0000247 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_resource.h"
commit-queue@webkit.org4cdf2d72012-09-03 14:48:45 +0000248 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_settings.h"
commit-queue@webkit.org22975d02012-10-17 10:30:52 +0000249 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_text_checker.h"
commit-queue@webkit.orgea161622012-09-21 06:23:33 +0000250 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_touch.h"
commit-queue@webkit.org975681a2012-07-13 17:09:03 +0000251 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_request.h"
252 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_response.h"
commit-queue@webkit.orgc63fcf82012-07-23 15:49:04 +0000253 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_scheme_request.h"
commit-queue@webkit.orgbff9a102012-06-21 15:46:40 +0000254 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_view.h"
255)
256
257INSTALL(FILES ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2.pc DESTINATION lib/pkgconfig)
258INSTALL(FILES ${EWebKit2_HEADERS} DESTINATION include/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR})
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000259
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +0000260IF (ENABLE_PLUGIN_PROCESS)
261 ADD_DEFINITIONS(-DENABLE_PLUGIN_PROCESS=1)
262
263 SET (PluginProcess_EXECUTABLE_NAME PluginProcess)
264 LIST (APPEND PluginProcess_INCLUDE_DIRECTORIES
265 "${WEBKIT2_DIR}/PluginProcess/unix"
266 )
267
268 INCLUDE_DIRECTORIES(${PluginProcess_INCLUDE_DIRECTORIES})
269
270 LIST (APPEND PluginProcess_SOURCES
271 ${WEBKIT2_DIR}/unix/PluginMainUnix.cpp
272 )
273
274 SET(PluginProcess_LIBRARIES
275 ${WebKit2_LIBRARY_NAME}
276 )
277
278 ADD_EXECUTABLE(${PluginProcess_EXECUTABLE_NAME} ${PluginProcess_SOURCES})
279 TARGET_LINK_LIBRARIES(${PluginProcess_EXECUTABLE_NAME} ${PluginProcess_LIBRARIES})
280 INSTALL(TARGETS ${PluginProcess_EXECUTABLE_NAME} DESTINATION "${EXEC_INSTALL_DIR}")
281ENDIF () # ENABLE_PLUGIN_PROCESS
282
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000283INCLUDE_DIRECTORIES(${THIRDPARTY_DIR}/gtest/include)
284
285SET(EWK2UnitTests_LIBRARIES
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000286 ${WTF_LIBRARY_NAME}
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000287 ${JavaScriptCore_LIBRARY_NAME}
288 ${WebCore_LIBRARY_NAME}
289 ${WebKit2_LIBRARY_NAME}
commit-queue@webkit.orgbaeaccc2012-07-23 20:26:00 +0000290 ${CAIRO_LIBRARIES}
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000291 ${ECORE_LIBRARIES}
292 ${ECORE_EVAS_LIBRARIES}
293 ${EVAS_LIBRARIES}
rakuco@webkit.org26876672012-08-13 23:49:06 +0000294 ${GLIB_LIBRARIES}
295 ${GLIB_GIO_LIBRARIES}
296 ${GLIB_GOBJECT_LIBRARIES}
rakuco@webkit.org48d9a032012-08-13 23:30:23 +0000297 ${LIBSOUP_LIBRARIES}
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000298 gtest
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000299)
300
301IF (ENABLE_GLIB_SUPPORT)
302 LIST(APPEND EWK2UnitTests_LIBRARIES
rakuco@webkit.org56218832012-08-13 20:38:06 +0000303 ${GLIB_LIBRARIES}
304 ${GLIB_GTHREAD_LIBRARIES}
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000305 )
306ENDIF()
307
308SET(WEBKIT2_EFL_TEST_DIR "${WEBKIT2_DIR}/UIProcess/API/efl/tests")
309SET(TEST_RESOURCES_DIR ${WEBKIT2_EFL_TEST_DIR}/resources)
commit-queue@webkit.org56737f82012-09-20 14:39:23 +0000310SET(TEST_INJECTED_BUNDLE_DIR ${WEBKIT2_EFL_TEST_DIR}/InjectedBundle)
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000311
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000312ADD_DEFINITIONS(-DTEST_RESOURCES_DIR=\"${TEST_RESOURCES_DIR}\"
commit-queue@webkit.org905d5ba2012-09-24 12:31:54 +0000313 -DTEST_LIB_DIR=\"${CMAKE_LIBRARY_OUTPUT_DIRECTORY}\"
commit-queue@webkit.org006936432012-07-18 19:31:24 +0000314 -DTEST_THEME_DIR=\"${THEME_BINARY_DIR}\"
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000315 -DGTEST_LINKED_AS_SHARED_LIBRARY=1
commit-queue@webkit.org14224932012-07-23 11:37:26 +0000316 -DLIBEXECDIR=\"${CMAKE_INSTALL_PREFIX}/${EXEC_INSTALL_DIR}\"
317 -DWEBPROCESSNAME=\"${WebProcess_EXECUTABLE_NAME}\"
318 -DPLUGINPROCESSNAME=\"${PluginProcess_EXECUTABLE_NAME}\"
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000319)
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000320
321ADD_LIBRARY(ewk2UnitTestUtils
322 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestBase.cpp
323 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestEnvironment.cpp
324 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestMain.cpp
commit-queue@webkit.orgbaeaccc2012-07-23 20:26:00 +0000325 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestServer.cpp
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000326)
327
328TARGET_LINK_LIBRARIES(ewk2UnitTestUtils ${EWK2UnitTests_LIBRARIES})
329
330# The "ewk" on the test name needs to be suffixed with "2", otherwise it
331# will clash with tests from the WebKit 1 test suite.
332SET(EWK2UnitTests_BINARIES
commit-queue@webkit.org68a200e2012-08-17 15:37:18 +0000333 test_ewk2_back_forward_list
commit-queue@webkit.org3ca0d432012-07-26 16:04:20 +0000334 test_ewk2_context
commit-queue@webkit.org5cea2182012-10-10 08:14:40 +0000335 test_ewk2_context_history_callbacks
commit-queue@webkit.orgbaeaccc2012-07-23 20:26:00 +0000336 test_ewk2_cookie_manager
commit-queue@webkit.org6c00bc92012-07-27 17:24:49 +0000337 test_ewk2_download_job
commit-queue@webkit.org0df599b2012-08-20 11:52:26 +0000338 test_ewk2_eina_shared_string
commit-queue@webkit.org58b89dc2012-10-15 19:44:09 +0000339 test_ewk2_favicon_database
kenneth@webkit.org3fd587b2012-09-14 14:30:58 +0000340 test_ewk2_refptr_evas_object
commit-queue@webkit.org6cd25652012-08-16 09:12:57 +0000341 test_ewk2_intents
commit-queue@webkit.org4cdf2d72012-09-03 14:48:45 +0000342 test_ewk2_settings
g.czajkowski@samsung.com51c1e252012-10-17 12:06:44 +0000343 test_ewk2_text_checker
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000344 test_ewk2_view
345)
346
commit-queue@webkit.org5b8a8ed2012-07-13 17:25:14 +0000347IF (ENABLE_API_TESTS)
348 FOREACH (testName ${EWK2UnitTests_BINARIES})
349 ADD_EXECUTABLE(${testName} ${WEBKIT2_EFL_TEST_DIR}/${testName}.cpp)
350 ADD_TEST(${testName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${testName})
351 SET_TESTS_PROPERTIES(${testName} PROPERTIES TIMEOUT 60)
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000352 TARGET_LINK_LIBRARIES(${testName} ${EWK2UnitTests_LIBRARIES} ewk2UnitTestUtils)
commit-queue@webkit.org5b8a8ed2012-07-13 17:25:14 +0000353 ENDFOREACH ()
commit-queue@webkit.org56737f82012-09-20 14:39:23 +0000354
355 ADD_LIBRARY(ewk2UnitTestInjectedBundleSample SHARED ${TEST_INJECTED_BUNDLE_DIR}/injected_bundle_sample.cpp)
commit-queue@webkit.org7c785742012-09-29 12:51:30 +0000356 TARGET_LINK_LIBRARIES(ewk2UnitTestInjectedBundleSample ${WebKit2_LIBRARY_NAME})
commit-queue@webkit.org5b8a8ed2012-07-13 17:25:14 +0000357ENDIF ()
commit-queue@webkit.org22975d02012-10-17 10:30:52 +0000358
359IF (ENABLE_SPELLCHECK)
360 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
361 ${ENCHANT_INCLUDE_DIRS}
362 )
363 LIST(APPEND WebKit2_LIBRARIES
364 ${ENCHANT_LIBRARIES}
365 )
366ENDIF()