Factor mask layer applying in RemoteLayerTreePropertyApplier into a shared function
[WebKit-https.git] / Source / CMakeLists.txt
1 # -----------------------------------------------------------------------------
2 # Add module directories
3 # -----------------------------------------------------------------------------
4 if (NOT USE_SYSTEM_MALLOC)
5     add_subdirectory(bmalloc)
6 endif ()
7
8 add_subdirectory(WTF)
9
10 if (USE_CAPSTONE)
11     add_subdirectory(ThirdParty/capstone)
12 endif ()
13
14 add_subdirectory(JavaScriptCore)
15
16 if (WIN32 AND ENABLE_GRAPHICS_CONTEXT_3D)
17     add_subdirectory(ThirdParty/ANGLE)
18 endif ()
19
20 if (ENABLE_API_TESTS)
21     add_subdirectory(ThirdParty/gtest)
22 endif ()
23
24 if (USE_OPENVR)
25     # OpenVR is compiled with -stdlib=libc++ as default if Clang is used.
26     # Disable USE_LIBCXX not to use -stdlib=libc++.
27     option(USE_LIBCXX "Uses libc++ instead of libstdc++" OFF)
28     add_subdirectory(ThirdParty/openvr)
29 endif ()
30
31 if (USE_XDGMIME)
32     add_subdirectory(ThirdParty/xdgmime)
33 endif ()
34
35 if (USE_LIBWEBRTC)
36     add_subdirectory(ThirdParty/libwebrtc)
37 endif ()
38
39 if (ENABLE_WEBCORE)
40     add_subdirectory(WebCore)
41 endif ()
42
43 if (ENABLE_WEBKIT_LEGACY)
44     add_subdirectory(WebKitLegacy)
45 endif ()
46
47 if (ENABLE_WEBKIT)
48     add_subdirectory(WebKit)
49 endif ()
50
51 if (ENABLE_WEBDRIVER)
52     add_subdirectory(WebDriver)
53 endif ()
54
55 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()