[EFL] Utilize espeak as a synthesizer back-end for WebSpeech
[WebKit-https.git] / Source / WebCore / PlatformEfl.cmake
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/opentype"
14     "${WEBCORE_DIR}/platform/graphics/texmap/coordinated"
15     "${WEBCORE_DIR}/platform/linux"
16     "${WEBCORE_DIR}/platform/mediastream/gstreamer"
17     "${WEBCORE_DIR}/platform/mock/mediasource"
18     "${WEBCORE_DIR}/platform/network/soup"
19     "${WEBCORE_DIR}/platform/text/efl"
20     "${WEBCORE_DIR}/plugins/efl"
21 )
22
23 list(APPEND WebCore_SOURCES
24     accessibility/atk/AXObjectCacheAtk.cpp
25     accessibility/atk/AccessibilityObjectAtk.cpp
26     accessibility/atk/WebKitAccessibleHyperlink.cpp
27     accessibility/atk/WebKitAccessibleInterfaceAction.cpp
28     accessibility/atk/WebKitAccessibleInterfaceComponent.cpp
29     accessibility/atk/WebKitAccessibleInterfaceDocument.cpp
30     accessibility/atk/WebKitAccessibleInterfaceEditableText.cpp
31     accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.cpp
32     accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp
33     accessibility/atk/WebKitAccessibleInterfaceImage.cpp
34     accessibility/atk/WebKitAccessibleInterfaceSelection.cpp
35     accessibility/atk/WebKitAccessibleInterfaceTable.cpp
36     accessibility/atk/WebKitAccessibleInterfaceTableCell.cpp
37     accessibility/atk/WebKitAccessibleInterfaceText.cpp
38     accessibility/atk/WebKitAccessibleInterfaceValue.cpp
39     accessibility/atk/WebKitAccessibleUtil.cpp
40     accessibility/atk/WebKitAccessibleWrapperAtk.cpp
41
42     editing/SmartReplace.cpp
43
44     editing/atk/FrameSelectionAtk.cpp
45
46     editing/efl/EditorEfl.cpp
47
48     html/shadow/MediaControlsApple.cpp
49
50     loader/soup/CachedRawResourceSoup.cpp
51     loader/soup/SubresourceLoaderSoup.cpp
52
53     page/efl/DragControllerEfl.cpp
54     page/efl/EventHandlerEfl.cpp
55
56     page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.cpp
57     page/scrolling/coordinatedgraphics/ScrollingStateNodeCoordinatedGraphics.cpp
58     page/scrolling/coordinatedgraphics/ScrollingStateScrollingNodeCoordinatedGraphics.cpp
59
60     platform/ContextMenuItemNone.cpp
61     platform/ContextMenuNone.cpp
62     platform/Cursor.cpp
63
64     platform/audio/efl/AudioBusEfl.cpp
65
66     platform/audio/gstreamer/AudioDestinationGStreamer.cpp
67     platform/audio/gstreamer/AudioFileReaderGStreamer.cpp
68     platform/audio/gstreamer/FFTFrameGStreamer.cpp
69     platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp
70
71     platform/cairo/WidgetBackingStoreCairo.cpp
72
73     platform/efl/BatteryProviderEfl.cpp
74     platform/efl/CursorEfl.cpp
75     platform/efl/DragDataEfl.cpp
76     platform/efl/DragImageEfl.cpp
77     platform/efl/EflInspectorUtilities.cpp
78     platform/efl/EflKeyboardUtilities.cpp
79     platform/efl/EflScreenUtilities.cpp
80     platform/efl/ErrorsEfl.cpp
81     platform/efl/EventLoopEfl.cpp
82     platform/efl/FileSystemEfl.cpp
83     platform/efl/GamepadsEfl.cpp
84     platform/efl/LanguageEfl.cpp
85     platform/efl/LocalizedStringsEfl.cpp
86     platform/efl/LoggingEfl.cpp
87     platform/efl/MIMETypeRegistryEfl.cpp
88     platform/efl/PasteboardEfl.cpp
89     platform/efl/PlatformKeyboardEventEfl.cpp
90     platform/efl/PlatformMouseEventEfl.cpp
91     platform/efl/PlatformScreenEfl.cpp
92     platform/efl/PlatformWheelEventEfl.cpp
93     platform/efl/RenderThemeEfl.cpp
94     platform/efl/ScrollbarEfl.cpp
95     platform/efl/ScrollbarThemeEfl.cpp
96     platform/efl/SharedTimerEfl.cpp
97     platform/efl/SoundEfl.cpp
98     platform/efl/TemporaryLinkStubs.cpp
99     platform/efl/WidgetEfl.cpp
100
101     platform/geoclue/GeolocationProviderGeoclue1.cpp
102     platform/geoclue/GeolocationProviderGeoclue2.cpp
103
104     platform/graphics/ImageSource.cpp
105     platform/graphics/WOFFFileFormat.cpp
106
107     platform/graphics/cairo/BitmapImageCairo.cpp
108     platform/graphics/cairo/CairoUtilities.cpp
109     platform/graphics/cairo/FontCairo.cpp
110     platform/graphics/cairo/FontCairoHarfbuzzNG.cpp
111     platform/graphics/cairo/GradientCairo.cpp
112     platform/graphics/cairo/GraphicsContextCairo.cpp
113     platform/graphics/cairo/ImageBufferCairo.cpp
114     platform/graphics/cairo/ImageCairo.cpp
115     platform/graphics/cairo/IntRectCairo.cpp
116     platform/graphics/cairo/OwnPtrCairo.cpp
117     platform/graphics/cairo/PathCairo.cpp
118     platform/graphics/cairo/PatternCairo.cpp
119     platform/graphics/cairo/PlatformContextCairo.cpp
120     platform/graphics/cairo/PlatformPathCairo.cpp
121     platform/graphics/cairo/RefPtrCairo.cpp
122     platform/graphics/cairo/TransformationMatrixCairo.cpp
123
124     platform/graphics/efl/CairoUtilitiesEfl.cpp
125     platform/graphics/efl/IconEfl.cpp
126     platform/graphics/efl/ImageEfl.cpp
127     platform/graphics/efl/IntPointEfl.cpp
128     platform/graphics/efl/IntRectEfl.cpp
129
130     platform/graphics/freetype/FontCacheFreeType.cpp
131     platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp
132     platform/graphics/freetype/FontPlatformDataFreeType.cpp
133     platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp
134     platform/graphics/freetype/SimpleFontDataFreeType.cpp
135
136     platform/graphics/gstreamer/AudioTrackPrivateGStreamer.cpp
137     platform/graphics/gstreamer/GRefPtrGStreamer.cpp
138     platform/graphics/gstreamer/GStreamerUtilities.cpp
139     platform/graphics/gstreamer/ImageGStreamerCairo.cpp
140     platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.cpp
141     platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
142     platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
143     platform/graphics/gstreamer/MediaSourceGStreamer.cpp
144     platform/graphics/gstreamer/SourceBufferPrivateGStreamer.cpp
145     platform/graphics/gstreamer/TextCombinerGStreamer.cpp
146     platform/graphics/gstreamer/TextSinkGStreamer.cpp
147     platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp
148     platform/graphics/gstreamer/VideoSinkGStreamer.cpp
149     platform/graphics/gstreamer/VideoTrackPrivateGStreamer.cpp
150     platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp
151     platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
152
153     platform/graphics/harfbuzz/HarfBuzzFace.cpp
154     platform/graphics/harfbuzz/HarfBuzzFaceCairo.cpp
155     platform/graphics/harfbuzz/HarfBuzzShaper.cpp
156
157     platform/graphics/opentype/OpenTypeVerticalData.cpp
158
159     platform/graphics/texmap/coordinated/AreaAllocator.cpp
160     platform/graphics/texmap/coordinated/CompositingCoordinator.cpp
161     platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp
162     platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
163     platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp
164     platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp
165     platform/graphics/texmap/coordinated/CoordinatedSurface.cpp
166     platform/graphics/texmap/coordinated/CoordinatedTile.cpp
167     platform/graphics/texmap/coordinated/UpdateAtlas.cpp
168
169     platform/image-decoders/ImageDecoder.cpp
170
171     platform/image-decoders/bmp/BMPImageDecoder.cpp
172     platform/image-decoders/bmp/BMPImageReader.cpp
173
174     platform/image-decoders/cairo/ImageDecoderCairo.cpp
175
176     platform/image-decoders/gif/GIFImageDecoder.cpp
177     platform/image-decoders/gif/GIFImageReader.cpp
178
179     platform/image-decoders/ico/ICOImageDecoder.cpp
180
181     platform/image-decoders/jpeg/JPEGImageDecoder.cpp
182
183     platform/image-decoders/png/PNGImageDecoder.cpp
184
185     platform/image-decoders/webp/WEBPImageDecoder.cpp
186
187     platform/linux/GamepadDeviceLinux.cpp
188
189     platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp
190
191     platform/network/efl/NetworkStateNotifierEfl.cpp
192
193     platform/network/soup/AuthenticationChallengeSoup.cpp
194     platform/network/soup/CertificateInfo.cpp
195     platform/network/soup/CookieJarSoup.cpp
196     platform/network/soup/CookieStorageSoup.cpp
197     platform/network/soup/CredentialStorageSoup.cpp
198     platform/network/soup/DNSSoup.cpp
199     platform/network/soup/NetworkStorageSessionSoup.cpp
200     platform/network/soup/ProxyResolverSoup.cpp
201     platform/network/soup/ProxyServerSoup.cpp
202     platform/network/soup/ResourceErrorSoup.cpp
203     platform/network/soup/ResourceHandleSoup.cpp
204     platform/network/soup/ResourceRequestSoup.cpp
205     platform/network/soup/ResourceResponseSoup.cpp
206     platform/network/soup/SocketStreamHandleSoup.cpp
207     platform/network/soup/SoupNetworkSession.cpp
208     platform/network/soup/SynchronousLoaderClientSoup.cpp
209
210     platform/posix/FileSystemPOSIX.cpp
211     platform/posix/SharedBufferPOSIX.cpp
212
213     platform/soup/SharedBufferSoup.cpp
214     platform/soup/URLSoup.cpp
215
216     platform/text/LocaleICU.cpp
217
218     platform/text/efl/TextBreakIteratorInternalICUEfl.cpp
219
220     platform/text/enchant/TextCheckerEnchant.cpp
221
222     plugins/PluginPackageNone.cpp
223     plugins/PluginViewNone.cpp
224 )
225
226 if (WTF_USE_GEOCLUE2)
227     list(APPEND WebCore_SOURCES
228         ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.c
229     )
230     execute_process(COMMAND pkg-config --variable dbus_interface geoclue-2.0 OUTPUT_VARIABLE GEOCLUE_DBUS_INTERFACE)
231     add_custom_command(
232          OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.c ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.h
233          COMMAND gdbus-codegen --interface-prefix org.freedesktop.GeoClue2. --c-namespace Geoclue --generate-c-code ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface ${GEOCLUE_DBUS_INTERFACE}
234     )
235 endif ()
236
237 if (ENABLE_BATTERY_STATUS OR (EFL_REQUIRED_VERSION VERSION_LESS 1.8))
238     list(APPEND WebCore_INCLUDE_DIRECTORIES ${DBUS_INCLUDE_DIRS})
239     list(APPEND WebCore_INCLUDE_DIRECTORIES ${E_DBUS_INCLUDE_DIRS})
240     list(APPEND WebCore_INCLUDE_DIRECTORIES ${E_DBUS_EUKIT_INCLUDE_DIRS})
241     list(APPEND WebCore_LIBRARIES ${DBUS_LIBRARIES})
242     list(APPEND WebCore_LIBRARIES ${E_DBUS_LIBRARIES})
243     list(APPEND WebCore_LIBRARIES ${E_DBUS_EUKIT_LIBRARIES})
244 endif ()
245
246 if (ENABLE_GAMEPAD_DEPRECATED)
247     # FIXME: GAMEPAD_DEPRECATED is legacy implementation. Need to be removed.
248     list(REMOVE_ITEM WebCore_INCLUDE_DIRECTORIES
249         "${WEBCORE_DIR}/Modules/gamepad"
250     )
251 endif ()
252
253 list(APPEND WebCore_USER_AGENT_STYLE_SHEETS
254     ${WEBCORE_DIR}/Modules/mediacontrols/mediaControlsApple.css
255 )
256
257 if (WTF_USE_TEXTURE_MAPPER)
258     list(APPEND WebCore_SOURCES
259         platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
260     )
261 endif ()
262
263 set(WebCore_USER_AGENT_SCRIPTS
264     ${WEBCORE_DIR}/English.lproj/mediaControlsLocalizedStrings.js
265     ${WEBCORE_DIR}/Modules/mediacontrols/mediaControlsApple.js
266 )
267
268 set(WebCore_USER_AGENT_SCRIPTS_DEPENDENCIES ${WEBCORE_DIR}/platform/efl/RenderThemeEfl.cpp)
269
270 list(APPEND WebCore_LIBRARIES
271     ${CAIRO_LIBRARIES}
272     ${ECORE_EVAS_LIBRARIES}
273     ${ECORE_FILE_LIBRARIES}
274     ${ECORE_LIBRARIES}
275     ${ECORE_X_LIBRARIES}
276     ${EDJE_LIBRARIES}
277     ${EEZE_LIBRARIES}
278     ${EINA_LIBRARIES}
279     ${EO_LIBRARIES}
280     ${EVAS_LIBRARIES}
281     ${FONTCONFIG_LIBRARIES}
282     ${FREETYPE2_LIBRARIES}
283     ${GEOCLUE_LIBRARIES}
284     ${GLIB_GIO_LIBRARIES}
285     ${GLIB_GOBJECT_LIBRARIES}
286     ${GLIB_LIBRARIES}
287     ${HARFBUZZ_LIBRARIES}
288     ${JPEG_LIBRARIES}
289     ${LIBSOUP_LIBRARIES}
290     ${LIBXML2_LIBRARIES}
291     ${LIBXSLT_LIBRARIES}
292     ${PNG_LIBRARIES}
293     ${SQLITE_LIBRARIES}
294     ${ZLIB_LIBRARIES}
295 )
296
297 list(APPEND WebCore_INCLUDE_DIRECTORIES
298     ${CAIRO_INCLUDE_DIRS}
299     ${ECORE_INCLUDE_DIRS}
300     ${ECORE_EVAS_INCLUDE_DIRS}
301     ${ECORE_FILE_INCLUDE_DIRS}
302     ${ECORE_X_INCLUDE_DIRS}
303     ${EO_INCLUDE_DIRS}
304     ${EDJE_INCLUDE_DIRS}
305     ${EEZE_INCLUDE_DIRS}
306     ${EINA_INCLUDE_DIRS}
307     ${EVAS_INCLUDE_DIRS}
308     ${FREETYPE2_INCLUDE_DIRS}
309     ${GEOCLUE_INCLUDE_DIRS}
310     ${GIO_UNIX_INCLUDE_DIRS}
311     ${LIBXML2_INCLUDE_DIR}
312     ${LIBXSLT_INCLUDE_DIR}
313     ${SQLITE_INCLUDE_DIR}
314     ${GLIB_INCLUDE_DIRS}
315     ${LIBSOUP_INCLUDE_DIRS}
316     ${ZLIB_INCLUDE_DIRS}
317     ${HARFBUZZ_INCLUDE_DIRS}
318 )
319
320 if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
321     list(APPEND WebCore_INCLUDE_DIRECTORIES
322         "${WEBCORE_DIR}/platform/graphics/gstreamer"
323
324         ${GSTREAMER_INCLUDE_DIRS}
325         ${GSTREAMER_BASE_INCLUDE_DIRS}
326         ${GSTREAMER_APP_INCLUDE_DIRS}
327         ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
328     )
329
330     list(APPEND WebCore_LIBRARIES
331         ${GSTREAMER_APP_LIBRARIES}
332         ${GSTREAMER_BASE_LIBRARIES}
333         ${GSTREAMER_LIBRARIES}
334         ${GSTREAMER_PBUTILS_LIBRARIES}
335     )
336     # Avoiding a GLib deprecation warning due to GStreamer API using deprecated classes.
337     set_source_files_properties(platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp PROPERTIES COMPILE_DEFINITIONS "GLIB_DISABLE_DEPRECATION_WARNINGS=1")
338 endif ()
339
340 if (ENABLE_VIDEO)
341     list(APPEND WebCore_INCLUDE_DIRECTORIES
342         ${GSTREAMER_TAG_INCLUDE_DIRS}
343         ${GSTREAMER_VIDEO_INCLUDE_DIRS}
344     )
345     list(APPEND WebCore_LIBRARIES
346         ${GSTREAMER_TAG_LIBRARIES}
347         ${GSTREAMER_VIDEO_LIBRARIES}
348     )
349
350     if (USE_GSTREAMER_MPEGTS)
351         list(APPEND WebCore_INCLUDE_DIRECTORIES
352             ${GSTREAMER_MPEGTS_INCLUDE_DIRS}
353         )
354
355         list(APPEND WebCore_LIBRARIES
356             ${GSTREAMER_MPEGTS_LIBRARIES}
357         )
358     endif ()
359 endif ()
360
361 if (WTF_USE_3D_GRAPHICS)
362     list(APPEND WebCore_INCLUDE_DIRECTORIES
363         "${WEBCORE_DIR}/platform/graphics/opengl"
364         "${WEBCORE_DIR}/platform/graphics/surfaces"
365         "${WEBCORE_DIR}/platform/graphics/surfaces/efl"
366         "${WEBCORE_DIR}/platform/graphics/surfaces/glx"
367         "${WEBCORE_DIR}/platform/graphics/texmap"
368     )
369
370     if (WTF_USE_EGL)
371         list(APPEND WebCore_INCLUDE_DIRECTORIES
372             ${EGL_INCLUDE_DIR}
373             "${WEBCORE_DIR}/platform/graphics/surfaces/egl"
374     )
375     endif ()
376
377     list(APPEND WebCore_SOURCES
378         platform/graphics/cairo/DrawingBufferCairo.cpp
379
380         platform/graphics/efl/EvasGLContext.cpp
381         platform/graphics/efl/EvasGLSurface.cpp
382         platform/graphics/efl/GraphicsContext3DEfl.cpp
383         platform/graphics/efl/GraphicsContext3DPrivate.cpp
384
385         platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
386         platform/graphics/opengl/GLPlatformContext.cpp
387         platform/graphics/opengl/GLPlatformSurface.cpp
388         platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
389         platform/graphics/opengl/TemporaryOpenGLSetting.cpp
390
391         platform/graphics/surfaces/GLTransportSurface.cpp
392         platform/graphics/surfaces/GraphicsSurface.cpp
393
394         platform/graphics/surfaces/efl/GraphicsSurfaceCommon.cpp
395
396         platform/graphics/surfaces/glx/X11Helper.cpp
397
398         platform/graphics/texmap/TextureMapperGL.cpp
399         platform/graphics/texmap/TextureMapperShaderProgram.cpp
400     )
401
402     if (WTF_USE_EGL)
403         list(APPEND WebCore_SOURCES
404             platform/graphics/surfaces/egl/EGLConfigSelector.cpp
405             platform/graphics/surfaces/egl/EGLContext.cpp
406             platform/graphics/surfaces/egl/EGLHelper.cpp
407             platform/graphics/surfaces/egl/EGLSurface.cpp
408             platform/graphics/surfaces/egl/EGLXSurface.cpp
409         )
410     else ()
411         list(APPEND WebCore_SOURCES
412             platform/graphics/surfaces/glx/GLXContext.cpp
413             platform/graphics/surfaces/glx/GLXSurface.cpp
414         )
415     endif ()
416
417     if (WTF_USE_OPENGL_ES_2)
418         list(APPEND WebCore_SOURCES
419             platform/graphics/opengl/Extensions3DOpenGLES.cpp
420             platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp
421         )
422     else ()
423         list(APPEND WebCore_SOURCES
424             platform/graphics/OpenGLShims.cpp
425
426             platform/graphics/opengl/Extensions3DOpenGL.cpp
427             platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
428         )
429     endif ()
430
431     list(APPEND WebCore_LIBRARIES
432         ${X11_X11_LIB}
433     )
434
435     if (WTF_USE_EGL)
436         list(APPEND WebCore_LIBRARIES
437             ${EGL_LIBRARY}
438         )
439     elseif (X11_Xcomposite_FOUND AND X11_Xrender_FOUND)
440         list(APPEND WebCore_LIBRARIES
441             ${X11_Xcomposite_LIB}
442             ${X11_Xrender_LIB}
443         )
444     endif ()
445 endif ()
446
447 if (ENABLE_WEB_AUDIO)
448     list(APPEND WebCore_INCLUDE_DIRECTORIES
449         "${WEBCORE_DIR}/platform/audio/gstreamer"
450
451         ${GSTREAMER_AUDIO_INCLUDE_DIRS}
452         ${GSTREAMER_FFT_INCLUDE_DIRS}
453     )
454     list(APPEND WebCore_LIBRARIES
455         ${GSTREAMER_AUDIO_LIBRARIES}
456         ${GSTREAMER_FFT_LIBRARIES}
457     )
458     set(WEB_AUDIO_DIR ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/webaudio/resources)
459     file(GLOB WEB_AUDIO_DATA "${WEBCORE_DIR}/platform/audio/resources/*.wav")
460     install(FILES ${WEB_AUDIO_DATA} DESTINATION ${WEB_AUDIO_DIR})
461     add_definitions(-DUNINSTALLED_AUDIO_RESOURCES_DIR="${WEBCORE_DIR}/platform/audio/resources")
462 endif ()
463
464 if (ENABLE_SPELLCHECK)
465     list(APPEND WebCore_INCLUDE_DIRECTORIES
466         ${ENCHANT_INCLUDE_DIRS}
467     )
468     list(APPEND WebCore_LIBRARIES
469         ${ENCHANT_LIBRARIES}
470     )
471 endif ()
472
473 if (ENABLE_ACCESSIBILITY)
474     list(APPEND WebCore_INCLUDE_DIRECTORIES
475         "${WEBCORE_DIR}/accessibility/atk"
476         ${ATK_INCLUDE_DIRS}
477     )
478     list(APPEND WebCore_LIBRARIES
479         ${ATK_LIBRARIES}
480     )
481 endif ()
482
483 if (ENABLE_SPEECH_SYNTHESIS)
484     list(APPEND WebCore_INCLUDE_DIRECTORIES
485         ${ESPEAK_INCLUDE_DIRS}
486     )
487     list(APPEND WebCore_LIBRARIES
488         ${ESPEAK_LIBRARIES}
489     )
490     list(APPEND WebCore_SOURCES
491         platform/efl/PlatformSpeechSynthesizerEfl.cpp
492         platform/efl/PlatformSpeechSynthesisProviderEfl.cpp
493     )
494 endif ()