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