blob: 3eea943026fa6547b1d799d4856f9849489c1de3 [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
commit-queue@webkit.orgadb694d2012-08-08 05:38:28 +000045 UIProcess/API/efl/EflViewportHandler.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.orge6393442012-08-07 10:46:14 +000049 UIProcess/API/efl/ewk_back_forward_list.cpp
50 UIProcess/API/efl/ewk_back_forward_list_item.cpp
ryuan.choi@samsung.com5c8bdc112012-06-10 14:21:31 +000051 UIProcess/API/efl/ewk_context.cpp
commit-queue@webkit.org6c00bc92012-07-27 17:24:49 +000052 UIProcess/API/efl/ewk_context_download_client.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.org96a167d2012-07-05 07:59:25 +000068 UIProcess/API/efl/ewk_url_request.cpp
commit-queue@webkit.org8d230602012-07-12 03:22:03 +000069 UIProcess/API/efl/ewk_url_response.cpp
commit-queue@webkit.orgc63fcf82012-07-23 15:49:04 +000070 UIProcess/API/efl/ewk_url_scheme_request.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000071 UIProcess/API/efl/ewk_view.cpp
commit-queue@webkit.org8189e4a2012-08-07 08:15:43 +000072 UIProcess/API/efl/ewk_view_find_client.cpp
commit-queue@webkit.orga1356652012-07-26 13:28:25 +000073 UIProcess/API/efl/ewk_view_form_client.cpp
commit-queue@webkit.org25599e42012-06-15 12:16:55 +000074 UIProcess/API/efl/ewk_view_loader_client.cpp
commit-queue@webkit.orgc4c64362012-07-12 08:35:36 +000075 UIProcess/API/efl/ewk_view_policy_client.cpp
commit-queue@webkit.org96a167d2012-07-05 07:59:25 +000076 UIProcess/API/efl/ewk_view_resource_load_client.cpp
commit-queue@webkit.orgf9744e32012-08-02 16:03:46 +000077 UIProcess/API/efl/ewk_view_ui_client.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000078
79 UIProcess/cairo/BackingStoreCairo.cpp
80
81 UIProcess/efl/TextCheckerEfl.cpp
82 UIProcess/efl/WebContextEfl.cpp
commit-queue@webkit.orgc57a1792012-04-17 18:01:42 +000083 UIProcess/efl/WebFullScreenManagerProxyEfl.cpp
commit-queue@webkit.orgf7fd87c2012-07-18 12:59:21 +000084 UIProcess/efl/WebInspectorProxyEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000085 UIProcess/efl/WebPageProxyEfl.cpp
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +000086 UIProcess/efl/WebPopupMenuProxyEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000087 UIProcess/efl/WebPreferencesEfl.cpp
weinig@apple.comc14ecd32012-09-25 04:09:02 +000088 UIProcess/efl/WebProcessProxyEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000089
carlosgc@webkit.orgc74f54f2012-07-12 08:12:52 +000090 UIProcess/soup/WebCookieManagerProxySoup.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +000091 UIProcess/soup/WebSoupRequestManagerClient.cpp
92 UIProcess/soup/WebSoupRequestManagerProxy.cpp
93
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000094 UIProcess/Launcher/efl/ProcessLauncherEfl.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000095
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +000096 UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +000097 UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +000098
kubo@profusion.mobic3a2eeb52012-02-13 13:30:42 +000099 WebProcess/Cookies/soup/WebCookieManagerSoup.cpp
carlosgc@webkit.orgc74f54f2012-07-12 08:12:52 +0000100 WebProcess/Cookies/soup/WebKitSoupCookieJarSqlite.cpp
kubo@profusion.mobic3a2eeb52012-02-13 13:30:42 +0000101
commit-queue@webkit.org91512892012-07-18 21:31:34 +0000102 WebProcess/Downloads/efl/DownloadSoupErrorsEfl.cpp
103 WebProcess/Downloads/soup/DownloadSoup.cpp
commit-queue@webkit.org22d97d72012-01-05 08:51:02 +0000104
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000105 WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp
106
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +0000107 WebProcess/Plugins/Netscape/unix/PluginProxyUnix.cpp
108
109 WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
110
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000111 WebProcess/WebCoreSupport/efl/WebContextMenuClientEfl.cpp
112 WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp
113 WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp
114 WebProcess/WebCoreSupport/efl/WebPopupMenuEfl.cpp
115
commit-queue@webkit.orge2aa22e2012-09-05 13:06:01 +0000116 WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp
117
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000118 WebProcess/WebPage/efl/WebInspectorEfl.cpp
119 WebProcess/WebPage/efl/WebPageEfl.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000120
commit-queue@webkit.org565b2972012-09-05 23:04:38 +0000121 WebProcess/efl/WebProcessMainEfl.cpp
122
123 WebProcess/soup/WebProcessSoup.cpp
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000124 WebProcess/soup/WebSoupRequestManager.cpp
125 WebProcess/soup/WebKitSoupRequestGeneric.cpp
126 WebProcess/soup/WebKitSoupRequestInputStream.cpp
127)
128
129LIST(APPEND WebKit2_MESSAGES_IN_FILES
130 UIProcess/soup/WebSoupRequestManagerProxy.messages.in
131 WebProcess/soup/WebSoupRequestManager.messages.in
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000132)
133
134LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000135 "${JAVASCRIPTCORE_DIR}/llint"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000136 "${WEBCORE_DIR}/platform/efl"
137 "${WEBCORE_DIR}/platform/graphics/cairo"
kubo@profusion.mobic3a2eeb52012-02-13 13:30:42 +0000138 "${WEBCORE_DIR}/platform/network/soup"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000139 "${WEBCORE_DIR}/svg/graphics"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000140 "${WEBKIT2_DIR}/Shared/efl"
carlosgc@webkit.orgc74f54f2012-07-12 08:12:52 +0000141 "${WEBKIT2_DIR}/Shared/soup"
ryuan.choi@samsung.com71b54342012-06-21 15:11:48 +0000142 "${WEBKIT2_DIR}/UIProcess/API/C/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000143 "${WEBKIT2_DIR}/UIProcess/API/C/soup"
commit-queue@webkit.org5ab53c02012-08-08 14:40:54 +0000144 "${WEBKIT2_DIR}/UIProcess/API/cpp/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000145 "${WEBKIT2_DIR}/UIProcess/API/efl"
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +0000146 "${WEBKIT2_DIR}/UIProcess/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000147 "${WEBKIT2_DIR}/UIProcess/soup"
commit-queue@webkit.org91512892012-07-18 21:31:34 +0000148 "${WEBKIT2_DIR}/WebProcess/Downloads/soup"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000149 "${WEBKIT2_DIR}/WebProcess/efl"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000150 "${WEBKIT2_DIR}/WebProcess/soup"
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000151 "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/efl"
commit-queue@webkit.orge2aa22e2012-09-05 13:06:01 +0000152 "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/soup"
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000153 "${WTF_DIR}/wtf/gobject"
rakuco@webkit.orgfb7fec12012-05-04 00:39:57 +0000154 ${CAIRO_INCLUDE_DIRS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000155 ${ECORE_INCLUDE_DIRS}
156 ${ECORE_EVAS_INCLUDE_DIRS}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000157 ${EDJE_INCLUDE_DIRS}
commit-queue@webkit.org9cb75d82012-07-26 12:01:37 +0000158 ${EFREET_INCLUDE_DIRS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000159 ${EINA_INCLUDE_DIRS}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000160 ${EVAS_INCLUDE_DIRS}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000161 ${HARFBUZZ_INCLUDE_DIRS}
commit-queue@webkit.org565b2972012-09-05 23:04:38 +0000162 ${LIBSOUP_INCLUDE_DIRS}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000163 ${LIBXML2_INCLUDE_DIR}
164 ${LIBXSLT_INCLUDE_DIRS}
165 ${SQLITE_INCLUDE_DIRS}
rakuco@webkit.org56218832012-08-13 20:38:06 +0000166 ${GLIB_INCLUDE_DIRS}
rakuco@webkit.org48d9a032012-08-13 23:30:23 +0000167 ${LIBSOUP_INCLUDE_DIRS}
ryuan.choi@samsung.come9e65c22012-05-30 12:12:23 +0000168 ${WTF_DIR}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000169)
170
commit-queue@webkit.org143a83c2012-09-11 07:48:57 +0000171IF (WTF_USE_3D_GRAPHICS)
172 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
173 "${THIRDPARTY_DIR}/ANGLE/include/GLSLANG"
174 )
175ENDIF ()
176
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000177LIST(APPEND WebKit2_LIBRARIES
rakuco@webkit.orgfb7fec12012-05-04 00:39:57 +0000178 ${CAIRO_LIBRARIES}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000179 ${ECORE_LIBRARIES}
180 ${ECORE_EVAS_LIBRARIES}
181 ${EDJE_LIBRARIES}
commit-queue@webkit.org9cb75d82012-07-26 12:01:37 +0000182 ${EFREET_LIBRARIES}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000183 ${EINA_LIBRARIES}
184 ${EVAS_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000185 ${Freetype_LIBRARIES}
rakuco@webkit.org72080602012-09-11 15:33:04 +0000186 ${HARFBUZZ_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000187 ${LIBXML2_LIBRARIES}
commit-queue@webkit.orgadb694d2012-08-08 05:38:28 +0000188 ${OPENGL_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000189 ${SQLITE_LIBRARIES}
190 ${FONTCONFIG_LIBRARIES}
191 ${PNG_LIBRARY}
192 ${JPEG_LIBRARY}
193 ${CMAKE_DL_LIBS}
rakuco@webkit.org56218832012-08-13 20:38:06 +0000194 ${GLIB_LIBRARIES}
rakuco@webkit.org6624e352012-08-13 23:41:07 +0000195 ${GLIB_GIO_LIBRARIES}
196 ${GLIB_GOBJECT_LIBRARIES}
rakuco@webkit.org48d9a032012-08-13 23:30:23 +0000197 ${LIBSOUP_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000198)
199
200LIST (APPEND WebProcess_SOURCES
201 efl/MainEfl.cpp
202)
203
204LIST (APPEND WebProcess_LIBRARIES
rakuco@webkit.orgfb7fec12012-05-04 00:39:57 +0000205 ${CAIRO_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000206 ${ECORE_X_LIBRARIES}
207 ${EDJE_LIBRARIES}
208 ${EFLDEPS_LIBRARIES}
209 ${EVAS_LIBRARIES}
210 ${LIBXML2_LIBRARIES}
211 ${LIBXSLT_LIBRARIES}
commit-queue@webkit.orgadb694d2012-08-08 05:38:28 +0000212 ${OPENGL_LIBRARIES}
ryuan.choi@samsung.comf97cd692011-12-22 10:47:50 +0000213 ${SQLITE_LIBRARIES}
214)
215
paroga@webkit.org3b00bfc2012-07-30 18:49:49 +0000216ADD_CUSTOM_TARGET(forwarding-headerEfl
217 COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include efl
218)
219SET(ForwardingHeaders_NAME forwarding-headerEfl)
220
221ADD_CUSTOM_TARGET(forwarding-headerSoup
222 COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT2_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include soup
223)
224SET(ForwardingNetworkHeaders_NAME forwarding-headerSoup)
225
commit-queue@webkit.orgbff9a102012-06-21 15:46:40 +0000226CONFIGURE_FILE(efl/ewebkit2.pc.in ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2.pc @ONLY)
227SET (EWebKit2_HEADERS
228 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/EWebKit2.h"
commit-queue@webkit.orge6393442012-08-07 10:46:14 +0000229 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_back_forward_list.h"
230 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_back_forward_list_item.h"
commit-queue@webkit.orgbff9a102012-06-21 15:46:40 +0000231 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_context.h"
commit-queue@webkit.orgc5e2faa2012-07-18 14:41:22 +0000232 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_cookie_manager.h"
commit-queue@webkit.org6c00bc92012-07-27 17:24:49 +0000233 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_download_job.h"
commit-queue@webkit.orga69d6542012-10-05 11:33:03 +0000234 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_error.h"
commit-queue@webkit.org58b89dc2012-10-15 19:44:09 +0000235 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_favicon_database.h"
commit-queue@webkit.orga1356652012-07-26 13:28:25 +0000236 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_form_submission_request.h"
commit-queue@webkit.org975681a2012-07-13 17:09:03 +0000237 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_intent.h"
238 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_intent_service.h"
gyuyoung.kim@samsung.com324ab952012-09-28 10:49:05 +0000239 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_main.h"
commit-queue@webkit.org5cea2182012-10-10 08:14:40 +0000240 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_navigation_data.h"
commit-queue@webkit.org975681a2012-07-13 17:09:03 +0000241 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_navigation_policy_decision.h"
ryuan.choi@samsung.com55e804c2012-08-28 11:31:55 +0000242 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_popup_menu_item.h"
commit-queue@webkit.orgf74518c2012-10-05 07:46:58 +0000243 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_resource.h"
commit-queue@webkit.org4cdf2d72012-09-03 14:48:45 +0000244 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_settings.h"
commit-queue@webkit.orgea161622012-09-21 06:23:33 +0000245 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_touch.h"
commit-queue@webkit.org975681a2012-07-13 17:09:03 +0000246 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_request.h"
247 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_response.h"
commit-queue@webkit.orgc63fcf82012-07-23 15:49:04 +0000248 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_url_scheme_request.h"
commit-queue@webkit.orgbff9a102012-06-21 15:46:40 +0000249 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_view.h"
250)
251
252INSTALL(FILES ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2.pc DESTINATION lib/pkgconfig)
253INSTALL(FILES ${EWebKit2_HEADERS} DESTINATION include/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR})
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000254
commit-queue@webkit.org74ba6be2012-09-29 06:31:08 +0000255IF (ENABLE_PLUGIN_PROCESS)
256 ADD_DEFINITIONS(-DENABLE_PLUGIN_PROCESS=1)
257
258 SET (PluginProcess_EXECUTABLE_NAME PluginProcess)
259 LIST (APPEND PluginProcess_INCLUDE_DIRECTORIES
260 "${WEBKIT2_DIR}/PluginProcess/unix"
261 )
262
263 INCLUDE_DIRECTORIES(${PluginProcess_INCLUDE_DIRECTORIES})
264
265 LIST (APPEND PluginProcess_SOURCES
266 ${WEBKIT2_DIR}/unix/PluginMainUnix.cpp
267 )
268
269 SET(PluginProcess_LIBRARIES
270 ${WebKit2_LIBRARY_NAME}
271 )
272
273 ADD_EXECUTABLE(${PluginProcess_EXECUTABLE_NAME} ${PluginProcess_SOURCES})
274 TARGET_LINK_LIBRARIES(${PluginProcess_EXECUTABLE_NAME} ${PluginProcess_LIBRARIES})
275 INSTALL(TARGETS ${PluginProcess_EXECUTABLE_NAME} DESTINATION "${EXEC_INSTALL_DIR}")
276ENDIF () # ENABLE_PLUGIN_PROCESS
277
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000278INCLUDE_DIRECTORIES(${THIRDPARTY_DIR}/gtest/include)
279
280SET(EWK2UnitTests_LIBRARIES
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000281 ${WTF_LIBRARY_NAME}
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000282 ${JavaScriptCore_LIBRARY_NAME}
283 ${WebCore_LIBRARY_NAME}
284 ${WebKit2_LIBRARY_NAME}
commit-queue@webkit.orgbaeaccc2012-07-23 20:26:00 +0000285 ${CAIRO_LIBRARIES}
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000286 ${ECORE_LIBRARIES}
287 ${ECORE_EVAS_LIBRARIES}
288 ${EVAS_LIBRARIES}
rakuco@webkit.org26876672012-08-13 23:49:06 +0000289 ${GLIB_LIBRARIES}
290 ${GLIB_GIO_LIBRARIES}
291 ${GLIB_GOBJECT_LIBRARIES}
rakuco@webkit.org48d9a032012-08-13 23:30:23 +0000292 ${LIBSOUP_LIBRARIES}
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000293 gtest
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000294)
295
296IF (ENABLE_GLIB_SUPPORT)
297 LIST(APPEND EWK2UnitTests_LIBRARIES
rakuco@webkit.org56218832012-08-13 20:38:06 +0000298 ${GLIB_LIBRARIES}
299 ${GLIB_GTHREAD_LIBRARIES}
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000300 )
301ENDIF()
302
303SET(WEBKIT2_EFL_TEST_DIR "${WEBKIT2_DIR}/UIProcess/API/efl/tests")
304SET(TEST_RESOURCES_DIR ${WEBKIT2_EFL_TEST_DIR}/resources)
commit-queue@webkit.org56737f82012-09-20 14:39:23 +0000305SET(TEST_INJECTED_BUNDLE_DIR ${WEBKIT2_EFL_TEST_DIR}/InjectedBundle)
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000306
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000307ADD_DEFINITIONS(-DTEST_RESOURCES_DIR=\"${TEST_RESOURCES_DIR}\"
commit-queue@webkit.org905d5ba2012-09-24 12:31:54 +0000308 -DTEST_LIB_DIR=\"${CMAKE_LIBRARY_OUTPUT_DIRECTORY}\"
commit-queue@webkit.org006936432012-07-18 19:31:24 +0000309 -DTEST_THEME_DIR=\"${THEME_BINARY_DIR}\"
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000310 -DGTEST_LINKED_AS_SHARED_LIBRARY=1
commit-queue@webkit.org14224932012-07-23 11:37:26 +0000311 -DLIBEXECDIR=\"${CMAKE_INSTALL_PREFIX}/${EXEC_INSTALL_DIR}\"
312 -DWEBPROCESSNAME=\"${WebProcess_EXECUTABLE_NAME}\"
313 -DPLUGINPROCESSNAME=\"${PluginProcess_EXECUTABLE_NAME}\"
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000314)
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000315
316ADD_LIBRARY(ewk2UnitTestUtils
317 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestBase.cpp
318 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestEnvironment.cpp
319 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestMain.cpp
commit-queue@webkit.orgbaeaccc2012-07-23 20:26:00 +0000320 ${WEBKIT2_EFL_TEST_DIR}/UnitTestUtils/EWK2UnitTestServer.cpp
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000321)
322
323TARGET_LINK_LIBRARIES(ewk2UnitTestUtils ${EWK2UnitTests_LIBRARIES})
324
325# The "ewk" on the test name needs to be suffixed with "2", otherwise it
326# will clash with tests from the WebKit 1 test suite.
327SET(EWK2UnitTests_BINARIES
commit-queue@webkit.org68a200e2012-08-17 15:37:18 +0000328 test_ewk2_back_forward_list
commit-queue@webkit.org3ca0d432012-07-26 16:04:20 +0000329 test_ewk2_context
commit-queue@webkit.org5cea2182012-10-10 08:14:40 +0000330 test_ewk2_context_history_callbacks
commit-queue@webkit.orgbaeaccc2012-07-23 20:26:00 +0000331 test_ewk2_cookie_manager
commit-queue@webkit.org6c00bc92012-07-27 17:24:49 +0000332 test_ewk2_download_job
commit-queue@webkit.org0df599b2012-08-20 11:52:26 +0000333 test_ewk2_eina_shared_string
commit-queue@webkit.org58b89dc2012-10-15 19:44:09 +0000334 test_ewk2_favicon_database
kenneth@webkit.org3fd587b2012-09-14 14:30:58 +0000335 test_ewk2_refptr_evas_object
commit-queue@webkit.org6cd25652012-08-16 09:12:57 +0000336 test_ewk2_intents
commit-queue@webkit.org4cdf2d72012-09-03 14:48:45 +0000337 test_ewk2_settings
commit-queue@webkit.org58eba592012-07-12 21:46:04 +0000338 test_ewk2_view
339)
340
commit-queue@webkit.org5b8a8ed2012-07-13 17:25:14 +0000341IF (ENABLE_API_TESTS)
342 FOREACH (testName ${EWK2UnitTests_BINARIES})
343 ADD_EXECUTABLE(${testName} ${WEBKIT2_EFL_TEST_DIR}/${testName}.cpp)
344 ADD_TEST(${testName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${testName})
345 SET_TESTS_PROPERTIES(${testName} PROPERTIES TIMEOUT 60)
commit-queue@webkit.orgfc592f42012-07-18 11:15:41 +0000346 TARGET_LINK_LIBRARIES(${testName} ${EWK2UnitTests_LIBRARIES} ewk2UnitTestUtils)
commit-queue@webkit.org5b8a8ed2012-07-13 17:25:14 +0000347 ENDFOREACH ()
commit-queue@webkit.org56737f82012-09-20 14:39:23 +0000348
349 ADD_LIBRARY(ewk2UnitTestInjectedBundleSample SHARED ${TEST_INJECTED_BUNDLE_DIR}/injected_bundle_sample.cpp)
commit-queue@webkit.org7c785742012-09-29 12:51:30 +0000350 TARGET_LINK_LIBRARIES(ewk2UnitTestInjectedBundleSample ${WebKit2_LIBRARY_NAME})
commit-queue@webkit.org5b8a8ed2012-07-13 17:25:14 +0000351ENDIF ()