1 ADD_DEFINITIONS(-DWTF_USE_CROSS_PLATFORM_CONTEXT_MENUS=0)
2 ADD_DEFINITIONS(-DENABLE_CONTEXT_MENUS=1)
4 LIST(APPEND WebKit2_SOURCES
5 PluginProcess/PluginCreationParameters.cpp
7 PluginProcess/efl/PluginControllerProxyEfl.cpp
8 PluginProcess/efl/PluginProcessEfl.cpp
10 Shared/API/c/cairo/WKImageCairo.cpp
12 Shared/API/c/efl/WKURLRequestEfl.cpp
13 Shared/API/c/efl/WKURLResponseEfl.cpp
15 Shared/efl/ProcessExecutablePathEfl.cpp
16 Shared/efl/WebURLRequestEfl.cpp
17 Shared/efl/WebURLResponseEfl.cpp
19 UIProcess/API/efl/FocusRing.cpp
20 UIProcess/API/efl/GestureClient.cpp
21 UIProcess/API/efl/GestureRecognizer.cpp
22 UIProcess/API/efl/InputPicker.cpp
23 UIProcess/API/efl/JavaScriptPopup.cpp
24 UIProcess/API/efl/OpenPanel.cpp
25 UIProcess/API/efl/Pan.cpp
26 UIProcess/API/efl/ewk_auth_challenge.cpp
27 UIProcess/API/efl/ewk_certificate.cpp
28 UIProcess/API/efl/ewk_context.cpp
29 UIProcess/API/efl/ewk_context_download_client.cpp
30 UIProcess/API/efl/ewk_context_injected_bundle_client.cpp
31 UIProcess/API/efl/ewk_context_menu.cpp
32 UIProcess/API/efl/ewk_error.cpp
33 UIProcess/API/efl/ewk_form_data.cpp
34 UIProcess/API/efl/ewk_frame.cpp
35 UIProcess/API/efl/ewk_history.cpp
36 UIProcess/API/efl/ewk_hit_test.cpp
37 UIProcess/API/efl/ewk_policy_decision.cpp
38 UIProcess/API/efl/ewk_security_origin.cpp
39 UIProcess/API/efl/ewk_setting.cpp
40 UIProcess/API/efl/ewk_text_checker.cpp
41 UIProcess/API/efl/ewk_text_checker_setting.cpp
42 UIProcess/API/efl/ewk_text_style.cpp
43 UIProcess/API/efl/ewk_util.cpp
44 UIProcess/API/efl/ewk_view_context_menu_client.cpp
45 UIProcess/API/efl/ewk_view_find_client.cpp
46 UIProcess/API/efl/ewk_view_form_client.cpp
47 UIProcess/API/efl/ewk_view_loader_client.cpp
48 UIProcess/API/efl/ewk_view_policy_client.cpp
49 UIProcess/API/efl/ewk_view_tizen_client.cpp
50 UIProcess/API/efl/ewk_view_ui_client.cpp
52 UIProcess/API/efl/editor/TextSelection.cpp
53 UIProcess/API/efl/editor/TextSelectionHandle.cpp
54 UIProcess/API/efl/editor/TextSelectionMagnifier.cpp
56 UIProcess/API/efl/tizen/Zoom.cpp
57 UIProcess/API/efl/tizen/ewk_popup_picker.cpp
59 UIProcess/API/C/efl/WKIconDatabaseEfl.cpp
60 UIProcess/API/C/efl/WKPreferencesEfl.cpp
62 UIProcess/API/C/efl/tizen/WKContextTizen.cpp
63 UIProcess/API/C/efl/tizen/WKPageTizen.cpp
65 UIProcess/efl/MainFrameScrollbarEfl.cpp
66 UIProcess/efl/WebColorChooserProxyEfl.cpp
67 UIProcess/efl/WebContextMenuProxyEfl.cpp
68 UIProcess/efl/WebErrorPageEfl.cpp
69 UIProcess/efl/WebFullScreenManagerProxyEfl.cpp
70 UIProcess/efl/WebPopupMenuProxyEfl.cpp
71 UIProcess/efl/WebTizenClient.cpp
73 WebProcess/FullScreen/efl/WebFullScreenManagerEfl.cpp
75 WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.cpp
77 WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
79 WebProcess/Plugins/Netscape/efl/PluginProxyEfl.cpp
81 WebProcess/WebPage/efl/LayerTreeHostEfl.cpp
83 WebProcess/WebPage/cairo/RecordingSurfaceSetCairo.cpp
85 Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp
87 Shared/efl/RssItemEfl.cpp
90 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
91 ${WEBCORE_DIR}/platform/graphics/efl
92 ${WEBCORE_DIR}/platform/tizen
93 ${WEBKIT2_DIR}/UIProcess/API/C/efl
94 ${WEBKIT2_DIR}/UIProcess/API/C/efl/tizen
95 ${WEBKIT2_DIR}/UIProcess/API/efl/editor
96 ${WEBKIT2_DIR}/UIProcess/API/efl/tizen
97 ${WEBKIT2_DIR}/UIProcess/efl
98 ${WEBKIT2_DIR}/Shared/API/c/cairo
99 ${WEBKIT2_DIR}/Shared/API/c/efl
101 ${ELEMENTARY_INCLUDE_DIRS}
102 ${GLES_INCLUDE_DIRS} #FIXME
104 ${UIGadget_INCLUDE_DIRS}
107 LIST(APPEND WebKit2_LIBRARIES
108 ${ELEMENTARY_LIBRARIES}
109 ${GLES20_LIBRARIES} #FIXME
113 IF (ENABLE_TOUCH_EVENTS)
114 LIST(APPEND WebKit2_SOURCES
115 Shared/efl/NativeWebTouchEventEfl.cpp
120 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
121 "${WEBCORE_DIR}/platform/graphics/gstreamer"
125 IF (ENABLE_TIZEN_MM_PLAYER)
126 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
127 ${ELEMENTARY_INCLUDE_DIRS}
128 ${MM-Player_INCLUDE_DIRS}
129 ${VConf_INCLUDE_DIRS}
131 LIST(APPEND WebKit2_LIBRARIES
132 ${ELEMENTARY_LIBRARIES}
133 ${MM-Player_LIBRARIES}
138 IF (WTF_USE_TEXTURE_MAPPER)
139 LIST(APPEND WebKit2_SOURCES
140 UIProcess/efl/LayerBackingStore.cpp
144 IF (ENABLE_TIZEN_DEVICE_ORIENTATION)
145 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES ${Tizen-Sensor_INCLUDE_DIRS})
146 LIST(APPEND WebKit2_LIBRARIES ${Tizen-Sensor_LIBRARIES})
149 IF (ENABLE_PLUGIN_PROCESS)
150 ADD_DEFINITIONS(-DENABLE_PLUGIN_PROCESS=1)
152 SET (PluginProcess_NAME bin/PluginProcess)
154 LIST (APPEND PluginProcess_INCLUDE_DIRECTORIES
156 "${WEBKIT2_DIR}/PluginProcess"
157 "${WEBKIT2_DIR}/PluginProcess/efl"
158 ${DERIVED_SOURCES_WEBKIT2_DIR}
161 INCLUDE_DIRECTORIES(${PluginProcess_INCLUDE_DIRECTORIES})
163 LIST (APPEND plugin_process_built_sources
164 ${DERIVED_SOURCES_WEBKIT2_DIR}/NPObjectMessageReceiverMessageReceiver.cpp
165 ${DERIVED_SOURCES_WEBKIT2_DIR}/NPObjectMessageReceiverMessages.h
166 ${DERIVED_SOURCES_WEBKIT2_DIR}/PluginControllerProxyMessageReceiver.cpp
167 ${DERIVED_SOURCES_WEBKIT2_DIR}/PluginControllerProxyMessages.h
168 ${DERIVED_SOURCES_WEBKIT2_DIR}/PluginProcessMessageReceiver.cpp
169 ${DERIVED_SOURCES_WEBKIT2_DIR}/PluginProcessMessages.h
170 ${DERIVED_SOURCES_WEBKIT2_DIR}/WebProcessConnectionMessageReceiver.cpp
171 ${DERIVED_SOURCES_WEBKIT2_DIR}/WebProcessConnectionMessages.h
174 LIST (APPEND PluginProcess_SOURCES
175 ${plugin_process_built_sources}
176 ${WEBKIT2_DIR}/Platform/CoreIPC/ArgumentCoder.h
177 ${WEBKIT2_DIR}/Platform/CoreIPC/ArgumentCoders.h
178 ${WEBKIT2_DIR}/Platform/CoreIPC/ArgumentCoders.cpp
179 ${WEBKIT2_DIR}/Platform/CoreIPC/ArgumentDecoder.cpp
180 ${WEBKIT2_DIR}/Platform/CoreIPC/ArgumentDecoder.h
181 ${WEBKIT2_DIR}/Platform/CoreIPC/ArgumentEncoder.cpp
182 ${WEBKIT2_DIR}/Platform/CoreIPC/ArgumentEncoder.h
183 ${WEBKIT2_DIR}/Platform/CoreIPC/Arguments.h
184 ${WEBKIT2_DIR}/Platform/CoreIPC/Attachment.cpp
185 ${WEBKIT2_DIR}/Platform/CoreIPC/Attachment.h
186 ${WEBKIT2_DIR}/Platform/CoreIPC/BinarySemaphore.cpp
187 ${WEBKIT2_DIR}/Platform/CoreIPC/BinarySemaphore.h
188 ${WEBKIT2_DIR}/Platform/CoreIPC/Connection.cpp
189 ${WEBKIT2_DIR}/Platform/CoreIPC/Connection.h
190 ${WEBKIT2_DIR}/Platform/CoreIPC/CoreIPCMessageKinds.h
191 ${WEBKIT2_DIR}/Platform/CoreIPC/DataReference.cpp
192 ${WEBKIT2_DIR}/Platform/CoreIPC/DataReference.h
193 ${WEBKIT2_DIR}/Platform/CoreIPC/HandleMessage.h
194 ${WEBKIT2_DIR}/Platform/CoreIPC/MessageID.h
195 ${WEBKIT2_DIR}/Platform/CoreIPC/MessageSender.h
196 ${WEBKIT2_DIR}/Platform/CoreIPC/unix/AttachmentUnix.cpp
197 ${WEBKIT2_DIR}/Platform/CoreIPC/unix/ConnectionUnix.cpp
198 ${WEBKIT2_DIR}/Platform/Module.cpp
199 ${WEBKIT2_DIR}/Platform/Module.h
200 ${WEBKIT2_DIR}/Platform/WorkQueue.cpp
201 ${WEBKIT2_DIR}/Platform/WorkQueue.h
202 ${WEBKIT2_DIR}/Platform/SharedMemory.h
203 ${WEBKIT2_DIR}/Platform/efl/ModuleEfl.cpp
204 ${WEBKIT2_DIR}/Platform/efl/WorkQueueEfl.cpp
205 ${WEBKIT2_DIR}/Platform/unix/SharedMemoryUnix.cpp
206 ${WEBKIT2_DIR}/PluginProcess/PluginControllerProxy.cpp
207 ${WEBKIT2_DIR}/PluginProcess/PluginControllerProxy.h
208 ${WEBKIT2_DIR}/PluginProcess/PluginCreationParameters.cpp
209 ${WEBKIT2_DIR}/PluginProcess/PluginCreationParameters.h
210 ${WEBKIT2_DIR}/PluginProcess/PluginProcess.cpp
211 ${WEBKIT2_DIR}/PluginProcess/PluginProcess.h
212 ${WEBKIT2_DIR}/PluginProcess/PluginProcessMain.h
213 ${WEBKIT2_DIR}/PluginProcess/WebProcessConnection.cpp
214 ${WEBKIT2_DIR}/PluginProcess/WebProcessConnection.h
215 ${WEBKIT2_DIR}/Shared/Plugins/PluginProcessCreationParameters.cpp
216 ${WEBKIT2_DIR}/Shared/Plugins/PluginProcessCreationParameters.h
217 ${WEBKIT2_DIR}/PluginProcess/efl/PluginControllerProxyEfl.cpp
218 ${WEBKIT2_DIR}/PluginProcess/efl/PluginProcessEfl.cpp
219 ${WEBKIT2_DIR}/PluginProcess/efl/PluginProcessMainEfl.h
220 ${WEBKIT2_DIR}/PluginProcess/efl/PluginProcessMainEfl.cpp
221 ${WEBKIT2_DIR}/Shared/ChildProcess.cpp
222 ${WEBKIT2_DIR}/Shared/ChildProcess.h
223 ${WEBKIT2_DIR}/Shared/Plugins/NPIdentifierData.cpp
224 ${WEBKIT2_DIR}/Shared/Plugins/NPIdentifierData.h
225 ${WEBKIT2_DIR}/Shared/Plugins/NPObjectMessageReceiver.cpp
226 ${WEBKIT2_DIR}/Shared/Plugins/NPObjectMessageReceiver.h
227 ${WEBKIT2_DIR}/Shared/Plugins/NPObjectProxy.cpp
228 ${WEBKIT2_DIR}/Shared/Plugins/NPObjectProxy.h
229 ${WEBKIT2_DIR}/Shared/Plugins/NPRemoteObjectMap.cpp
230 ${WEBKIT2_DIR}/Shared/Plugins/NPRemoteObjectMap.h
231 ${WEBKIT2_DIR}/Shared/Plugins/NPVariantData.cpp
232 ${WEBKIT2_DIR}/Shared/Plugins/NPVariantData.h
233 ${WEBKIT2_DIR}/Shared/Plugins/Netscape/NetscapePluginModule.cpp
234 ${WEBKIT2_DIR}/Shared/Plugins/Netscape/NetscapePluginModule.h
235 ${WEBKIT2_DIR}/Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp
236 ${WEBKIT2_DIR}/Shared/ShareableBitmap.cpp
237 ${WEBKIT2_DIR}/Shared/ShareableBitmap.h
238 ${WEBKIT2_DIR}/Shared/WebCoreArgumentCoders.cpp
239 ${WEBKIT2_DIR}/Shared/WebCoreArgumentCoders.h
240 ${WEBKIT2_DIR}/Shared/WebEvent.cpp
241 ${WEBKIT2_DIR}/Shared/WebEvent.h
242 ${WEBKIT2_DIR}/Shared/WebKeyboardEvent.cpp
243 ${WEBKIT2_DIR}/Shared/WebMouseEvent.cpp
244 ${WEBKIT2_DIR}/Shared/WebPlatformTouchPoint.cpp
245 ${WEBKIT2_DIR}/Shared/WebWheelEvent.cpp
246 ${WEBKIT2_DIR}/Shared/efl/WebCoreArgumentCodersEfl.cpp
247 ${WEBKIT2_DIR}/Shared/efl/NativeWebKeyboardEventEfl.cpp
248 ${WEBKIT2_DIR}/Shared/efl/NativeWebWheelEventEfl.cpp
249 ${WEBKIT2_DIR}/Shared/efl/NativeWebMouseEventEfl.cpp
250 ${WEBKIT2_DIR}/Shared/efl/ProcessExecutablePathEfl.cpp
251 ${WEBKIT2_DIR}/Shared/efl/RssItemEfl.cpp
252 ${WEBKIT2_DIR}/Shared/efl/WebEventFactory.cpp
253 ${WEBKIT2_DIR}/Shared/cairo/ShareableBitmapCairo.cpp
254 ${WEBKIT2_DIR}/UIProcess/Plugins/efl/PluginProcessProxyEfl.cpp
255 ${WEBKIT2_DIR}/WebProcess/Plugins/Plugin.cpp
256 ${WEBKIT2_DIR}/WebProcess/Plugins/Plugin.h
257 ${WEBKIT2_DIR}/WebProcess/Plugins/Netscape/NPRuntimeUtilities.cpp
258 ${WEBKIT2_DIR}/WebProcess/Plugins/Netscape/NPRuntimeUtilities.h
259 ${WEBKIT2_DIR}/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp
260 ${WEBKIT2_DIR}/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.h
261 ${WEBKIT2_DIR}/WebProcess/Plugins/Netscape/NetscapePlugin.cpp
262 ${WEBKIT2_DIR}/WebProcess/Plugins/Netscape/NetscapePlugin.h
263 ${WEBKIT2_DIR}/WebProcess/Plugins/Netscape/NetscapePluginStream.cpp
264 ${WEBKIT2_DIR}/WebProcess/Plugins/Netscape/NetscapePluginStream.h
265 ${WEBKIT2_DIR}/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
266 ${WEBKIT2_DIR}/efl/PluginMainEfl.cpp
270 IF (ENABLE_TOUCH_EVENTS)
271 LIST (APPEND PluginProcess_SOURCES
272 Shared/WebTouchEvent.cpp
273 Shared/efl/NativeWebTouchEventEfl.cpp
277 IF (ENABLE_MEMORY_SAMPLER)
278 LIST (APPEND WebKit2_SOURCES
279 ${WEBKIT2_DIR}/Shared/WebMemorySampler.cpp
280 ${WEBKIT2_DIR}/Shared/WebMemorySampler.h
281 ${WEBKIT2_DIR}/Shared/efl/WebMemorySamplerEfl.cpp
283 LIST (APPEND PluginProcess_SOURCES
284 ${WEBKIT2_DIR}/Shared/WebMemorySampler.cpp
285 ${WEBKIT2_DIR}/Shared/WebMemorySampler.h
286 ${WEBKIT2_DIR}/Shared/efl/WebMemorySamplerEfl.cpp
290 FIND_PACKAGE (X11 REQUIRED)
292 SET(PluginProcess_LIBRARIES
293 ${JavaScriptCore_LIBRARY_NAME}
294 ${WebCore_LIBRARY_NAME}
295 ${WebKit2_LIBRARY_NAME}
299 ADD_EXECUTABLE(${PluginProcess_NAME} ${PluginProcess_SOURCES})
300 TARGET_LINK_LIBRARIES(${PluginProcess_NAME} ${PluginProcess_LIBRARIES})
301 SET_TARGET_PROPERTIES(${PluginProcess_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
302 TARGET_LINK_LIBRARIES(${PluginProcess_NAME} ${WebKit2_LIBRARIES})
303 INSTALL(TARGETS ${PluginProcess_NAME} DESTINATION bin)
305 ENDIF () # ENABLE_PLUGIN_PROCESS
307 IF (ENABLE_TIZEN_WEBKIT2_SPELLCHECKING)
308 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES ${Enchant_INCLUDE_DIRS})
309 LIST(APPEND WebKit2_LIBRARIES ${Enchant_LIBRARIES})
310 LIST(APPEND WebKit2_SOURCES
311 UIProcess/API/efl/editor/TextCheckerEnchant.cpp
312 UIProcess/API/efl/editor/TextCheckerInterface.cpp
316 SET(THEME_DIR ${CMAKE_BINARY_DIR}/theme)
317 SET(CONTROL_THEME ${THEME_DIR}/control.edj)
318 SET(JS_POPUP_THEME ${THEME_DIR}/JavaScriptPopup.edj)
320 FILE(MAKE_DIRECTORY ${THEME_DIR})
323 OUTPUT ${CONTROL_THEME}
324 COMMAND ${EDJE_CC_EXECUTABLE} -id ${WEBKIT2_DIR}/UIProcess/API/efl/tizen/images ${WEBKIT2_DIR}/UIProcess/API/efl/tizen/control.edc ${CONTROL_THEME}
326 ${WEBKIT2_DIR}/UIProcess/API/efl/tizen/control.edc
330 OUTPUT ${JS_POPUP_THEME}
331 COMMAND ${EDJE_CC_EXECUTABLE} -id ${WEBKIT2_DIR}/UIProcess/API/efl/tizen/images ${WEBKIT2_DIR}/UIProcess/API/efl/JavaScriptPopup.edc ${JS_POPUP_THEME}
333 ${WEBKIT2_DIR}/UIProcess/API/efl/JavaScriptPopup.edc
335 LIST(APPEND WebKit2_SOURCES ${CONTROL_THEME} ${JS_POPUP_THEME})
337 ADD_DEFINITIONS("-DEDJE_DIR=\"${CMAKE_INSTALL_PREFIX}/share/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR}/themes\"")
341 ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2.pc
343 INSTALL(FILES ${CMAKE_BINARY_DIR}/WebKit2/efl/ewebkit2.pc
344 DESTINATION lib/pkgconfig)
346 FILE(GLOB Shared_API_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/Shared/API/c/*.h")
347 LIST(APPEND Shared_API_HEADERS
348 "${CMAKE_CURRENT_SOURCE_DIR}/Shared/API/c/efl/WKBaseEfl.h"
349 "${CMAKE_CURRENT_SOURCE_DIR}/Shared/API/c/cairo/WKImageCairo.h"
350 "${CMAKE_CURRENT_SOURCE_DIR}/Shared/API/c/efl/WKURLRequestEfl.h"
351 "${CMAKE_CURRENT_SOURCE_DIR}/Shared/API/c/efl/WKURLResponseEfl.h"
353 FILE(GLOB UIProcess_API_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/C/*.h")
354 LIST(APPEND UIProcess_API_HEADERS
355 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/EWebKit2.h"
356 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_view.h"
357 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_auth_challenge.h"
358 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_certificate.h"
359 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_context.h"
360 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_context_menu.h"
361 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_enums.h"
362 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_error.h"
363 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_form_data.h"
364 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_frame.h"
365 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_history.h"
366 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_hit_test.h"
367 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_network.h"
368 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_policy_decision.h"
369 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_security_origin.h"
370 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_setting.h"
371 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_text_checker.h"
372 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_text_checker_setting.h"
373 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_text_style.h"
375 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/C/efl/WKIconDatabaseEfl.h"
376 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/C/efl/WKPreferencesEfl.h"
377 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/C/efl/WKView.h"
378 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/C/efl/tizen/WKContextTizen.h"
379 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/C/efl/tizen/WKPageTizen.h"
382 IF (ENABLE_TIZEN_GEOLOCATION)
383 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
384 "${Tizen-Location-Manager_INCLUDE_DIRS}"
386 LIST(APPEND WebKit2_LIBRARIES
387 "${Tizen-Location-Manager_LIBRARIES}"
389 LIST(APPEND WebKit2_SOURCES
390 UIProcess/API/efl/ewk_geolocation.cpp
391 UIProcess/API/efl/ewk_view_geolocation_provider.cpp
393 LIST(APPEND UIProcess_API_HEADERS
394 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_geolocation.h"
398 IF (ENABLE_TIZEN_NOTIFICATION)
399 LIST(APPEND WebKit2_SOURCES
400 UIProcess/API/efl/ewk_notification.cpp
401 UIProcess/API/efl/ewk_view_notification_provider.cpp
403 LIST(APPEND UIProcess_API_HEADERS
404 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_notification.h"
408 IF (ENABLE_TIZEN_REGISTER_PROTOCOL_HANDLER OR ENABLE_TIZEN_REGISTER_CONTENT_HANDLER)
409 LIST(APPEND WebKit2_SOURCES
410 UIProcess/API/efl/ewk_custom_handlers.cpp
412 LIST(APPEND UIProcess_API_HEADERS
413 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_custom_handlers.h"
417 LIST(APPEND NPAPI_HEADERS
418 "${WEBCORE_DIR}/plugins/npapi.h"
419 "${WEBCORE_DIR}/plugins/npfunctions.h"
420 "${WEBCORE_DIR}/plugins/npruntime.h"
421 "${WEBCORE_DIR}/plugins/nptypes.h"
424 INSTALL(FILES ${NPAPI_HEADERS}
425 DESTINATION include/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR}/NPAPI)
427 IF (ENABLE_TIZEN_MEDIA_STREAM)
428 LIST(APPEND WebKit2_SOURCES
429 WebProcess/MediaStream/UserMediaPermissionRequestManager.cpp
430 WebProcess/WebCoreSupport/WebUserMediaClient.cpp
431 UIProcess/API/C/WKUserMediaPermissionRequest.cpp
432 UIProcess/API/efl/ewk_user_media_permission.cpp
433 UIProcess/MediaStream/UserMediaPermissionRequest.cpp
434 UIProcess/MediaStream/UserMediaPermissionRequestManagerProxy.cpp
436 LIST(APPEND UIProcess_API_HEADERS
437 "${CMAKE_CURRENT_SOURCE_DIR}/UIProcess/API/efl/ewk_user_media_permission.h"
439 LIST(APPEND WebKit2_INCLUDE_DIRECTORIES
440 "${WEBKIT2_DIR}/WebProcess/MediaStream"
441 "${WEBKIT2_DIR}/UIProcess/MediaStream"
442 "${WEBCORE_DIR}/Modules/mediastream"
443 "${WEBCORE_DIR}/platform/mediastream"
447 INSTALL(FILES ${Shared_API_HEADERS}
448 DESTINATION include/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR}/WebKit2)
449 INSTALL(FILES ${UIProcess_API_HEADERS}
450 DESTINATION include/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR}/WebKit2)
452 INSTALL(FILES ${WebKit2_THEME}
453 DESTINATION share/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR}/themes)
455 INSTALL(FILES ${CONTROL_THEME}
456 DESTINATION share/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR}/themes)
457 INSTALL(FILES ${JS_POPUP_THEME}
458 DESTINATION share/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR}/themes)
459 FILE(GLOB InjectedBundle_API_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/WebProcess/InjectedBundle/API/c/*.h")
460 INSTALL(FILES ${InjectedBundle_API_HEADERS}
461 DESTINATION include/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR}/WebKit2)
463 ADD_DEFINITIONS("-DDEFAULT_THEME_PATH=\"${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/themes\"")
464 ADD_DEFINITIONS("-DWEBKIT_TEXT_DIR=\"${CMAKE_INSTALL_PREFIX}/share/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR}/locale/po\"")
465 ADD_DEFINITIONS("-DWEBKIT_HTML_DIR=\"${CMAKE_INSTALL_PREFIX}/share/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR}/html\"")
466 INCLUDE_IF_EXISTS(${WEBKIT2_DIR}/UIProcess/efl/po_tizen/CMakeLists.txt)
467 SET(WEBKIT2_EFL_ERROR_PAGE_DIR share/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR}/html)
468 INSTALL(FILES ${WEBKIT2_DIR}/UIProcess/efl/htmlfiles/errorPage.html DESTINATION ${WEBKIT2_EFL_ERROR_PAGE_DIR})
470 IF (ENABLE_INSPECTOR)
471 SET(WEB_INSPECTOR_DIR ${CMAKE_BINARY_DIR}/WebKit2/efl/webinspector)
472 SET(WEB_INSPECTOR_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/${WebKit2_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR})
473 ADD_DEFINITIONS(-DWEB_INSPECTOR_DIR="${WEB_INSPECTOR_DIR}")
474 ADD_DEFINITIONS(-DWEB_INSPECTOR_INSTALL_DIR="${WEB_INSPECTOR_INSTALL_DIR}/webinspector")
476 web-inspector-resources ALL
477 COMMAND ${CMAKE_COMMAND} -E copy_directory ${WEBCORE_DIR}/inspector/front-end ${WEB_INSPECTOR_DIR}
478 COMMAND ${CMAKE_COMMAND} -E copy ${WEBCORE_DIR}/English.lproj/localizedStrings.js ${WEB_INSPECTOR_DIR}
479 COMMAND ${CMAKE_COMMAND} -E copy ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorBackendCommands.js ${WEB_INSPECTOR_DIR}/InspectorBackendCommands.js
480 DEPENDS ${WebCore_LIBRARY_NAME}
482 INSTALL(DIRECTORY ${WEB_INSPECTOR_DIR}
483 DESTINATION ${WEB_INSPECTOR_INSTALL_DIR}
484 FILES_MATCHING PATTERN "*.js"