[EFL] Add OpenWebRTC in jhbuild
[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/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"
26 )
27
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
46
47     editing/SmartReplace.cpp
48
49     editing/atk/FrameSelectionAtk.cpp
50
51     editing/efl/EditorEfl.cpp
52
53     html/shadow/MediaControlsApple.cpp
54
55     loader/soup/CachedRawResourceSoup.cpp
56     loader/soup/SubresourceLoaderSoup.cpp
57
58     page/efl/DragControllerEfl.cpp
59     page/efl/EventHandlerEfl.cpp
60
61     page/scrolling/AxisScrollSnapOffsets.cpp
62
63     page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.cpp
64     page/scrolling/coordinatedgraphics/ScrollingStateNodeCoordinatedGraphics.cpp
65     page/scrolling/coordinatedgraphics/ScrollingStateScrollingNodeCoordinatedGraphics.cpp
66
67     platform/ContextMenuItemNone.cpp
68     platform/ContextMenuNone.cpp
69     platform/Cursor.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/WOFFFileFormat.cpp
112
113     platform/graphics/cairo/BackingStoreBackendCairoImpl.cpp
114     platform/graphics/cairo/BitmapImageCairo.cpp
115     platform/graphics/cairo/CairoUtilities.cpp
116     platform/graphics/cairo/FontCairo.cpp
117     platform/graphics/cairo/FontCairoHarfbuzzNG.cpp
118     platform/graphics/cairo/GradientCairo.cpp
119     platform/graphics/cairo/GraphicsContextCairo.cpp
120     platform/graphics/cairo/ImageBufferCairo.cpp
121     platform/graphics/cairo/ImageCairo.cpp
122     platform/graphics/cairo/IntRectCairo.cpp
123     platform/graphics/cairo/OwnPtrCairo.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/GraphicsLayerTextureMapper.cpp
184     platform/graphics/texmap/TextureMapperGL.cpp
185     platform/graphics/texmap/TextureMapperShaderProgram.cpp
186
187     platform/graphics/texmap/coordinated/AreaAllocator.cpp
188     platform/graphics/texmap/coordinated/CompositingCoordinator.cpp
189     platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
190     platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp
191     platform/graphics/texmap/coordinated/CoordinatedSurface.cpp
192     platform/graphics/texmap/coordinated/CoordinatedTile.cpp
193     platform/graphics/texmap/coordinated/UpdateAtlas.cpp
194
195     platform/image-decoders/ImageDecoder.cpp
196
197     platform/image-decoders/bmp/BMPImageDecoder.cpp
198     platform/image-decoders/bmp/BMPImageReader.cpp
199
200     platform/image-decoders/cairo/ImageDecoderCairo.cpp
201
202     platform/image-decoders/gif/GIFImageDecoder.cpp
203     platform/image-decoders/gif/GIFImageReader.cpp
204
205     platform/image-decoders/ico/ICOImageDecoder.cpp
206
207     platform/image-decoders/jpeg/JPEGImageDecoder.cpp
208
209     platform/image-decoders/png/PNGImageDecoder.cpp
210
211     platform/image-decoders/webp/WEBPImageDecoder.cpp
212
213     platform/linux/GamepadDeviceLinux.cpp
214     platform/linux/MemoryPressureHandlerLinux.cpp
215
216     platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp
217
218     platform/network/efl/NetworkStateNotifierEfl.cpp
219
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
236
237     platform/posix/FileSystemPOSIX.cpp
238     platform/posix/SharedBufferPOSIX.cpp
239
240     platform/soup/SharedBufferSoup.cpp
241     platform/soup/URLSoup.cpp
242
243     platform/text/LocaleICU.cpp
244
245     platform/text/efl/TextBreakIteratorInternalICUEfl.cpp
246
247     platform/text/enchant/TextCheckerEnchant.cpp
248 )
249
250 if (WTF_USE_GEOCLUE2)
251     list(APPEND WebCore_SOURCES
252         ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.c
253     )
254     execute_process(COMMAND pkg-config --variable dbus_interface geoclue-2.0 OUTPUT_VARIABLE GEOCLUE_DBUS_INTERFACE)
255     add_custom_command(
256          OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.c ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.h
257          COMMAND gdbus-codegen --interface-prefix org.freedesktop.GeoClue2. --c-namespace Geoclue --generate-c-code ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface ${GEOCLUE_DBUS_INTERFACE}
258     )
259 endif ()
260
261 if (ENABLE_GAMEPAD_DEPRECATED)
262     # FIXME: GAMEPAD_DEPRECATED is legacy implementation. Need to be removed.
263     list(REMOVE_ITEM WebCore_INCLUDE_DIRECTORIES
264         "${WEBCORE_DIR}/Modules/gamepad"
265     )
266 endif ()
267
268 list(APPEND WebCore_USER_AGENT_STYLE_SHEETS
269     ${WEBCORE_DIR}/Modules/mediacontrols/mediaControlsBase.css
270 )
271
272 set(WebCore_USER_AGENT_SCRIPTS
273     ${WEBCORE_DIR}/English.lproj/mediaControlsLocalizedStrings.js
274     ${WEBCORE_DIR}/Modules/mediacontrols/mediaControlsBase.js
275 )
276
277 set(WebCore_USER_AGENT_SCRIPTS_DEPENDENCIES ${WEBCORE_DIR}/platform/efl/RenderThemeEfl.cpp)
278
279 list(APPEND WebCore_LIBRARIES
280     ${CAIRO_LIBRARIES}
281     ${ECORE_EVAS_LIBRARIES}
282     ${ECORE_FILE_LIBRARIES}
283     ${ECORE_LIBRARIES}
284     ${ECORE_X_LIBRARIES}
285     ${EDJE_LIBRARIES}
286     ${EEZE_LIBRARIES}
287     ${EINA_LIBRARIES}
288     ${ELDBUS_LIBRARIES}
289     ${EO_LIBRARIES}
290     ${EVAS_LIBRARIES}
291     ${FONTCONFIG_LIBRARIES}
292     ${FREETYPE2_LIBRARIES}
293     ${GEOCLUE_LIBRARIES}
294     ${GLIB_GIO_LIBRARIES}
295     ${GLIB_GOBJECT_LIBRARIES}
296     ${GLIB_LIBRARIES}
297     ${HARFBUZZ_LIBRARIES}
298     ${JPEG_LIBRARIES}
299     ${LIBSOUP_LIBRARIES}
300     ${LIBXML2_LIBRARIES}
301     ${LIBXSLT_LIBRARIES}
302     ${PNG_LIBRARIES}
303     ${SQLITE_LIBRARIES}
304     ${WEBP_LIBRARIES}
305     ${X11_X11_LIB}
306     ${ZLIB_LIBRARIES}
307 )
308
309 list(APPEND WebCore_INCLUDE_DIRECTORIES
310     ${CAIRO_INCLUDE_DIRS}
311     ${ECORE_INCLUDE_DIRS}
312     ${ECORE_EVAS_INCLUDE_DIRS}
313     ${ECORE_FILE_INCLUDE_DIRS}
314     ${ECORE_X_INCLUDE_DIRS}
315     ${EO_INCLUDE_DIRS}
316     ${EDJE_INCLUDE_DIRS}
317     ${EEZE_INCLUDE_DIRS}
318     ${EINA_INCLUDE_DIRS}
319     ${ELDBUS_INCLUDE_DIRS}
320     ${EVAS_INCLUDE_DIRS}
321     ${FREETYPE2_INCLUDE_DIRS}
322     ${GEOCLUE_INCLUDE_DIRS}
323     ${GIO_UNIX_INCLUDE_DIRS}
324     ${LIBXML2_INCLUDE_DIR}
325     ${LIBXSLT_INCLUDE_DIR}
326     ${SQLITE_INCLUDE_DIR}
327     ${WEBP_INCLUDE_DIRS}
328     ${GLIB_INCLUDE_DIRS}
329     ${LIBSOUP_INCLUDE_DIRS}
330     ${ZLIB_INCLUDE_DIRS}
331     ${HARFBUZZ_INCLUDE_DIRS}
332 )
333
334 if (ENABLE_MEDIA_STREAM)
335     list(APPEND WebCore_INCLUDE_DIRECTORIES
336         ${OPENWEBRTC_INCLUDE_DIRS}
337     )
338     list(APPEND WebCore_LIBRARIES
339         ${OPENWEBRTC_LIBRARIES}
340     )
341 endif ()
342
343 if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
344     list(APPEND WebCore_INCLUDE_DIRECTORIES
345         "${WEBCORE_DIR}/platform/graphics/gstreamer"
346
347         ${GSTREAMER_INCLUDE_DIRS}
348         ${GSTREAMER_BASE_INCLUDE_DIRS}
349         ${GSTREAMER_APP_INCLUDE_DIRS}
350         ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
351     )
352
353     list(APPEND WebCore_LIBRARIES
354         ${GSTREAMER_APP_LIBRARIES}
355         ${GSTREAMER_BASE_LIBRARIES}
356         ${GSTREAMER_LIBRARIES}
357         ${GSTREAMER_PBUTILS_LIBRARIES}
358         ${GSTREAMER_AUDIO_LIBRARIES}
359     )
360     # Avoiding a GLib deprecation warning due to GStreamer API using deprecated classes.
361     set_source_files_properties(platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp PROPERTIES COMPILE_DEFINITIONS "GLIB_DISABLE_DEPRECATION_WARNINGS=1")
362 endif ()
363
364 if (ENABLE_VIDEO)
365     list(APPEND WebCore_INCLUDE_DIRECTORIES
366         ${GSTREAMER_TAG_INCLUDE_DIRS}
367         ${GSTREAMER_VIDEO_INCLUDE_DIRS}
368     )
369     list(APPEND WebCore_LIBRARIES
370         ${GSTREAMER_TAG_LIBRARIES}
371         ${GSTREAMER_VIDEO_LIBRARIES}
372     )
373
374     if (USE_GSTREAMER_MPEGTS)
375         list(APPEND WebCore_INCLUDE_DIRECTORIES
376             ${GSTREAMER_MPEGTS_INCLUDE_DIRS}
377         )
378
379         list(APPEND WebCore_LIBRARIES
380             ${GSTREAMER_MPEGTS_LIBRARIES}
381         )
382     endif ()
383 endif ()
384
385 if (WTF_USE_EGL)
386     list(APPEND WebCore_INCLUDE_DIRECTORIES
387         ${EGL_INCLUDE_DIR}
388         "${WEBCORE_DIR}/platform/graphics/surfaces/egl"
389     )
390 endif ()
391
392 if (WTF_USE_EGL)
393     list(APPEND WebCore_SOURCES
394         platform/graphics/surfaces/egl/EGLConfigSelector.cpp
395         platform/graphics/surfaces/egl/EGLContext.cpp
396         platform/graphics/surfaces/egl/EGLHelper.cpp
397         platform/graphics/surfaces/egl/EGLSurface.cpp
398         platform/graphics/surfaces/egl/EGLXSurface.cpp
399     )
400 else ()
401     list(APPEND WebCore_SOURCES
402         platform/graphics/surfaces/glx/GLXContext.cpp
403         platform/graphics/surfaces/glx/GLXSurface.cpp
404     )
405 endif ()
406
407 if (WTF_USE_OPENGL_ES_2)
408     list(APPEND WebCore_SOURCES
409         platform/graphics/opengl/Extensions3DOpenGLES.cpp
410         platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp
411     )
412 else ()
413     list(APPEND WebCore_SOURCES
414         platform/graphics/OpenGLShims.cpp
415
416         platform/graphics/opengl/Extensions3DOpenGL.cpp
417         platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
418     )
419 endif ()
420
421 if (WTF_USE_EGL)
422     list(APPEND WebCore_LIBRARIES
423         ${EGL_LIBRARY}
424     )
425 elseif (X11_Xcomposite_FOUND AND X11_Xrender_FOUND)
426     list(APPEND WebCore_LIBRARIES
427         ${X11_Xcomposite_LIB}
428         ${X11_Xrender_LIB}
429     )
430 endif ()
431
432 if (ENABLE_WEB_AUDIO)
433     list(APPEND WebCore_INCLUDE_DIRECTORIES
434         "${WEBCORE_DIR}/platform/audio/gstreamer"
435
436         ${GSTREAMER_AUDIO_INCLUDE_DIRS}
437         ${GSTREAMER_FFT_INCLUDE_DIRS}
438     )
439     list(APPEND WebCore_LIBRARIES
440         ${GSTREAMER_FFT_LIBRARIES}
441     )
442     set(WEB_AUDIO_DIR ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/webaudio/resources)
443     file(GLOB WEB_AUDIO_DATA "${WEBCORE_DIR}/platform/audio/resources/*.wav")
444     install(FILES ${WEB_AUDIO_DATA} DESTINATION ${WEB_AUDIO_DIR})
445     add_definitions(-DUNINSTALLED_AUDIO_RESOURCES_DIR="${WEBCORE_DIR}/platform/audio/resources")
446 endif ()
447
448 if (ENABLE_SPELLCHECK)
449     list(APPEND WebCore_INCLUDE_DIRECTORIES
450         ${ENCHANT_INCLUDE_DIRS}
451     )
452     list(APPEND WebCore_LIBRARIES
453         ${ENCHANT_LIBRARIES}
454     )
455 endif ()
456
457 if (ENABLE_ACCESSIBILITY)
458     list(APPEND WebCore_INCLUDE_DIRECTORIES
459         "${WEBCORE_DIR}/accessibility/atk"
460         ${ATK_INCLUDE_DIRS}
461     )
462     list(APPEND WebCore_LIBRARIES
463         ${ATK_LIBRARIES}
464     )
465 endif ()
466
467 if (ENABLE_SPEECH_SYNTHESIS)
468     list(APPEND WebCore_INCLUDE_DIRECTORIES
469         ${ESPEAK_INCLUDE_DIRS}
470     )
471     list(APPEND WebCore_LIBRARIES
472         ${ESPEAK_LIBRARIES}
473     )
474     list(APPEND WebCore_SOURCES
475         platform/efl/PlatformSpeechSynthesizerEfl.cpp
476         platform/efl/PlatformSpeechSynthesisProviderEfl.cpp
477     )
478 endif ()
479
480 if (ENABLE_SUBTLE_CRYPTO)
481     list(APPEND WebCore_SOURCES
482         crypto/CryptoAlgorithm.cpp
483         crypto/CryptoAlgorithmDescriptionBuilder.cpp
484         crypto/CryptoAlgorithmRegistry.cpp
485         crypto/CryptoKey.cpp
486         crypto/CryptoKeyPair.cpp
487         crypto/SubtleCrypto.cpp
488         crypto/algorithms/CryptoAlgorithmAES_CBC.cpp
489         crypto/algorithms/CryptoAlgorithmAES_KW.cpp
490         crypto/algorithms/CryptoAlgorithmHMAC.cpp
491         crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.cpp
492         crypto/algorithms/CryptoAlgorithmRSA_OAEP.cpp
493         crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp
494         crypto/algorithms/CryptoAlgorithmSHA1.cpp
495         crypto/algorithms/CryptoAlgorithmSHA224.cpp
496         crypto/algorithms/CryptoAlgorithmSHA256.cpp
497         crypto/algorithms/CryptoAlgorithmSHA384.cpp
498         crypto/algorithms/CryptoAlgorithmSHA512.cpp
499
500         crypto/gnutls/CryptoAlgorithmRegistryGnuTLS.cpp
501         crypto/gnutls/CryptoAlgorithmAES_CBCGnuTLS.cpp
502         crypto/gnutls/CryptoAlgorithmAES_KWGnuTLS.cpp
503         crypto/gnutls/CryptoAlgorithmHMACGnuTLS.cpp
504         crypto/gnutls/CryptoAlgorithmRSAES_PKCS1_v1_5GnuTLS.cpp
505         crypto/gnutls/CryptoAlgorithmRSA_OAEPGnuTLS.cpp
506         crypto/gnutls/CryptoAlgorithmRSASSA_PKCS1_v1_5GnuTLS.cpp
507         crypto/gnutls/CryptoDigestGnuTLS.cpp
508         crypto/gnutls/CryptoKeyRSAGnuTLS.cpp
509         crypto/gnutls/SerializedCryptoKeyWrapGnuTLS.cpp
510
511         crypto/keys/CryptoKeyAES.cpp
512         crypto/keys/CryptoKeyDataOctetSequence.cpp
513         crypto/keys/CryptoKeyDataRSAComponents.cpp
514         crypto/keys/CryptoKeyHMAC.cpp
515         crypto/keys/CryptoKeySerializationRaw.cpp
516     )
517
518     list(APPEND WebCore_INCLUDE_DIRECTORIES
519         ${GNUTLS_INCLUDE_DIRS}
520     )
521     list(APPEND WebCore_LIBRARIES
522         ${GNUTLS_LIBRARIES}
523     )
524 endif ()