Unreviewed, reverting r260672.
[WebKit.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 (ENABLE_GRAPHICS_CONTEXT_GL)
17     add_subdirectory(ThirdParty/ANGLE)
18 endif ()
19
20 if (ENABLE_API_TESTS)
21     add_subdirectory(ThirdParty/gtest)
22 endif ()
23
24 if (USE_XDGMIME)
25     add_subdirectory(ThirdParty/xdgmime)
26 endif ()
27
28 if (USE_LIBWEBRTC)
29     add_subdirectory(ThirdParty/libwebrtc)
30 endif ()
31
32 if (ENABLE_WEBCORE)
33     add_subdirectory(WebCore)
34 endif ()
35
36 if (ENABLE_WEBKIT_LEGACY)
37     add_subdirectory(WebKitLegacy)
38 endif ()
39
40 if (ENABLE_WEBKIT)
41     add_subdirectory(WebKit)
42 endif ()
43
44 if (ENABLE_WEBDRIVER)
45     add_subdirectory(WebDriver)
46 endif ()
47
48 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()