Unexpected word wrapping for wrapped content then raw content.
[WebKit-https.git] / Tools / DumpRenderTree / efl / CMakeLists.txt
1 set(DumpRenderTree_SOURCES
2     ${TOOLS_DIR}/DumpRenderTree/AccessibilityController.cpp
3     ${TOOLS_DIR}/DumpRenderTree/AccessibilityTextMarker.cpp
4     ${TOOLS_DIR}/DumpRenderTree/AccessibilityUIElement.cpp
5     ${TOOLS_DIR}/DumpRenderTree/DumpRenderTreeCommon.cpp
6     ${TOOLS_DIR}/DumpRenderTree/CyclicRedundancyCheck.cpp
7     ${TOOLS_DIR}/DumpRenderTree/GCController.cpp
8     ${TOOLS_DIR}/DumpRenderTree/TestRunner.cpp
9     ${TOOLS_DIR}/DumpRenderTree/PixelDumpSupport.cpp
10     ${TOOLS_DIR}/DumpRenderTree/WorkQueue.cpp
11     ${TOOLS_DIR}/DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp
12     ${TOOLS_DIR}/DumpRenderTree/atk/AccessibilityControllerAtk.cpp
13     ${TOOLS_DIR}/DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.cpp
14     ${TOOLS_DIR}/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp
15     ${TOOLS_DIR}/DumpRenderTree/cairo/PixelDumpSupportCairo.cpp
16     ${TOOLS_DIR}/DumpRenderTree/efl/AccessibilityControllerEfl.cpp
17     ${TOOLS_DIR}/DumpRenderTree/efl/DumpHistoryItem.cpp
18     ${TOOLS_DIR}/DumpRenderTree/efl/DumpRenderTree.cpp
19     ${TOOLS_DIR}/DumpRenderTree/efl/DumpRenderTreeChrome.cpp
20     ${TOOLS_DIR}/DumpRenderTree/efl/DumpRenderTreeView.cpp
21     ${TOOLS_DIR}/DumpRenderTree/efl/EditingCallbacks.cpp
22     ${TOOLS_DIR}/DumpRenderTree/efl/EventSender.cpp
23     ${TOOLS_DIR}/DumpRenderTree/efl/FontManagement.cpp
24     ${TOOLS_DIR}/DumpRenderTree/efl/GCControllerEfl.cpp
25     ${TOOLS_DIR}/DumpRenderTree/efl/JSStringUtils.cpp
26     ${TOOLS_DIR}/DumpRenderTree/efl/TestRunnerEfl.cpp
27     ${TOOLS_DIR}/DumpRenderTree/efl/PixelDumpSupportEfl.cpp
28     ${TOOLS_DIR}/DumpRenderTree/efl/TextInputController.cpp
29     ${TOOLS_DIR}/DumpRenderTree/efl/WorkQueueItemEfl.cpp
30 )
31
32 set(DumpRenderTree_LIBRARIES
33     JavaScriptCore
34     WebCoreTestSupport
35     WebCore
36     WebKit
37     WTF
38     ${CAIRO_LIBRARIES}
39     ${ECORE_LIBRARIES}
40     ${ECORE_EVAS_LIBRARIES}
41     ${ECORE_FILE_LIBRARIES}
42     ${ECORE_INPUT_LIBRARIES}
43     ${EDJE_LIBRARIES}
44     ${EINA_LIBRARIES}
45     ${EO_LIBRARIES}
46     ${EVAS_LIBRARIES}
47     ${FONTCONFIG_LIBRARIES}
48     ${LIBXML2_LIBRARIES}
49     ${LIBXSLT_LIBRARIES} -lm
50     ${SQLITE_LIBRARIES}
51     ${GLIB_LIBRARIES}
52     ${LIBSOUP_LIBRARIES}
53 )
54
55 set(DumpRenderTree_INCLUDE_DIRECTORIES
56     "${WEBKIT_DIR}/efl/ewk"
57     ${WEBKIT_DIR}/efl
58     ${WEBKIT_DIR}/efl/WebCoreSupport
59     ${WEBCORE_DIR}
60     ${WEBCORE_DIR}/bridge
61     ${WEBCORE_DIR}/bridge/jsc
62     ${WEBCORE_DIR}/bindings
63     ${WEBCORE_DIR}/dom
64     ${WEBCORE_DIR}/editing
65     ${WEBCORE_DIR}/css
66     ${WEBCORE_DIR}/html
67     ${WEBCORE_DIR}/inspector
68     ${WEBCORE_DIR}/page
69     ${WEBCORE_DIR}/page/animation
70     ${WEBCORE_DIR}/platform
71     ${WEBCORE_DIR}/platform/animation
72     ${WEBCORE_DIR}/platform/text
73     ${WEBCORE_DIR}/platform/graphics
74     ${WEBCORE_DIR}/platform/graphics/cairo
75     ${WEBCORE_DIR}/platform/graphics/transforms
76     ${WEBCORE_DIR}/platform/network
77     ${WEBCORE_DIR}/platform/network/soup
78     ${WEBCORE_DIR}/plugins
79     ${WEBCORE_DIR}/rendering
80     ${WEBCORE_DIR}/rendering/shapes
81     ${WEBCORE_DIR}/rendering/style
82     ${WEBCORE_DIR}/history
83     ${WEBCORE_DIR}/loader
84     ${WEBCORE_DIR}/loader/cache
85     ${WEBCORE_DIR}/loader/icon
86     ${JAVASCRIPTCORE_DIR}
87     ${JAVASCRIPTCORE_DIR}/API
88     ${JAVASCRIPTCORE_DIR}/assembler
89     ${JAVASCRIPTCORE_DIR}/bytecode
90     ${JAVASCRIPTCORE_DIR}/dfg
91     ${JAVASCRIPTCORE_DIR}/disassembler
92     ${JAVASCRIPTCORE_DIR}/heap
93     ${JAVASCRIPTCORE_DIR}/interpreter
94     ${JAVASCRIPTCORE_DIR}/jit
95     ${JAVASCRIPTCORE_DIR}/llint
96     ${JAVASCRIPTCORE_DIR}/profiler
97     ${JAVASCRIPTCORE_DIR}/runtime
98     ${JAVASCRIPTCORE_DIR}/ForwardingHeaders
99     ${TOOLS_DIR}/DumpRenderTree
100     ${TOOLS_DIR}/DumpRenderTree/atk
101     ${TOOLS_DIR}/DumpRenderTree/cairo
102     ${TOOLS_DIR}/DumpRenderTree/efl
103     ${WTF_DIR}
104     ${CMAKE_SOURCE_DIR}/Source
105     ${CMAKE_BINARY_DIR}
106     ${DERIVED_SOURCES_WEBCORE_DIR}
107     ${WEBCORE_DIR}/bindings/js
108     ${WEBCORE_DIR}/testing/js
109     ${CAIRO_INCLUDE_DIRS}
110     ${ECORE_INCLUDE_DIRS}
111     ${ECORE_INCLUDE_DIRS}
112     ${ECORE_EVAS_INCLUDE_DIRS}
113     ${ECORE_FILE_INCLUDE_DIRS}
114     ${ECORE_INPUT_INCLUDE_DIRS}
115     ${EDJE_INCLUDE_DIRS}
116     ${EINA_INCLUDE_DIRS}
117     ${EO_INCLUDE_DIRS}
118     ${EVAS_INCLUDE_DIRS}
119     ${FONTCONFIG_INCLUDE_DIR}
120     ${GLIB_INCLUDE_DIRS}
121     ${LIBSOUP_INCLUDE_DIRS}
122 )
123
124 if (ENABLE_ACCESSIBILITY)
125     list(APPEND DumpRenderTree_INCLUDE_DIRECTORIES
126         ${TOOLS_DIR}/DumpRenderTree/atk
127         ${ATK_INCLUDE_DIRS}
128     )
129     list(APPEND DumpRenderTree_LIBRARIES
130         ${ATK_LIBRARIES}
131     )
132 endif ()
133
134 # FIXME: DOWNLOADED_FONTS_DIR should not hardcode the directory
135 # structure. See <https://bugs.webkit.org/show_bug.cgi?id=81475>.
136 add_definitions(-DFONTS_CONF_DIR="${TOOLS_DIR}/DumpRenderTree/gtk/fonts"
137                 -DDOWNLOADED_FONTS_DIR="${CMAKE_SOURCE_DIR}/WebKitBuild/Dependencies/Source/webkitgtk-test-fonts-0.0.3")
138
139 include_directories(${DumpRenderTree_INCLUDE_DIRECTORIES})
140
141 add_executable(DumpRenderTree ${DumpRenderTree_SOURCES})
142 target_link_libraries(DumpRenderTree ${DumpRenderTree_LIBRARIES})
143 set_target_properties(DumpRenderTree PROPERTIES FOLDER "Tools")