blob: 7d99f073fb628d4f697ed6132d65df57ebc41ecc (
plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
SET(DumpRenderTree_SOURCES
${TOOLS_DIR}/DumpRenderTree/DumpRenderTreeCommon.cpp
${TOOLS_DIR}/DumpRenderTree/CyclicRedundancyCheck.cpp
${TOOLS_DIR}/DumpRenderTree/GCController.cpp
${TOOLS_DIR}/DumpRenderTree/TestRunner.cpp
${TOOLS_DIR}/DumpRenderTree/PixelDumpSupport.cpp
${TOOLS_DIR}/DumpRenderTree/WorkQueue.cpp
${TOOLS_DIR}/DumpRenderTree/cairo/PixelDumpSupportCairo.cpp
${TOOLS_DIR}/DumpRenderTree/efl/DumpHistoryItem.cpp
${TOOLS_DIR}/DumpRenderTree/efl/DumpRenderTree.cpp
${TOOLS_DIR}/DumpRenderTree/efl/DumpRenderTreeChrome.cpp
${TOOLS_DIR}/DumpRenderTree/efl/DumpRenderTreeView.cpp
${TOOLS_DIR}/DumpRenderTree/efl/EditingCallbacks.cpp
${TOOLS_DIR}/DumpRenderTree/efl/EventSender.cpp
${TOOLS_DIR}/DumpRenderTree/efl/FontManagement.cpp
${TOOLS_DIR}/DumpRenderTree/efl/GCControllerEfl.cpp
${TOOLS_DIR}/DumpRenderTree/efl/JSStringUtils.cpp
${TOOLS_DIR}/DumpRenderTree/efl/TestRunnerEfl.cpp
${TOOLS_DIR}/DumpRenderTree/efl/PixelDumpSupportEfl.cpp
${TOOLS_DIR}/DumpRenderTree/efl/TextInputController.cpp
${TOOLS_DIR}/DumpRenderTree/efl/WorkQueueItemEfl.cpp
)
SET(ImageDiff_SOURCES
${TOOLS_DIR}/DumpRenderTree/efl/ImageDiff.cpp
)
SET(DumpRenderTree_LIBRARIES
${JavaScriptCore_LIBRARY_NAME}
${WebCoreTestSupport_LIBRARY_NAME}
${WebCore_LIBRARY_NAME}
${WebKit_LIBRARY_NAME}
${WTF_LIBRARY_NAME}
${CAIRO_LIBRARIES}
${ECORE_X_LIBRARIES}
${EDJE_LIBRARIES}
${EFLDEPS_LIBRARIES}
${EVAS_LIBRARIES}
${FONTCONFIG_LIBRARIES}
${LIBXML2_LIBRARIES}
${LIBXSLT_LIBRARIES}
${SQLITE_LIBRARIES}
${GLIB_LIBRARIES}
${LIBSOUP_LIBRARIES}
)
SET(DumpRenderTree_INCLUDE_DIRECTORIES
"${WEBKIT_DIR}/efl/ewk"
${WEBKIT_DIR}/efl
${WEBKIT_DIR}/efl/WebCoreSupport
${WEBCORE_DIR}
${WEBCORE_DIR}/bridge
${WEBCORE_DIR}/bridge/jsc
${WEBCORE_DIR}/bindings
${WEBCORE_DIR}/dom
${WEBCORE_DIR}/editing
${WEBCORE_DIR}/css
${WEBCORE_DIR}/html
${WEBCORE_DIR}/inspector
${WEBCORE_DIR}/page
${WEBCORE_DIR}/page/animation
${WEBCORE_DIR}/platform
${WEBCORE_DIR}/platform/animation
${WEBCORE_DIR}/platform/text
${WEBCORE_DIR}/platform/graphics
${WEBCORE_DIR}/platform/graphics/cairo
${WEBCORE_DIR}/platform/graphics/transforms
${WEBCORE_DIR}/platform/network
${WEBCORE_DIR}/platform/network/soup
${WEBCORE_DIR}/plugins
${WEBCORE_DIR}/rendering
${WEBCORE_DIR}/rendering/style
${WEBCORE_DIR}/history
${WEBCORE_DIR}/loader
${WEBCORE_DIR}/loader/cache
${WEBCORE_DIR}/loader/icon
${JAVASCRIPTCORE_DIR}
${JAVASCRIPTCORE_DIR}/API
${JAVASCRIPTCORE_DIR}/assembler
${JAVASCRIPTCORE_DIR}/bytecode
${JAVASCRIPTCORE_DIR}/dfg
${JAVASCRIPTCORE_DIR}/disassembler
${JAVASCRIPTCORE_DIR}/heap
${JAVASCRIPTCORE_DIR}/interpreter
${JAVASCRIPTCORE_DIR}/jit
${JAVASCRIPTCORE_DIR}/llint
${JAVASCRIPTCORE_DIR}/runtime
${JAVASCRIPTCORE_DIR}/ForwardingHeaders
${TOOLS_DIR}/DumpRenderTree
${TOOLS_DIR}/DumpRenderTree/cairo
${TOOLS_DIR}/DumpRenderTree/efl
${WTF_DIR}
${CMAKE_SOURCE_DIR}/Source
${CMAKE_BINARY_DIR}
${DERIVED_SOURCES_WEBCORE_DIR}
${WEBCORE_DIR}/bindings/js
${WEBCORE_DIR}/testing/js
${CAIRO_INCLUDE_DIRS}
${EDJE_INCLUDE_DIRS}
${EFLDEPS_INCLUDE_DIRS}
${EVAS_INCLUDE_DIRS}
${FONTCONFIG_INCLUDE_DIR}
${GLIB_INCLUDE_DIRS}
${LIBSOUP_INCLUDE_DIRS}
)
SET(DumpRenderTree_LINK_FLAGS
${ECORE_X_LDFLAGS}
${EDJE_LDFLAGS}
${EFLDEPS_LDFLAGS}
${EVAS_LDFLAGS}
)
# FIXME: DOWNLOADED_FONTS_DIR should not hardcode the directory
# structure. See <https://bugs.webkit.org/show_bug.cgi?id=81475>.
ADD_DEFINITIONS(-DFONTS_CONF_DIR="${TOOLS_DIR}/DumpRenderTree/gtk/fonts"
-DDOWNLOADED_FONTS_DIR="${CMAKE_SOURCE_DIR}/WebKitBuild/Dependencies/Source/webkitgtk-test-fonts-0.0.3"
-DDATA_DIR="${THEME_BINARY_DIR}")
INCLUDE_DIRECTORIES(${DumpRenderTree_INCLUDE_DIRECTORIES})
ADD_EXECUTABLE(DumpRenderTree ${DumpRenderTree_SOURCES})
TARGET_LINK_LIBRARIES(DumpRenderTree ${DumpRenderTree_LIBRARIES})
ADD_TARGET_PROPERTIES(DumpRenderTree LINK_FLAGS "${DumpRenderTree_LINK_FLAGS}")
SET_TARGET_PROPERTIES(DumpRenderTree PROPERTIES FOLDER "Tools")
ADD_EXECUTABLE(ImageDiff ${ImageDiff_SOURCES})
TARGET_LINK_LIBRARIES(ImageDiff ${DumpRenderTree_LIBRARIES})
ADD_TARGET_PROPERTIES(ImageDiff LINK_FLAGS "${DumpRenderTree_LINK_FLAGS}")
SET_TARGET_PROPERTIES(ImageDiff PROPERTIES FOLDER "Tools")
|