[CMake] Make JavaScriptCore headers copies
[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 list(APPEND WebCore_UNIFIED_SOURCE_LIST_FILES
9     "SourcesWPE.txt"
10
11     "platform/SourcesGLib.txt"
12     "platform/SourcesSoup.txt"
13 )
14
15 # Allow building ANGLE on platforms that don't provide X11 headers.
16 list(APPEND ANGLE_PLATFORM_DEFINITIONS "USE_WPE")
17
18 list(APPEND WebCore_INCLUDE_DIRECTORIES
19     "${THIRDPARTY_DIR}/ANGLE/"
20     "${THIRDPARTY_DIR}/ANGLE/include/KHR"
21     "${WEBCORE_DIR}/platform/graphics/egl"
22     "${WEBCORE_DIR}/platform/graphics/epoxy"
23     "${WEBCORE_DIR}/platform/graphics/glx"
24     "${WEBCORE_DIR}/platform/graphics/gstreamer"
25     "${WEBCORE_DIR}/platform/graphics/opengl"
26     "${WEBCORE_DIR}/platform/graphics/opentype"
27     "${WEBCORE_DIR}/platform/graphics/wpe"
28     "${WEBCORE_DIR}/platform/graphics/wayland"
29     "${WEBCORE_DIR}/platform/mock/mediasource"
30     "${WEBCORE_DIR}/platform/network/soup"
31     "${WEBCORE_DIR}/platform/text/icu"
32 )
33
34 list(APPEND WebCore_USER_AGENT_STYLE_SHEETS
35     ${WEBCORE_DIR}/Modules/mediacontrols/mediaControlsBase.css
36 )
37
38 set(WebCore_USER_AGENT_SCRIPTS
39     ${WEBCORE_DIR}/English.lproj/mediaControlsLocalizedStrings.js
40     ${WEBCORE_DIR}/Modules/mediacontrols/mediaControlsBase.js
41 )
42
43 set(WebCore_USER_AGENT_SCRIPTS_DEPENDENCIES ${WEBCORE_DIR}/platform/wpe/RenderThemeWPE.cpp)
44
45 list(APPEND WebCore_LIBRARIES
46     ${CAIRO_LIBRARIES}
47     ${GLIB_GIO_LIBRARIES}
48     ${GLIB_GMODULE_LIBRARIES}
49     ${GLIB_GOBJECT_LIBRARIES}
50     ${GLIB_LIBRARIES}
51     ${ICU_LIBRARIES}
52     ${LIBSOUP_LIBRARIES}
53     ${LIBTASN1_LIBRARIES}
54     ${UPOWERGLIB_LIBRARIES}
55     ${WPE_LIBRARIES}
56 )
57
58 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
59     ${CAIRO_INCLUDE_DIRS}
60     ${GIO_UNIX_INCLUDE_DIRS}
61     ${GLIB_INCLUDE_DIRS}
62     ${ICU_INCLUDE_DIRS}
63     ${LIBSOUP_INCLUDE_DIRS}
64     ${LIBTASN1_INCLUDE_DIRS}
65     ${UPOWERGLIB_INCLUDE_DIRS}
66     ${WPE_INCLUDE_DIRS}
67 )