[ews-app] configure localhost as BUILDBOT_SERVER_HOST in testing mode
[WebKit-https.git] / Tools / CMakeLists.txt
index 41ff99a..516649c 100644 (file)
@@ -1,34 +1,9 @@
-if (ENABLE_WEBKIT2)
-    add_subdirectory(WebKitTestRunner)
-endif ()
-
-if ("${PORT}" STREQUAL "Efl")
-    add_subdirectory(ImageDiff)
-    add_subdirectory(EWebLauncher/ControlTheme)
+set_property(DIRECTORY . PROPERTY FOLDER "Tools")
+include(frameworks/WTF)
 
-    if (ENABLE_WEBKIT)
-        add_subdirectory(DumpRenderTree)
-        add_subdirectory(EWebLauncher)
-    endif ()
-
-    if (ENABLE_WEBKIT2)
-        add_subdirectory(MiniBrowser/efl)
-    endif ()
-    add_subdirectory(DumpRenderTree/TestNetscapePlugIn)
-elseif ("${PORT}" STREQUAL "GTK")
-    add_subdirectory(ImageDiff)
-    if (ENABLE_WEBKIT2)
-        add_subdirectory(MiniBrowser/gtk)
-    endif ()
-    if (ENABLE_WEBKIT)
-        add_subdirectory(GtkLauncher)
-        add_subdirectory(DumpRenderTree)
-    endif ()
-    add_subdirectory(DumpRenderTree/TestNetscapePlugIn)
-elseif ("${PORT}" STREQUAL "WinCE")
-    add_subdirectory(WinCELauncher)
-endif ()
+# Individual subdirectories are added in the port's cmake file
+WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
 
-if (ENABLE_WEBKIT2 AND ENABLE_API_TESTS)
+if (ENABLE_API_TESTS)
     add_subdirectory(TestWebKitAPI)
 endif ()