[iOS] Remove unused pre-iOS 11 codepaths for writing to the pasteboard
[WebKit.git] / Source / CMakeLists.txt
index ada45a3..31fcd89 100644 (file)
@@ -1,8 +1,7 @@
 # -----------------------------------------------------------------------------
 # Add module directories
 # -----------------------------------------------------------------------------
-# FIXME: Port bmalloc to Windows. https://bugs.webkit.org/show_bug.cgi?id=143310
-if (NOT WIN32)
+if (NOT USE_SYSTEM_MALLOC)
     add_subdirectory(bmalloc)
 endif ()
 
@@ -10,8 +9,6 @@ add_subdirectory(WTF)
 
 add_subdirectory(JavaScriptCore)
 
-add_subdirectory(WebCore)
-
 if (WIN32 AND ENABLE_GRAPHICS_CONTEXT_3D)
     add_subdirectory(ThirdParty/ANGLE)
 endif ()
@@ -20,29 +17,29 @@ if (ENABLE_API_TESTS)
     add_subdirectory(ThirdParty/gtest)
 endif ()
 
-if (ENABLE_WEBKIT)
-    add_subdirectory(WebKit)
+if (USE_WOFF2)
+    add_subdirectory(ThirdParty/brotli)
+    add_subdirectory(ThirdParty/woff2)
 endif ()
 
-if (ENABLE_WEBKIT2)
-    add_subdirectory(WebKit2)
+if (USE_XDGMIME)
+    add_subdirectory(ThirdParty/xdgmime)
 endif ()
 
-WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
+if (ENABLE_WEBCORE)
+    add_subdirectory(WebCore)
+endif ()
 
-# -----------------------------------------------------------------------------
-# Set compiler flags for all targets
-# -----------------------------------------------------------------------------
-WEBKIT_SET_EXTRA_COMPILER_FLAGS(bmalloc ${ADDITIONAL_COMPILER_FLAGS})
-WEBKIT_SET_EXTRA_COMPILER_FLAGS(WTF ${ADDITIONAL_COMPILER_FLAGS})
-WEBKIT_SET_EXTRA_COMPILER_FLAGS(JavaScriptCore ${ADDITIONAL_COMPILER_FLAGS})
-WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCoreTestSupport ${ADDITIONAL_COMPILER_FLAGS})
-WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCore ${ADDITIONAL_COMPILER_FLAGS})
+if (ENABLE_WEBKIT_LEGACY)
+    add_subdirectory(WebKitLegacy)
+endif ()
 
 if (ENABLE_WEBKIT)
-    WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit ${ADDITIONAL_COMPILER_FLAGS})
+    add_subdirectory(WebKit)
 endif ()
 
-if (ENABLE_WEBKIT2)
-    WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit2 ${ADDITIONAL_COMPILER_FLAGS})
+if (ENABLE_WEBDRIVER)
+    add_subdirectory(WebDriver)
 endif ()
+
+WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()