Change the paint count indicator to indicate whether a layer is opaque
[WebKit-https.git] / Tools / WebKitTestRunner / PlatformEfl.cmake
1 add_custom_target(forwarding-headersEflForWebKitTestRunner
2     COMMAND ${PERL_EXECUTABLE} ${WEBKIT2_DIR}/Scripts/generate-forwarding-headers.pl --include-path ${WEBKIT_TESTRUNNER_DIR} --output ${DERIVED_SOURCES_WEBKIT2_DIR}/include --platform efl --platform soup
3 )
4 set(ForwardingHeadersForWebKitTestRunner_NAME forwarding-headersEflForWebKitTestRunner)
5
6 list(APPEND WebKitTestRunner_SOURCES
7     ${WEBKIT_TESTRUNNER_DIR}/cairo/TestInvocationCairo.cpp
8
9     ${WEBKIT_TESTRUNNER_DIR}/efl/EventSenderProxyEfl.cpp
10     ${WEBKIT_TESTRUNNER_DIR}/efl/PlatformWebViewEfl.cpp
11     ${WEBKIT_TESTRUNNER_DIR}/efl/TestControllerEfl.cpp
12     ${WEBKIT_TESTRUNNER_DIR}/efl/main.cpp
13 )
14
15 list(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES
16     ${DERIVED_SOURCES_WEBKIT2_DIR}/include
17     ${WEBKIT2_DIR}/UIProcess/API/efl
18 )
19
20 list(APPEND WebKitTestRunner_SYSTEM_INCLUDE_DIRECTORIES
21     ${CAIRO_INCLUDE_DIRS}
22     ${ECORE_INCLUDE_DIRS}
23     ${ECORE_EVAS_INCLUDE_DIRS}
24     ${ECORE_FILE_INCLUDE_DIRS}
25     ${ECORE_IMF_INCLUDE_DIRS}
26 )
27
28 list(APPEND WebKitTestRunner_LIBRARIES
29     ${CAIRO_LIBRARIES}
30     ${ECORE_LIBRARIES}
31     ${ECORE_EVAS_LIBRARIES}
32     ${EINA_LIBRARIES}
33     ${EVAS_LIBRARIES}
34 )
35
36 if (ENABLE_ECORE_X)
37     list(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES
38         ${ECORE_X_INCLUDE_DIRS}
39     )
40
41     list(APPEND WebKitTestRunner_LIBRARIES
42         ${ECORE_X_LIBRARIES}
43         ${X11_Xext_LIB}
44     )
45 endif ()
46
47 if (ENABLE_ACCESSIBILITY)
48     list(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES
49         ${ATK_INCLUDE_DIRS}
50     )
51     list(APPEND WebKitTestRunner_LIBRARIES
52         ${ATK_LIBRARIES}
53     )
54 endif ()
55
56 list(APPEND WebKitTestRunnerInjectedBundle_SOURCES
57     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/atk/AccessibilityControllerAtk.cpp
58     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/atk/AccessibilityNotificationHandlerAtk.cpp
59     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/atk/AccessibilityUIElementAtk.cpp
60
61     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/efl/ActivateFontsEfl.cpp
62     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/efl/FontManagement.cpp
63     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/efl/InjectedBundleEfl.cpp
64     ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/efl/TestRunnerEfl.cpp
65 )
66
67 # FIXME: EFL port needs to have own test font and font configure instead of gtk test font in future
68 # FIXME: DOWNLOADED_FONTS_DIR should not hardcode the directory structure.
69 add_definitions(-DFONTS_CONF_DIR="${TOOLS_DIR}/WebKitTestRunner/gtk/fonts"
70                 -DDOWNLOADED_FONTS_DIR="${CMAKE_SOURCE_DIR}/WebKitBuild/DependenciesEFL/Source/webkitgtk-test-fonts")