[ews-app] configure localhost as BUILDBOT_SERVER_HOST in testing mode
[WebKit-https.git] / Tools / CMakeLists.txt
index 4d4d597..516649c 100644 (file)
@@ -1,23 +1,9 @@
-if (ENABLE_WEBKIT2)
-    add_subdirectory(WebKitTestRunner)
-endif ()
-
-if ("${PORT}" STREQUAL "Efl")
-    add_subdirectory(ImageDiff)
+set_property(DIRECTORY . PROPERTY FOLDER "Tools")
+include(frameworks/WTF)
 
-    add_subdirectory(MiniBrowser/efl)
-    add_subdirectory(DumpRenderTree/TestNetscapePlugIn)
-elseif ("${PORT}" STREQUAL "GTK")
-    add_subdirectory(ImageDiff)
-    if (ENABLE_WEBKIT2)
-        add_subdirectory(MiniBrowser/gtk)
-        add_subdirectory(TestWebKitAPI/Tests/WebKit2Gtk)
-    endif ()
-    if (ENABLE_X11_TARGET)
-        add_subdirectory(DumpRenderTree/TestNetscapePlugIn)
-    endif ()
-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 ()