[GTK] [CMake] Add support for building DumpRenderTree
[WebKit-https.git] / Tools / CMakeLists.txt
1 if (ENABLE_WEBKIT2)
2     add_subdirectory(WebKitTestRunner)
3 endif ()
4
5 if ("${PORT}" STREQUAL "Efl")
6     add_subdirectory(ImageDiff)
7     add_subdirectory(EWebLauncher/ControlTheme)
8
9     if (ENABLE_WEBKIT)
10         add_subdirectory(DumpRenderTree)
11         add_subdirectory(EWebLauncher)
12     endif ()
13
14     if (ENABLE_WEBKIT2)
15         add_subdirectory(MiniBrowser/efl)
16     endif ()
17     add_subdirectory(DumpRenderTree/TestNetscapePlugIn)
18 elseif ("${PORT}" STREQUAL "GTK")
19     if (ENABLE_WEBKIT2)
20         add_subdirectory(MiniBrowser/gtk)
21     endif ()
22     if (ENABLE_WEBKIT)
23         add_subdirectory(GtkLauncher)
24         add_subdirectory(DumpRenderTree)
25     endif ()
26     add_subdirectory(DumpRenderTree/TestNetscapePlugIn)
27 elseif ("${PORT}" STREQUAL "WinCE")
28     add_subdirectory(WinCELauncher)
29 endif ()
30
31 if (ENABLE_WEBKIT2 AND ENABLE_API_TESTS)
32     add_subdirectory(TestWebKitAPI)
33 endif ()