Forward declare WKWebView in _WKDiagnosticLoggingDelegate.h
[WebKit-https.git] / Source / WebCore / PlatformWPE.cmake
1 include(platform/Cairo.cmake)
2 include(platform/FreeType.cmake)
3 include(platform/GCrypt.cmake)
4 include(platform/GStreamer.cmake)
5 include(platform/ImageDecoders.cmake)
6 include(platform/TextureMapper.cmake)
7
8 if (USE_EXTERNAL_HOLEPUNCH)
9     include(platform/HolePunch.cmake)
10 endif ()
11
12 list(APPEND WebCore_UNIFIED_SOURCE_LIST_FILES
13     "SourcesWPE.txt"
14
15     "platform/SourcesGLib.txt"
16     "platform/SourcesSoup.txt"
17 )
18
19 # Allow building ANGLE on platforms that don't provide X11 headers.
20 list(APPEND ANGLE_PLATFORM_DEFINITIONS "USE_WPE")
21
22 list(APPEND WebCore_INCLUDE_DIRECTORIES
23     "${THIRDPARTY_DIR}/ANGLE/"
24     "${THIRDPARTY_DIR}/ANGLE/include/KHR"
25     "${WEBCORE_DIR}/platform/graphics/egl"
26     "${WEBCORE_DIR}/platform/graphics/epoxy"
27     "${WEBCORE_DIR}/platform/graphics/glx"
28     "${WEBCORE_DIR}/platform/graphics/gstreamer"
29     "${WEBCORE_DIR}/platform/graphics/opengl"
30     "${WEBCORE_DIR}/platform/graphics/opentype"
31     "${WEBCORE_DIR}/platform/graphics/libwpe"
32     "${WEBCORE_DIR}/platform/graphics/wayland"
33     "${WEBCORE_DIR}/platform/mock/mediasource"
34     "${WEBCORE_DIR}/platform/mediacapabilities"
35     "${WEBCORE_DIR}/platform/mediastream/gstreamer"
36     "${WEBCORE_DIR}/platform/network/soup"
37     "${WEBCORE_DIR}/platform/text/icu"
38 )
39
40 list(APPEND WebCore_USER_AGENT_STYLE_SHEETS
41     ${WEBCORE_DIR}/Modules/mediacontrols/mediaControlsBase.css
42 )
43
44 set(WebCore_USER_AGENT_SCRIPTS
45     ${WEBCORE_DIR}/en.lproj/mediaControlsLocalizedStrings.js
46     ${WEBCORE_DIR}/Modules/mediacontrols/mediaControlsBase.js
47 )
48
49 set(WebCore_USER_AGENT_SCRIPTS_DEPENDENCIES ${WEBCORE_DIR}/platform/wpe/RenderThemeWPE.cpp)
50
51 list(APPEND WebCore_LIBRARIES
52     ${CAIRO_LIBRARIES}
53     ${GLIB_GIO_LIBRARIES}
54     ${GLIB_GMODULE_LIBRARIES}
55     ${GLIB_GOBJECT_LIBRARIES}
56     ${GLIB_LIBRARIES}
57     ${ICU_LIBRARIES}
58     ${LIBSOUP_LIBRARIES}
59     ${LIBTASN1_LIBRARIES}
60     ${UPOWERGLIB_LIBRARIES}
61     ${WPE_LIBRARIES}
62 )
63
64 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
65     ${CAIRO_INCLUDE_DIRS}
66     ${GIO_UNIX_INCLUDE_DIRS}
67     ${GLIB_INCLUDE_DIRS}
68     ${ICU_INCLUDE_DIRS}
69     ${LIBSOUP_INCLUDE_DIRS}
70     ${LIBTASN1_INCLUDE_DIRS}
71     ${UPOWERGLIB_INCLUDE_DIRS}
72     ${WPE_INCLUDE_DIRS}
73 )