blob: 0285d739b9cc8a98b60a8ddfac6337305915f95e [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.org061991b2012-10-24 12:02:28 +000044 UIProcess/API/efl/EwkViewImpl.cpp
commit-queue@webkit.orge6393442012-08-07 10:46:14 +000045 UIProcess/API/efl/ewk_back_forward_list.cpp
46 UIProcess/API/efl/ewk_back_forward_list_item.cpp
ryuan.choi@samsung.com5c8bdc112012-06-10 14:21:31 +000047 UIProcess/API/efl/ewk_context.cpp
commit-queue@webkit.orgc5e2faa2012-07-18 14:41:22 +000048 UIProcess/API/efl/ewk_cookie_manager.cpp
commit-queue@webkit.org6c00bc92012-07-27 17:24:49 +000049 UIProcess/API/efl/ewk_download_job.cpp
commit-queue@webkit.orga69d6542012-10-05 11:33:03 +000050 UIProcess/API/efl/ewk_error.cpp
commit-queue@webkit.org58b89dc2012-10-15 19:44:09 +000051 UIProcess/API/efl/ewk_favicon_database.cpp
commit-queue@webkit.orga1356652012-07-26 13:28:25 +000052 UIProcess/API/efl/ewk_form_submission_request.cpp
commit-queue@webkit.org1a4a9e42012-07-02 02:12:41 +000053 UIProcess/API/efl/ewk_intent.cpp
commit-queue@webkit.orgf6288ca2012-07-03 06:27:10 +000054 UIProcess/API/efl/ewk_intent_service.cpp
commit-queue@webkit.org6f7fca62012-07-25 08:30:00 +000055 UIProcess/API/efl/ewk_main.cpp
commit-queue@webkit.org5cea2182012-10-10 08:14:40 +000056 UIProcess/API/efl/ewk_navigation_data.cpp
commit-queue@webkit.orgc4c64362012-07-12 08:35:36 +000057 UIProcess/API/efl/ewk_navigation_policy_decision.cpp
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +000058 UIProcess/API/efl/ewk_popup_menu_item.cpp
commit-queue@webkit.orgf74518c2012-10-05 07:46:58 +000059 UIProcess/API/efl/ewk_resource.cpp
commit-queue@webkit.org4cdf2d72012-09-03 14:48:45 +000060 UIProcess/API/efl/ewk_settings.cpp
commit-queue@webkit.org22975d02012-10-17 10:30:52 +000061 UIProcess/API/efl/ewk_text_checker.cpp
commit-queue@webkit.org96a167d2012-07-05 07:59:25 +000062 UIProcess/API/efl/ewk_url_request.cpp
commit-queue@webkit.org8d230602012-07-12 03:22:03 +000063 UIProcess/API/efl/ewk_url_response.cpp
commit-queue@webkit.orgc63fcf82012-07-23 15:49:04 +000064 UIProcess/API/efl/ewk_url_scheme_request.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000065 UIProcess/API/efl/ewk_view.cpp
66
67 UIProcess/cairo/BackingStoreCairo.cpp
68
commit-queue@webkit.org49a251c2012-10-25 17:56:26 +000069 UIProcess/efl/BatteryProvider.cpp
commit-queue@webkit.org7b933e42012-10-24 07:54:27 +000070 UIProcess/efl/ContextHistoryClientEfl.cpp
commit-queue@webkit.org1f5d4172012-10-23 10:53:37 +000071 UIProcess/efl/DownloadManagerEfl.cpp
commit-queue@webkit.orgfea6a232012-10-24 11:02:12 +000072 UIProcess/efl/FindClientEfl.cpp
73 UIProcess/efl/FormClientEfl.cpp
commit-queue@webkit.org49a251c2012-10-25 17:56:26 +000074 UIProcess/efl/NetworkInfoProvider.cpp
75 UIProcess/efl/PageClientImpl.cpp
commit-queue@webkit.orga05d1642012-10-23 08:11:54 +000076 UIProcess/efl/PageLoadClientEfl.cpp
commit-queue@webkit.orgc8335822012-10-23 12:31:45 +000077 UIProcess/efl/PagePolicyClientEfl.cpp
commit-queue@webkit.orgb80fbbd2012-10-23 11:41:41 +000078 UIProcess/efl/PageUIClientEfl.cpp
commit-queue@webkit.org49a251c2012-10-25 17:56:26 +000079 UIProcess/efl/PageViewportControllerClientEfl.cpp
commit-queue@webkit.org3e565bb2012-10-23 13:52:13 +000080 UIProcess/efl/RequestManagerClientEfl.cpp
commit-queue@webkit.orgb7da1832012-10-22 19:53:08 +000081 UIProcess/efl/ResourceLoadClientEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000082 UIProcess/efl/TextCheckerEfl.cpp
commit-queue@webkit.org49a251c2012-10-25 17:56:26 +000083 UIProcess/efl/VibrationProvider.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000084 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
commit-queue@webkit.org49a251c2012-10-25 17:56:26 +000087 UIProcess/efl/WebKitTextChecker.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000088 UIProcess/efl/WebPageProxyEfl.cpp
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +000089 UIProcess/efl/WebPopupMenuProxyEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000090 UIProcess/efl/WebPreferencesEfl.cpp
weinig@apple.comc14ecd32012-09-25 04:09:02 +000091 UIProcess/efl/WebProcessProxyEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000092
carlosgc@webkit.orgc74f54f2012-07-12 08:12:52 +000093 UIProcess/soup/WebCookieManagerProxySoup.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +000094 UIProcess/soup/WebSoupRequestManagerClient.cpp
95 UIProcess/soup/WebSoupRequestManagerProxy.cpp
96
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000097 UIProcess/Launcher/efl/ProcessLauncherEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000098
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +000099 UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +0000100 UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000101
kubo@profusion.mobic3a2eeb52012-02-13 13:30:42 +0000102 WebProcess/Cookies/soup/WebCookieManagerSoup.cpp
carlosgc@webkit.orgc74f54f2012-07-12 08:12:52 +0000103 WebProcess/Cookies/soup/WebKitSoupCookieJarSqlite.cpp
kubo@profusion.mobic3a2eeb52012-02-13 13:30:42 +0000104
commit-queue@webkit.org91512892012-07-18 21:31:34 +0000105 WebProcess/Downloads/efl/DownloadSoupErrorsEfl.cpp
106 WebProcess/Downloads/soup/DownloadSoup.cpp
commit-queue@webkit.org22d97d72012-01-05 08:51:02 +0000107
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000108 WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp
109
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +0000110 WebProcess/Plugins/Netscape/unix/PluginProxyUnix.cpp
111
112 WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
113
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000114 WebProcess/WebCoreSupport/efl/WebContextMenuClientEfl.cpp
115 WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp
116 WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp
117 WebProcess/WebCoreSupport/efl/WebPopupMenuEfl.cpp
118
commit-queue@webkit.orge2aa22e2012-09-05 13:06:01 +0000119 WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp
120
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000121 WebProcess/WebPage/efl/WebInspectorEfl.cpp
122 WebProcess/WebPage/efl/WebPageEfl.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000123
commit-queue@webkit.org565b2972012-09-05 23:04:38 +0000124 WebProcess/efl/WebProcessMainEfl.cpp
125
126 WebProcess/soup/WebProcessSoup.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000127 WebProcess/soup/WebSoupRequestManager.cpp
128 WebProcess/soup/WebKitSoupRequestGeneric.cpp
129 WebProcess/soup/WebKitSoupRequestInputStream.cpp
130)
131
132LIST(APPEND WebKit2_MESSAGES_IN_FILES
133 UIProcess/soup/WebSoupRequestManagerProxy.messages.in
134 WebProcess/soup/WebSoupRequestManager.messages.in
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000135)
136
137LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000138 "${JAVASCRIPTCORE_DIR}/llint"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000139 "${WEBCORE_DIR}/platform/efl"
140 "${WEBCORE_DIR}/platform/graphics/cairo"
kubo@profusion.mobic3a2eeb52012-02-13 13:30:42 +0000141 "${WEBCORE_DIR}/platform/network/soup"
commit-queue@webkit.org22975d02012-10-17 10:30:52 +0000142 "${WEBCORE_DIR}/platform/text/enchant"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000143 "${WEBCORE_DIR}/svg/graphics"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000144 "${WEBKIT2_DIR}/Shared/efl"
carlosgc@webkit.orgc74f54f2012-07-12 08:12:52 +0000145 "${WEBKIT2_DIR}/Shared/soup"
ryuan.choi@samsung.com71b54342012-06-21 15:11:48 +0000146 "${WEBKIT2_DIR}/UIProcess/API/C/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000147 "${WEBKIT2_DIR}/UIProcess/API/C/soup"
commit-queue@webkit.org5ab53c02012-08-08 14:40:54 +0000148 "${WEBKIT2_DIR}/UIProcess/API/cpp/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000149 "${WEBKIT2_DIR}/UIProcess/API/efl"
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +0000150 "${WEBKIT2_DIR}/UIProcess/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000151 "${WEBKIT2_DIR}/UIProcess/soup"
commit-queue@webkit.org91512892012-07-18 21:31:34 +0000152 "${WEBKIT2_DIR}/WebProcess/Downloads/soup"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000153 "${WEBKIT2_DIR}/WebProcess/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000154 "${WEBKIT2_DIR}/WebProcess/soup"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000155 "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/efl"
commit-queue@webkit.orge2aa22e2012-09-05 13:06:01 +0000156 "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/soup"
commit-queue@webkit.org645d2752012-10-17 22:04:47 +0000157 "${WTF_DIR}/wtf/efl/"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000158 "${WTF_DIR}/wtf/gobject"
rakuco@webkit.orgfb7fec12012-05-04 00:39:57 +0000159 ${CAIRO_INCLUDE_DIRS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000160 ${ECORE_INCLUDE_DIRS}
161 ${ECORE_EVAS_INCLUDE_DIRS}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000162 ${EDJE_INCLUDE_DIRS}
commit-queue@webkit.org9cb75d82012-07-26 12:01:37 +0000163 ${EFREET_INCLUDE_DIRS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000164 ${EINA_INCLUDE_DIRS}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000165 ${EVAS_INCLUDE_DIRS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000166 ${HARFBUZZ_INCLUDE_DIRS}
commit-queue@webkit.org565b2972012-09-05 23:04:38 +0000167 ${LIBSOUP_INCLUDE_DIRS}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000168 ${LIBXML2_INCLUDE_DIR}
169 ${LIBXSLT_INCLUDE_DIRS}
170 ${SQLITE_INCLUDE_DIRS}
rakuco@webkit.org56218832012-08-13 20:38:06 +0000171 ${GLIB_INCLUDE_DIRS}
rakuco@webkit.org48d9a032012-08-13 23:30:23 +0000172 ${LIBSOUP_INCLUDE_DIRS}
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000173 ${WTF_DIR}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000174)
175
commit-queue@webkit.org143a83c2012-09-11 07:48:57 +0000176IF (WTF_USE_3D_GRAPHICS)
177 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
178 "${THIRDPARTY_DIR}/ANGLE/include/GLSLANG"
179 )
180ENDIF ()
181
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000182LIST(APPEND WebKit2_LIBRARIES
rakuco@webkit.orgfb7fec12012-05-04 00:39:57 +0000183 ${CAIRO_LIBRARIES}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000184 ${ECORE_LIBRARIES}
185 ${ECORE_EVAS_LIBRARIES}
186 ${EDJE_LIBRARIES}
commit-queue@webkit.org9cb75d82012-07-26 12:01:37 +0000187 ${EFREET_LIBRARIES}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000188 ${EINA_LIBRARIES}
189 ${EVAS_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000190 ${Freetype_LIBRARIES}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000191 ${HARFBUZZ_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000192 ${LIBXML2_LIBRARIES}
commit-queue@webkit.orgadb694d2012-08-08 05:38:28 +0000193 ${OPENGL_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000194 ${SQLITE_LIBRARIES}
195 ${FONTCONFIG_LIBRARIES}
196 ${PNG_LIBRARY}
197 ${JPEG_LIBRARY}
198 ${CMAKE_DL_LIBS}
rakuco@webkit.org56218832012-08-13 20:38:06 +0000199 ${GLIB_LIBRARIES}
rakuco@webkit.org6624e352012-08-13 23:41:07 +0000200 ${GLIB_GIO_LIBRARIES}
201 ${GLIB_GOBJECT_LIBRARIES}
rakuco@webkit.org48d9a032012-08-13 23:30:23 +0000202 ${LIBSOUP_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000203)
204
205LIST (APPEND WebProcess_SOURCES
206 efl/MainEfl.cpp
207)
208
209LIST (APPEND WebProcess_LIBRARIES
rakuco@webkit.orgfb7fec12012-05-04 00:39:57 +0000210 ${CAIRO_LIBRARIES}
ryuan.choi@samsung.com84707782012-10-23 12:34:51 +0000211 ${ECORE_IMF_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000212 ${EDJE_LIBRARIES}
213 ${EFLDEPS_LIBRARIES}
214 ${EVAS_LIBRARIES}
215 ${LIBXML2_LIBRARIES}
216 ${LIBXSLT_LIBRARIES}
commit-queue@webkit.orgadb694d2012-08-08 05:38:28 +0000217 ${OPENGL_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000218 ${SQLITE_LIBRARIES}
219)
220
commit-queue@webkit.org0d525682012-10-24 14:33:47 +0000221IF (ENABLE_ECORE_X)
222 LIST(APPEND WebProcess_LIBRARIES
223 ${ECORE_X_LIBRARIES}
224 ${X11_Xext_LIB})
225ENDIF ()
226
paroga@webkit.org3b00bfc2012-07-30 18:49:49 +0000227ADD_CUSTOM_TARGET(forwarding-headerEfl
228 COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include efl
229)
230SET(ForwardingHeaders_NAME forwarding-headerEfl)
231
232ADD_CUSTOM_TARGET(forwarding-headerSoup
233 COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include soup
234)
235SET(ForwardingNetworkHeaders_NAME forwarding-headerSoup)
236
commit-queue@webkit.orgbff9a102012-06-21 15:46:40 +0000237CONFIGURE_FILE(efl/ewebkit2.pc.in ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2.pc @ONLY)
238SET (EWebKit2_HEADERS
239 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/EWebKit2.h"
commit-queue@webkit.orge6393442012-08-07 10:46:14 +0000240 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_back_forward_list.h"
241 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_back_forward_list_item.h"
commit-queue@webkit.orgbff9a102012-06-21 15:46:40 +0000242 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_context.h"
commit-queue@webkit.orgc5e2faa2012-07-18 14:41:22 +0000243 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_cookie_manager.h"
commit-queue@webkit.org6c00bc92012-07-27 17:24:49 +0000244 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_download_job.h"
commit-queue@webkit.orga69d6542012-10-05 11:33:03 +0000245 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_error.h"
commit-queue@webkit.org58b89dc2012-10-15 19:44:09 +0000246 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_favicon_database.h"
commit-queue@webkit.orga1356652012-07-26 13:28:25 +0000247 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_form_submission_request.h"
commit-queue@webkit.org975681a2012-07-13 17:09:03 +0000248 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_intent.h"
249 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_intent_service.h"
gyuyoung.kim@samsung.com324ab952012-09-28 10:49:05 +0000250 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_main.h"
commit-queue@webkit.org5cea2182012-10-10 08:14:40 +0000251 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_navigation_data.h"
commit-queue@webkit.org975681a2012-07-13 17:09:03 +0000252 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_navigation_policy_decision.h"
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +0000253 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_popup_menu_item.h"
commit-queue@webkit.orgf74518c2012-10-05 07:46:58 +0000254 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_resource.h"
commit-queue@webkit.org4cdf2d72012-09-03 14:48:45 +0000255 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_settings.h"
commit-queue@webkit.org22975d02012-10-17 10:30:52 +0000256 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_text_checker.h"
commit-queue@webkit.orgea161622012-09-21 06:23:33 +0000257 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_touch.h"
commit-queue@webkit.org975681a2012-07-13 17:09:03 +0000258 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_request.h"
259 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_response.h"
commit-queue@webkit.orgc63fcf82012-07-23 15:49:04 +0000260 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_scheme_request.h"
commit-queue@webkit.orgbff9a102012-06-21 15:46:40 +0000261 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_view.h"
262)
263
264INSTALL(FILES ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2.pc DESTINATION lib/pkgconfig)
265INSTALL(FILES ${EWebKit2_HEADERS} DESTINATION include/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR})
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000266
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +0000267IF (ENABLE_PLUGIN_PROCESS)
268 ADD_DEFINITIONS(-DENABLE_PLUGIN_PROCESS=1)
269
270 SET (PluginProcess_EXECUTABLE_NAME PluginProcess)
271 LIST (APPEND PluginProcess_INCLUDE_DIRECTORIES
272 "${WEBKIT2_DIR}/PluginProcess/unix"
273 )
274
275 INCLUDE_DIRECTORIES(${PluginProcess_INCLUDE_DIRECTORIES})
276
277 LIST (APPEND PluginProcess_SOURCES
278 ${WEBKIT2_DIR}/unix/PluginMainUnix.cpp
279 )
280
281 SET(PluginProcess_LIBRARIES
282 ${WebKit2_LIBRARY_NAME}
283 )
284
285 ADD_EXECUTABLE(${PluginProcess_EXECUTABLE_NAME} ${PluginProcess_SOURCES})
286 TARGET_LINK_LIBRARIES(${PluginProcess_EXECUTABLE_NAME} ${PluginProcess_LIBRARIES})
287 INSTALL(TARGETS ${PluginProcess_EXECUTABLE_NAME} DESTINATION "${EXEC_INSTALL_DIR}")
288ENDIF () # ENABLE_PLUGIN_PROCESS
289
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000290INCLUDE_DIRECTORIES(${THIRDPARTY_DIR}/gtest/include)
291
292SET(EWK2UnitTests_LIBRARIES
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000293 ${WTF_LIBRARY_NAME}
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000294 ${JavaScriptCore_LIBRARY_NAME}
295 ${WebCore_LIBRARY_NAME}
296 ${WebKit2_LIBRARY_NAME}
commit-queue@webkit.orgbaeaccc2012-07-23 20:26:00 +0000297 ${CAIRO_LIBRARIES}
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000298 ${ECORE_LIBRARIES}
299 ${ECORE_EVAS_LIBRARIES}
300 ${EVAS_LIBRARIES}
rakuco@webkit.org26876672012-08-13 23:49:06 +0000301 ${GLIB_LIBRARIES}
302 ${GLIB_GIO_LIBRARIES}
303 ${GLIB_GOBJECT_LIBRARIES}
rakuco@webkit.org48d9a032012-08-13 23:30:23 +0000304 ${LIBSOUP_LIBRARIES}
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000305 gtest
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000306)
307
308IF (ENABLE_GLIB_SUPPORT)
309 LIST(APPEND EWK2UnitTests_LIBRARIES
rakuco@webkit.org56218832012-08-13 20:38:06 +0000310 ${GLIB_LIBRARIES}
311 ${GLIB_GTHREAD_LIBRARIES}
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000312 )
313ENDIF()
314
315SET(WEBKIT2_EFL_TEST_DIR "${WEBKIT2_DIR}/UIProcess/API/efl/tests")
316SET(TEST_RESOURCES_DIR ${WEBKIT2_EFL_TEST_DIR}/resources)
commit-queue@webkit.org56737f82012-09-20 14:39:23 +0000317SET(TEST_INJECTED_BUNDLE_DIR ${WEBKIT2_EFL_TEST_DIR}/InjectedBundle)
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000318
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000319ADD_DEFINITIONS(-DTEST_RESOURCES_DIR=\"${TEST_RESOURCES_DIR}\"
commit-queue@webkit.org905d5ba2012-09-24 12:31:54 +0000320 -DTEST_LIB_DIR=\"${CMAKE_LIBRARY_OUTPUT_DIRECTORY}\"
commit-queue@webkit.org006936432012-07-18 19:31:24 +0000321 -DTEST_THEME_DIR=\"${THEME_BINARY_DIR}\"
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000322 -DGTEST_LINKED_AS_SHARED_LIBRARY=1
commit-queue@webkit.org14224932012-07-23 11:37:26 +0000323 -DLIBEXECDIR=\"${CMAKE_INSTALL_PREFIX}/${EXEC_INSTALL_DIR}\"
324 -DWEBPROCESSNAME=\"${WebProcess_EXECUTABLE_NAME}\"
325 -DPLUGINPROCESSNAME=\"${PluginProcess_EXECUTABLE_NAME}\"
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000326)
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000327
328ADD_LIBRARY(ewk2UnitTestUtils
329 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestBase.cpp
330 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestEnvironment.cpp
331 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestMain.cpp
commit-queue@webkit.orgbaeaccc2012-07-23 20:26:00 +0000332 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestServer.cpp
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000333)
334
335TARGET_LINK_LIBRARIES(ewk2UnitTestUtils ${EWK2UnitTests_LIBRARIES})
336
337# The "ewk" on the test name needs to be suffixed with "2", otherwise it
338# will clash with tests from the WebKit 1 test suite.
339SET(EWK2UnitTests_BINARIES
commit-queue@webkit.org68a200e2012-08-17 15:37:18 +0000340 test_ewk2_back_forward_list
commit-queue@webkit.org3ca0d432012-07-26 16:04:20 +0000341 test_ewk2_context
commit-queue@webkit.org5cea2182012-10-10 08:14:40 +0000342 test_ewk2_context_history_callbacks
commit-queue@webkit.orgbaeaccc2012-07-23 20:26:00 +0000343 test_ewk2_cookie_manager
commit-queue@webkit.org6c00bc92012-07-27 17:24:49 +0000344 test_ewk2_download_job
commit-queue@webkit.org0df599b2012-08-20 11:52:26 +0000345 test_ewk2_eina_shared_string
commit-queue@webkit.org58b89dc2012-10-15 19:44:09 +0000346 test_ewk2_favicon_database
kenneth@webkit.org3fd587b2012-09-14 14:30:58 +0000347 test_ewk2_refptr_evas_object
commit-queue@webkit.org6cd25652012-08-16 09:12:57 +0000348 test_ewk2_intents
commit-queue@webkit.org4cdf2d72012-09-03 14:48:45 +0000349 test_ewk2_settings
g.czajkowski@samsung.com51c1e252012-10-17 12:06:44 +0000350 test_ewk2_text_checker
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000351 test_ewk2_view
352)
353
commit-queue@webkit.org5b8a8ed2012-07-13 17:25:14 +0000354IF (ENABLE_API_TESTS)
355 FOREACH (testName ${EWK2UnitTests_BINARIES})
356 ADD_EXECUTABLE(${testName} ${WEBKIT2_EFL_TEST_DIR}/${testName}.cpp)
357 ADD_TEST(${testName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${testName})
358 SET_TESTS_PROPERTIES(${testName} PROPERTIES TIMEOUT 60)
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000359 TARGET_LINK_LIBRARIES(${testName} ${EWK2UnitTests_LIBRARIES} ewk2UnitTestUtils)
commit-queue@webkit.org5b8a8ed2012-07-13 17:25:14 +0000360 ENDFOREACH ()
commit-queue@webkit.org56737f82012-09-20 14:39:23 +0000361
362 ADD_LIBRARY(ewk2UnitTestInjectedBundleSample SHARED ${TEST_INJECTED_BUNDLE_DIR}/injected_bundle_sample.cpp)
commit-queue@webkit.org7c785742012-09-29 12:51:30 +0000363 TARGET_LINK_LIBRARIES(ewk2UnitTestInjectedBundleSample ${WebKit2_LIBRARY_NAME})
commit-queue@webkit.org5b8a8ed2012-07-13 17:25:14 +0000364ENDIF ()
commit-queue@webkit.org22975d02012-10-17 10:30:52 +0000365
366IF (ENABLE_SPELLCHECK)
367 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
368 ${ENCHANT_INCLUDE_DIRS}
369 )
370 LIST(APPEND WebKit2_LIBRARIES
371 ${ENCHANT_LIBRARIES}
372 )
373ENDIF()