forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
46 lines (43 loc) · 1.33 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
set_property(DIRECTORY . PROPERTY FOLDER "Tools")
if ("${PORT}" STREQUAL "GTK")
if (DEVELOPER_MODE)
add_subdirectory(WebKitTestRunner)
add_subdirectory(ImageDiff)
if (ENABLE_API_TESTS)
add_subdirectory(TestWebKitAPI/glib)
endif ()
if (ENABLE_NETSCAPE_PLUGIN_API)
add_subdirectory(DumpRenderTree/TestNetscapePlugIn)
endif ()
endif ()
if (ENABLE_MINIBROWSER)
add_subdirectory(MiniBrowser/gtk)
endif ()
elseif ("${PORT}" STREQUAL "Mac")
add_subdirectory(DumpRenderTree)
add_subdirectory(WebKitTestRunner)
add_subdirectory(MiniBrowser/mac)
elseif ("${PORT}" STREQUAL "JSCOnly")
if (ENABLE_API_TESTS)
add_subdirectory(TestWebKitAPI)
endif ()
elseif ("${PORT}" STREQUAL "WPE")
if (DEVELOPER_MODE)
add_subdirectory(ImageDiff)
add_subdirectory(WebKitTestRunner)
add_subdirectory(wpe/HeadlessViewBackend)
if (ENABLE_API_TESTS)
add_subdirectory(TestWebKitAPI/glib)
endif ()
endif ()
elseif ("${PORT}" STREQUAL "Win")
add_subdirectory(DumpRenderTree)
add_subdirectory(ImageDiff)
if (ENABLE_WEBKIT_LEGACY)
add_subdirectory(TestWebKitAPI)
add_subdirectory(MiniBrowser/win)
endif ()
endif ()
if (ENABLE_WEBKIT AND ENABLE_API_TESTS)
add_subdirectory(TestWebKitAPI)
endif ()