[ATK] Missing WTR AccessibilityUIElement::addNotificationListener implementation
[WebKit-https.git] / Tools / WebKitTestRunner / PlatformEfl.cmake
1 add_custom_target(forwarding-headersEflForWebKitTestRunner
2     COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT_TESTRUNNER_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include efl
3 )
4 set(ForwardingHeadersForWebKitTestRunner_NAME forwarding-headersEflForWebKitTestRunner)
5
6 add_custom_target(forwarding-headersSoupForWebKitTestRunner
7     COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl ${WEBKIT_TESTRUNNER_DIR} ${DERIVED_SOURCES_WEBKIT2_DIR}/include soup
8 )
9 set(ForwardingNetworkHeadersForWebKitTestRunner_NAME forwarding-headersSoupForWebKitTestRunner)
10
11 list(APPEND WebKitTestRunner_SOURCES
12     ${WEBKIT_TESTRUNNER_DIR}/cairo/TestInvocationCairo.cpp
13
14     ${WEBKIT_TESTRUNNER_DIR}/efl/EventSenderProxyEfl.cpp
15     ${WEBKIT_TESTRUNNER_DIR}/efl/PlatformWebViewEfl.cpp
16     ${WEBKIT_TESTRUNNER_DIR}/efl/TestControllerEfl.cpp
17     ${WEBKIT_TESTRUNNER_DIR}/efl/main.cpp
18 )
19
20 list(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES
21     ${TOOLS_DIR}/DumpRenderTree/efl/
22     ${WEBKIT2_DIR}/UIProcess/API/efl
23     "${WTF_DIR}/wtf/gobject"
24     ${CAIRO_INCLUDE_DIRS}
25     ${ECORE_EVAS_INCLUDE_DIRS}
26     ${ECORE_FILE_INCLUDE_DIRS}
27     ${ECORE_INCLUDE_DIRS}
28     ${EINA_INCLUDE_DIRS}
29     ${EO_INCLUDE_DIRS}
30     ${EVAS_INCLUDE_DIRS}
31     ${GLIB_INCLUDE_DIRS}
32 )
33
34 list(APPEND WebKitTestRunner_LIBRARIES
35     ${CAIRO_LIBRARIES}
36     ${ECORE_LIBRARIES}
37     ${ECORE_EVAS_LIBRARIES}
38     ${EINA_LIBRARIES}
39     ${EO_LIBRARIES}
40     ${EVAS_LIBRARIES}
41     ${GLIB_LIBRARIES}
42     ${OPENGL_LIBRARIES}
43     WTF
44 )
45
46 if (ENABLE_ECORE_X)
47     list(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES
48         ${ECORE_X_INCLUDE_DIRS}
49     )
50
51     list(APPEND WebKitTestRunner_LIBRARIES
52         ${ECORE_X_LIBRARIES}
53         ${X11_Xext_LIB}
54     )
55 endif ()
56
57 list(APPEND WebKitTestRunnerInjectedBundle_SOURCES
58     ${TOOLS_DIR}/DumpRenderTree/efl/FontManagement.cpp
59
60     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/efl/ActivateFontsEfl.cpp
61     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/efl/InjectedBundleEfl.cpp
62     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/efl/TestRunnerEfl.cpp
63 )
64
65 # FIXME: DOWNLOADED_FONTS_DIR should not hardcode the directory
66 # structure. See <https://bugs.webkit.org/show_bug.cgi?id=81475>.
67 add_definitions(-DFONTS_CONF_DIR="${TOOLS_DIR}/DumpRenderTree/gtk/fonts"
68                 -DDOWNLOADED_FONTS_DIR="${CMAKE_SOURCE_DIR}/WebKitBuild/Dependencies/Source/webkitgtk-test-fonts-0.0.3")
69
70 if (ENABLE_ACCESSIBILITY)
71     list(APPEND WebKitTestRunnerInjectedBundle_SOURCES
72         ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/atk/AccessibilityControllerAtk.cpp
73         ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/atk/AccessibilityNotificationHandlerAtk.cpp
74         ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/atk/AccessibilityUIElementAtk.cpp
75     )
76     list(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES
77         ${ATK_INCLUDE_DIRS}
78     )
79     list(APPEND WebKitTestRunner_LIBRARIES
80         ${ATK_LIBRARIES}
81     )
82 endif ()