Make EncryptedMediaAPIEnabled an experimental feature
[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 add_subdirectory(JavaScriptCore)
11
12 if (WIN32 AND ENABLE_GRAPHICS_CONTEXT_3D)
13     add_subdirectory(ThirdParty/ANGLE)
14 endif ()
15
16 if (ENABLE_API_TESTS)
17     add_subdirectory(ThirdParty/gtest)
18 endif ()
19
20 if (USE_OPENVR)
21     # OpenVR is compiled with -stdlib=libc++ as default if Clang is used.
22     # Disable USE_LIBCXX not to use -stdlib=libc++.
23     option(USE_LIBCXX "Uses libc++ instead of libstdc++" OFF)
24     add_subdirectory(ThirdParty/openvr)
25 endif ()
26
27 if (USE_XDGMIME)
28     add_subdirectory(ThirdParty/xdgmime)
29 endif ()
30
31 if (USE_LIBWEBRTC)
32     add_subdirectory(ThirdParty/libwebrtc)
33 endif ()
34
35 if (ENABLE_WEBCORE)
36     add_subdirectory(WebCore)
37 endif ()
38
39 if (ENABLE_WEBKIT_LEGACY)
40     add_subdirectory(WebKitLegacy)
41 endif ()
42
43 if (ENABLE_WEBKIT)
44     add_subdirectory(WebKit)
45 endif ()
46
47 if (ENABLE_WEBDRIVER)
48     add_subdirectory(WebDriver)
49 endif ()
50
51 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()