1 list(APPEND WebCore_INCLUDE_DIRECTORIES
2 "${WEBCORE_DIR}/editing/atk"
3 "${WEBCORE_DIR}/page/efl"
4 "${WEBCORE_DIR}/page/scrolling/coordinatedgraphics"
5 "${WEBCORE_DIR}/platform/cairo"
6 "${WEBCORE_DIR}/platform/efl"
7 "${WEBCORE_DIR}/platform/geoclue"
8 "${WEBCORE_DIR}/platform/graphics/cairo"
9 "${WEBCORE_DIR}/platform/graphics/efl"
10 "${WEBCORE_DIR}/platform/graphics/freetype"
11 "${WEBCORE_DIR}/platform/graphics/harfbuzz/"
12 "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
13 "${WEBCORE_DIR}/platform/graphics/opengl"
14 "${WEBCORE_DIR}/platform/graphics/opentype"
15 "${WEBCORE_DIR}/platform/graphics/surfaces"
16 "${WEBCORE_DIR}/platform/graphics/surfaces/efl"
17 "${WEBCORE_DIR}/platform/graphics/surfaces/glx"
18 "${WEBCORE_DIR}/platform/graphics/texmap"
19 "${WEBCORE_DIR}/platform/graphics/texmap/coordinated"
20 "${WEBCORE_DIR}/platform/linux"
21 "${WEBCORE_DIR}/platform/mediastream/gstreamer"
22 "${WEBCORE_DIR}/platform/mock/mediasource"
23 "${WEBCORE_DIR}/platform/network/soup"
24 "${WEBCORE_DIR}/platform/text/efl"
25 "${WEBCORE_DIR}/plugins/efl"
28 list(APPEND WebCore_SOURCES
29 accessibility/atk/AXObjectCacheAtk.cpp
30 accessibility/atk/AccessibilityObjectAtk.cpp
31 accessibility/atk/WebKitAccessibleHyperlink.cpp
32 accessibility/atk/WebKitAccessibleInterfaceAction.cpp
33 accessibility/atk/WebKitAccessibleInterfaceComponent.cpp
34 accessibility/atk/WebKitAccessibleInterfaceDocument.cpp
35 accessibility/atk/WebKitAccessibleInterfaceEditableText.cpp
36 accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.cpp
37 accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp
38 accessibility/atk/WebKitAccessibleInterfaceImage.cpp
39 accessibility/atk/WebKitAccessibleInterfaceSelection.cpp
40 accessibility/atk/WebKitAccessibleInterfaceTable.cpp
41 accessibility/atk/WebKitAccessibleInterfaceTableCell.cpp
42 accessibility/atk/WebKitAccessibleInterfaceText.cpp
43 accessibility/atk/WebKitAccessibleInterfaceValue.cpp
44 accessibility/atk/WebKitAccessibleUtil.cpp
45 accessibility/atk/WebKitAccessibleWrapperAtk.cpp
47 editing/SmartReplace.cpp
49 editing/atk/FrameSelectionAtk.cpp
51 editing/efl/EditorEfl.cpp
53 html/shadow/MediaControlsApple.cpp
55 loader/soup/CachedRawResourceSoup.cpp
56 loader/soup/SubresourceLoaderSoup.cpp
58 page/efl/DragControllerEfl.cpp
59 page/efl/EventHandlerEfl.cpp
61 page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.cpp
62 page/scrolling/coordinatedgraphics/ScrollingStateNodeCoordinatedGraphics.cpp
63 page/scrolling/coordinatedgraphics/ScrollingStateScrollingNodeCoordinatedGraphics.cpp
65 platform/ContextMenuItemNone.cpp
66 platform/ContextMenuNone.cpp
69 platform/audio/efl/AudioBusEfl.cpp
71 platform/audio/gstreamer/AudioDestinationGStreamer.cpp
72 platform/audio/gstreamer/AudioFileReaderGStreamer.cpp
73 platform/audio/gstreamer/FFTFrameGStreamer.cpp
74 platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp
76 platform/cairo/WidgetBackingStoreCairo.cpp
78 platform/efl/BatteryProviderEfl.cpp
79 platform/efl/CursorEfl.cpp
80 platform/efl/DragDataEfl.cpp
81 platform/efl/DragImageEfl.cpp
82 platform/efl/EflInspectorUtilities.cpp
83 platform/efl/EflKeyboardUtilities.cpp
84 platform/efl/EflScreenUtilities.cpp
85 platform/efl/ErrorsEfl.cpp
86 platform/efl/EventLoopEfl.cpp
87 platform/efl/FileSystemEfl.cpp
88 platform/efl/GamepadsEfl.cpp
89 platform/efl/LanguageEfl.cpp
90 platform/efl/LocalizedStringsEfl.cpp
91 platform/efl/LoggingEfl.cpp
92 platform/efl/MIMETypeRegistryEfl.cpp
93 platform/efl/PasteboardEfl.cpp
94 platform/efl/PlatformKeyboardEventEfl.cpp
95 platform/efl/PlatformMouseEventEfl.cpp
96 platform/efl/PlatformScreenEfl.cpp
97 platform/efl/PlatformWheelEventEfl.cpp
98 platform/efl/RenderThemeEfl.cpp
99 platform/efl/ScrollbarEfl.cpp
100 platform/efl/ScrollbarThemeEfl.cpp
101 platform/efl/SharedTimerEfl.cpp
102 platform/efl/SoundEfl.cpp
103 platform/efl/TemporaryLinkStubs.cpp
104 platform/efl/WidgetEfl.cpp
106 platform/geoclue/GeolocationProviderGeoclue1.cpp
107 platform/geoclue/GeolocationProviderGeoclue2.cpp
109 platform/graphics/ImageSource.cpp
110 platform/graphics/WOFFFileFormat.cpp
112 platform/graphics/cairo/BitmapImageCairo.cpp
113 platform/graphics/cairo/CairoUtilities.cpp
114 platform/graphics/cairo/DrawingBufferCairo.cpp
115 platform/graphics/cairo/FontCairo.cpp
116 platform/graphics/cairo/FontCairoHarfbuzzNG.cpp
117 platform/graphics/cairo/GradientCairo.cpp
118 platform/graphics/cairo/GraphicsContextCairo.cpp
119 platform/graphics/cairo/ImageBufferCairo.cpp
120 platform/graphics/cairo/ImageCairo.cpp
121 platform/graphics/cairo/IntRectCairo.cpp
122 platform/graphics/cairo/OwnPtrCairo.cpp
123 platform/graphics/cairo/PathCairo.cpp
124 platform/graphics/cairo/PatternCairo.cpp
125 platform/graphics/cairo/PlatformContextCairo.cpp
126 platform/graphics/cairo/PlatformPathCairo.cpp
127 platform/graphics/cairo/RefPtrCairo.cpp
128 platform/graphics/cairo/TransformationMatrixCairo.cpp
130 platform/graphics/efl/CairoUtilitiesEfl.cpp
131 platform/graphics/efl/EvasGLContext.cpp
132 platform/graphics/efl/EvasGLSurface.cpp
133 platform/graphics/efl/GraphicsContext3DEfl.cpp
134 platform/graphics/efl/GraphicsContext3DPrivate.cpp
135 platform/graphics/efl/IconEfl.cpp
136 platform/graphics/efl/ImageEfl.cpp
137 platform/graphics/efl/IntPointEfl.cpp
138 platform/graphics/efl/IntRectEfl.cpp
140 platform/graphics/freetype/FontCacheFreeType.cpp
141 platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp
142 platform/graphics/freetype/FontPlatformDataFreeType.cpp
143 platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp
144 platform/graphics/freetype/SimpleFontDataFreeType.cpp
146 platform/graphics/gstreamer/AudioTrackPrivateGStreamer.cpp
147 platform/graphics/gstreamer/GRefPtrGStreamer.cpp
148 platform/graphics/gstreamer/GStreamerUtilities.cpp
149 platform/graphics/gstreamer/ImageGStreamerCairo.cpp
150 platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp
151 platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
152 platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
153 platform/graphics/gstreamer/MediaSourceGStreamer.cpp
154 platform/graphics/gstreamer/SourceBufferPrivateGStreamer.cpp
155 platform/graphics/gstreamer/TextCombinerGStreamer.cpp
156 platform/graphics/gstreamer/TextSinkGStreamer.cpp
157 platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp
158 platform/graphics/gstreamer/VideoSinkGStreamer.cpp
159 platform/graphics/gstreamer/VideoTrackPrivateGStreamer.cpp
160 platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp
161 platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
163 platform/graphics/harfbuzz/HarfBuzzFace.cpp
164 platform/graphics/harfbuzz/HarfBuzzFaceCairo.cpp
165 platform/graphics/harfbuzz/HarfBuzzShaper.cpp
167 platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
168 platform/graphics/opengl/GLPlatformContext.cpp
169 platform/graphics/opengl/GLPlatformSurface.cpp
170 platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
171 platform/graphics/opengl/TemporaryOpenGLSetting.cpp
173 platform/graphics/opentype/OpenTypeVerticalData.cpp
175 platform/graphics/surfaces/GLTransportSurface.cpp
176 platform/graphics/surfaces/GraphicsSurface.cpp
178 platform/graphics/surfaces/efl/GraphicsSurfaceCommon.cpp
180 platform/graphics/surfaces/glx/X11Helper.cpp
182 platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
183 platform/graphics/texmap/TextureMapperGL.cpp
184 platform/graphics/texmap/TextureMapperShaderProgram.cpp
186 platform/graphics/texmap/coordinated/AreaAllocator.cpp
187 platform/graphics/texmap/coordinated/CompositingCoordinator.cpp
188 platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp
189 platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
190 platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp
191 platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp
192 platform/graphics/texmap/coordinated/CoordinatedSurface.cpp
193 platform/graphics/texmap/coordinated/CoordinatedTile.cpp
194 platform/graphics/texmap/coordinated/UpdateAtlas.cpp
196 platform/image-decoders/ImageDecoder.cpp
198 platform/image-decoders/bmp/BMPImageDecoder.cpp
199 platform/image-decoders/bmp/BMPImageReader.cpp
201 platform/image-decoders/cairo/ImageDecoderCairo.cpp
203 platform/image-decoders/gif/GIFImageDecoder.cpp
204 platform/image-decoders/gif/GIFImageReader.cpp
206 platform/image-decoders/ico/ICOImageDecoder.cpp
208 platform/image-decoders/jpeg/JPEGImageDecoder.cpp
210 platform/image-decoders/png/PNGImageDecoder.cpp
212 platform/image-decoders/webp/WEBPImageDecoder.cpp
214 platform/linux/GamepadDeviceLinux.cpp
216 platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp
218 platform/network/efl/NetworkStateNotifierEfl.cpp
220 platform/network/soup/AuthenticationChallengeSoup.cpp
221 platform/network/soup/CertificateInfo.cpp
222 platform/network/soup/CookieJarSoup.cpp
223 platform/network/soup/CookieStorageSoup.cpp
224 platform/network/soup/CredentialStorageSoup.cpp
225 platform/network/soup/DNSSoup.cpp
226 platform/network/soup/NetworkStorageSessionSoup.cpp
227 platform/network/soup/ProxyResolverSoup.cpp
228 platform/network/soup/ProxyServerSoup.cpp
229 platform/network/soup/ResourceErrorSoup.cpp
230 platform/network/soup/ResourceHandleSoup.cpp
231 platform/network/soup/ResourceRequestSoup.cpp
232 platform/network/soup/ResourceResponseSoup.cpp
233 platform/network/soup/SocketStreamHandleSoup.cpp
234 platform/network/soup/SoupNetworkSession.cpp
235 platform/network/soup/SynchronousLoaderClientSoup.cpp
237 platform/posix/FileSystemPOSIX.cpp
238 platform/posix/SharedBufferPOSIX.cpp
240 platform/soup/SharedBufferSoup.cpp
241 platform/soup/URLSoup.cpp
243 platform/text/LocaleICU.cpp
245 platform/text/efl/TextBreakIteratorInternalICUEfl.cpp
247 platform/text/enchant/TextCheckerEnchant.cpp
249 plugins/PluginPackageNone.cpp
250 plugins/PluginViewNone.cpp
253 if (WTF_USE_GEOCLUE2)
254 list(APPEND WebCore_SOURCES
255 ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.c
257 execute_process(COMMAND pkg-config --variable dbus_interface geoclue-2.0 OUTPUT_VARIABLE GEOCLUE_DBUS_INTERFACE)
259 OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.c ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.h
260 COMMAND gdbus-codegen --interface-prefix org.freedesktop.GeoClue2. --c-namespace Geoclue --generate-c-code ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface ${GEOCLUE_DBUS_INTERFACE}
264 if (ENABLE_BATTERY_STATUS OR (EFL_REQUIRED_VERSION VERSION_LESS 1.8))
265 list(APPEND WebCore_INCLUDE_DIRECTORIES ${DBUS_INCLUDE_DIRS})
266 list(APPEND WebCore_INCLUDE_DIRECTORIES ${E_DBUS_INCLUDE_DIRS})
267 list(APPEND WebCore_INCLUDE_DIRECTORIES ${E_DBUS_EUKIT_INCLUDE_DIRS})
268 list(APPEND WebCore_LIBRARIES ${DBUS_LIBRARIES})
269 list(APPEND WebCore_LIBRARIES ${E_DBUS_LIBRARIES})
270 list(APPEND WebCore_LIBRARIES ${E_DBUS_EUKIT_LIBRARIES})
273 if (ENABLE_GAMEPAD_DEPRECATED)
274 # FIXME: GAMEPAD_DEPRECATED is legacy implementation. Need to be removed.
275 list(REMOVE_ITEM WebCore_INCLUDE_DIRECTORIES
276 "${WEBCORE_DIR}/Modules/gamepad"
280 list(APPEND WebCore_USER_AGENT_STYLE_SHEETS
281 ${WEBCORE_DIR}/Modules/mediacontrols/mediaControlsApple.css
284 set(WebCore_USER_AGENT_SCRIPTS
285 ${WEBCORE_DIR}/English.lproj/mediaControlsLocalizedStrings.js
286 ${WEBCORE_DIR}/Modules/mediacontrols/mediaControlsApple.js
289 set(WebCore_USER_AGENT_SCRIPTS_DEPENDENCIES ${WEBCORE_DIR}/platform/efl/RenderThemeEfl.cpp)
291 list(APPEND WebCore_LIBRARIES
293 ${ECORE_EVAS_LIBRARIES}
294 ${ECORE_FILE_LIBRARIES}
302 ${FONTCONFIG_LIBRARIES}
303 ${FREETYPE2_LIBRARIES}
305 ${GLIB_GIO_LIBRARIES}
306 ${GLIB_GOBJECT_LIBRARIES}
308 ${HARFBUZZ_LIBRARIES}
319 list(APPEND WebCore_INCLUDE_DIRECTORIES
320 ${CAIRO_INCLUDE_DIRS}
321 ${ECORE_INCLUDE_DIRS}
322 ${ECORE_EVAS_INCLUDE_DIRS}
323 ${ECORE_FILE_INCLUDE_DIRS}
324 ${ECORE_X_INCLUDE_DIRS}
330 ${FREETYPE2_INCLUDE_DIRS}
331 ${GEOCLUE_INCLUDE_DIRS}
332 ${GIO_UNIX_INCLUDE_DIRS}
333 ${LIBXML2_INCLUDE_DIR}
334 ${LIBXSLT_INCLUDE_DIR}
335 ${SQLITE_INCLUDE_DIR}
337 ${LIBSOUP_INCLUDE_DIRS}
339 ${HARFBUZZ_INCLUDE_DIRS}
342 if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
343 list(APPEND WebCore_INCLUDE_DIRECTORIES
344 "${WEBCORE_DIR}/platform/graphics/gstreamer"
346 ${GSTREAMER_INCLUDE_DIRS}
347 ${GSTREAMER_BASE_INCLUDE_DIRS}
348 ${GSTREAMER_APP_INCLUDE_DIRS}
349 ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
352 list(APPEND WebCore_LIBRARIES
353 ${GSTREAMER_APP_LIBRARIES}
354 ${GSTREAMER_BASE_LIBRARIES}
355 ${GSTREAMER_LIBRARIES}
356 ${GSTREAMER_PBUTILS_LIBRARIES}
358 # Avoiding a GLib deprecation warning due to GStreamer API using deprecated classes.
359 set_source_files_properties(platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp PROPERTIES COMPILE_DEFINITIONS "GLIB_DISABLE_DEPRECATION_WARNINGS=1")
363 list(APPEND WebCore_INCLUDE_DIRECTORIES
364 ${GSTREAMER_TAG_INCLUDE_DIRS}
365 ${GSTREAMER_VIDEO_INCLUDE_DIRS}
367 list(APPEND WebCore_LIBRARIES
368 ${GSTREAMER_TAG_LIBRARIES}
369 ${GSTREAMER_VIDEO_LIBRARIES}
372 if (USE_GSTREAMER_MPEGTS)
373 list(APPEND WebCore_INCLUDE_DIRECTORIES
374 ${GSTREAMER_MPEGTS_INCLUDE_DIRS}
377 list(APPEND WebCore_LIBRARIES
378 ${GSTREAMER_MPEGTS_LIBRARIES}
384 list(APPEND WebCore_INCLUDE_DIRECTORIES
386 "${WEBCORE_DIR}/platform/graphics/surfaces/egl"
391 list(APPEND WebCore_SOURCES
392 platform/graphics/surfaces/egl/EGLConfigSelector.cpp
393 platform/graphics/surfaces/egl/EGLContext.cpp
394 platform/graphics/surfaces/egl/EGLHelper.cpp
395 platform/graphics/surfaces/egl/EGLSurface.cpp
396 platform/graphics/surfaces/egl/EGLXSurface.cpp
399 list(APPEND WebCore_SOURCES
400 platform/graphics/surfaces/glx/GLXContext.cpp
401 platform/graphics/surfaces/glx/GLXSurface.cpp
405 if (WTF_USE_OPENGL_ES_2)
406 list(APPEND WebCore_SOURCES
407 platform/graphics/opengl/Extensions3DOpenGLES.cpp
408 platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp
411 list(APPEND WebCore_SOURCES
412 platform/graphics/OpenGLShims.cpp
414 platform/graphics/opengl/Extensions3DOpenGL.cpp
415 platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
420 list(APPEND WebCore_LIBRARIES
423 elseif (X11_Xcomposite_FOUND AND X11_Xrender_FOUND)
424 list(APPEND WebCore_LIBRARIES
425 ${X11_Xcomposite_LIB}
430 if (ENABLE_WEB_AUDIO)
431 list(APPEND WebCore_INCLUDE_DIRECTORIES
432 "${WEBCORE_DIR}/platform/audio/gstreamer"
434 ${GSTREAMER_AUDIO_INCLUDE_DIRS}
435 ${GSTREAMER_FFT_INCLUDE_DIRS}
437 list(APPEND WebCore_LIBRARIES
438 ${GSTREAMER_AUDIO_LIBRARIES}
439 ${GSTREAMER_FFT_LIBRARIES}
441 set(WEB_AUDIO_DIR ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/webaudio/resources)
442 file(GLOB WEB_AUDIO_DATA "${WEBCORE_DIR}/platform/audio/resources/*.wav")
443 install(FILES ${WEB_AUDIO_DATA} DESTINATION ${WEB_AUDIO_DIR})
444 add_definitions(-DUNINSTALLED_AUDIO_RESOURCES_DIR="${WEBCORE_DIR}/platform/audio/resources")
447 if (ENABLE_SPELLCHECK)
448 list(APPEND WebCore_INCLUDE_DIRECTORIES
449 ${ENCHANT_INCLUDE_DIRS}
451 list(APPEND WebCore_LIBRARIES
456 if (ENABLE_ACCESSIBILITY)
457 list(APPEND WebCore_INCLUDE_DIRECTORIES
458 "${WEBCORE_DIR}/accessibility/atk"
461 list(APPEND WebCore_LIBRARIES
466 if (ENABLE_SPEECH_SYNTHESIS)
467 list(APPEND WebCore_INCLUDE_DIRECTORIES
468 ${ESPEAK_INCLUDE_DIRS}
470 list(APPEND WebCore_LIBRARIES
473 list(APPEND WebCore_SOURCES
474 platform/efl/PlatformSpeechSynthesizerEfl.cpp
475 platform/efl/PlatformSpeechSynthesisProviderEfl.cpp