1 set(DumpRenderTree_SOURCES
2 ${TOOLS_DIR}/DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp
3 ${TOOLS_DIR}/DumpRenderTree/DumpRenderTreeCommon.cpp
4 ${TOOLS_DIR}/DumpRenderTree/CyclicRedundancyCheck.cpp
5 ${TOOLS_DIR}/DumpRenderTree/GCController.cpp
6 ${TOOLS_DIR}/DumpRenderTree/TestRunner.cpp
7 ${TOOLS_DIR}/DumpRenderTree/PixelDumpSupport.cpp
8 ${TOOLS_DIR}/DumpRenderTree/WorkQueue.cpp
9 ${TOOLS_DIR}/DumpRenderTree/cairo/PixelDumpSupportCairo.cpp
10 ${TOOLS_DIR}/DumpRenderTree/efl/DumpHistoryItem.cpp
11 ${TOOLS_DIR}/DumpRenderTree/efl/DumpRenderTree.cpp
12 ${TOOLS_DIR}/DumpRenderTree/efl/DumpRenderTreeChrome.cpp
13 ${TOOLS_DIR}/DumpRenderTree/efl/DumpRenderTreeView.cpp
14 ${TOOLS_DIR}/DumpRenderTree/efl/EditingCallbacks.cpp
15 ${TOOLS_DIR}/DumpRenderTree/efl/EventSender.cpp
16 ${TOOLS_DIR}/DumpRenderTree/efl/FontManagement.cpp
17 ${TOOLS_DIR}/DumpRenderTree/efl/GCControllerEfl.cpp
18 ${TOOLS_DIR}/DumpRenderTree/efl/JSStringUtils.cpp
19 ${TOOLS_DIR}/DumpRenderTree/efl/TestRunnerEfl.cpp
20 ${TOOLS_DIR}/DumpRenderTree/efl/PixelDumpSupportEfl.cpp
21 ${TOOLS_DIR}/DumpRenderTree/efl/TextInputController.cpp
22 ${TOOLS_DIR}/DumpRenderTree/efl/WorkQueueItemEfl.cpp
25 set(DumpRenderTree_LIBRARIES
26 ${JavaScriptCore_LIBRARY_NAME}
27 ${WebCoreTestSupport_LIBRARY_NAME}
28 ${WebCore_LIBRARY_NAME}
29 ${WebKit_LIBRARY_NAME}
33 ${ECORE_EVAS_LIBRARIES}
34 ${ECORE_FILE_LIBRARIES}
35 ${ECORE_INPUT_LIBRARIES}
40 ${FONTCONFIG_LIBRARIES}
48 set(DumpRenderTree_INCLUDE_DIRECTORIES
49 "${WEBKIT_DIR}/efl/ewk"
51 ${WEBKIT_DIR}/efl/WebCoreSupport
54 ${WEBCORE_DIR}/bridge/jsc
55 ${WEBCORE_DIR}/bindings
57 ${WEBCORE_DIR}/editing
60 ${WEBCORE_DIR}/inspector
62 ${WEBCORE_DIR}/page/animation
63 ${WEBCORE_DIR}/platform
64 ${WEBCORE_DIR}/platform/animation
65 ${WEBCORE_DIR}/platform/text
66 ${WEBCORE_DIR}/platform/graphics
67 ${WEBCORE_DIR}/platform/graphics/cairo
68 ${WEBCORE_DIR}/platform/graphics/transforms
69 ${WEBCORE_DIR}/platform/network
70 ${WEBCORE_DIR}/platform/network/soup
71 ${WEBCORE_DIR}/plugins
72 ${WEBCORE_DIR}/rendering
73 ${WEBCORE_DIR}/rendering/style
74 ${WEBCORE_DIR}/history
76 ${WEBCORE_DIR}/loader/cache
77 ${WEBCORE_DIR}/loader/icon
79 ${JAVASCRIPTCORE_DIR}/API
80 ${JAVASCRIPTCORE_DIR}/assembler
81 ${JAVASCRIPTCORE_DIR}/bytecode
82 ${JAVASCRIPTCORE_DIR}/dfg
83 ${JAVASCRIPTCORE_DIR}/disassembler
84 ${JAVASCRIPTCORE_DIR}/heap
85 ${JAVASCRIPTCORE_DIR}/interpreter
86 ${JAVASCRIPTCORE_DIR}/jit
87 ${JAVASCRIPTCORE_DIR}/llint
88 ${JAVASCRIPTCORE_DIR}/profiler
89 ${JAVASCRIPTCORE_DIR}/runtime
90 ${JAVASCRIPTCORE_DIR}/ForwardingHeaders
91 ${TOOLS_DIR}/DumpRenderTree
92 ${TOOLS_DIR}/DumpRenderTree/atk
93 ${TOOLS_DIR}/DumpRenderTree/cairo
94 ${TOOLS_DIR}/DumpRenderTree/efl
96 ${CMAKE_SOURCE_DIR}/Source
98 ${DERIVED_SOURCES_WEBCORE_DIR}
99 ${WEBCORE_DIR}/bindings/js
100 ${WEBCORE_DIR}/testing/js
101 ${CAIRO_INCLUDE_DIRS}
102 ${ECORE_INCLUDE_DIRS}
103 ${ECORE_INCLUDE_DIRS}
104 ${ECORE_EVAS_INCLUDE_DIRS}
105 ${ECORE_FILE_INCLUDE_DIRS}
106 ${ECORE_INPUT_INCLUDE_DIRS}
111 ${FONTCONFIG_INCLUDE_DIR}
113 ${LIBSOUP_INCLUDE_DIRS}
116 if (ENABLE_ACCESSIBILITY)
117 list(APPEND DumpRenderTree_INCLUDE_DIRECTORIES
120 list(APPEND DumpRenderTree_LIBRARIES
125 # FIXME: DOWNLOADED_FONTS_DIR should not hardcode the directory
126 # structure. See <https://bugs.webkit.org/show_bug.cgi?id=81475>.
127 add_definitions(-DFONTS_CONF_DIR="${TOOLS_DIR}/DumpRenderTree/gtk/fonts"
128 -DDOWNLOADED_FONTS_DIR="${CMAKE_SOURCE_DIR}/WebKitBuild/Dependencies/Source/webkitgtk-test-fonts-0.0.3"
129 -DDATA_DIR="${THEME_BINARY_DIR}")
131 include_directories(${DumpRenderTree_INCLUDE_DIRECTORIES})
133 add_executable(DumpRenderTree ${DumpRenderTree_SOURCES})
134 target_link_libraries(DumpRenderTree ${DumpRenderTree_LIBRARIES})
135 set_target_properties(DumpRenderTree PROPERTIES FOLDER "Tools")