blob: c15d7c337163469047aad91aecc650742fe717bf [file] [log] [blame]
add_custom_target(WebKitTestRunner-forwarding-headers
COMMAND ${PERL_EXECUTABLE} ${WEBKIT_DIR}/Scripts/generate-forwarding-headers.pl --include-path ${WEBKIT_TESTRUNNER_DIR} --output ${FORWARDING_HEADERS_DIR} --platform wpe
)
set(ForwardingHeadersForWebKitTestRunner_NAME WebKitTestRunner-forwarding-headers)
list(APPEND WebKitTestRunner_SOURCES
${WEBKIT_TESTRUNNER_DIR}/cairo/TestInvocationCairo.cpp
${WEBKIT_TESTRUNNER_DIR}/wpe/EventSenderProxyWPE.cpp
${WEBKIT_TESTRUNNER_DIR}/wpe/PlatformWebViewWPE.cpp
${WEBKIT_TESTRUNNER_DIR}/wpe/TestControllerWPE.cpp
${WEBKIT_TESTRUNNER_DIR}/wpe/UIScriptControllerWPE.cpp
${WEBKIT_TESTRUNNER_DIR}/wpe/main.cpp
)
list(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES
${WEBKIT_TESTRUNNER_DIR}/InjectedBundle/wpe
${FORWARDING_HEADERS_DIR}
${TOOLS_DIR}/wpe/backends
)
list(APPEND WebKitTestRunner_SYSTEM_INCLUDE_DIRECTORIES
${GLIB_INCLUDE_DIRS}
${LIBXKBCOMMON_INCLUDE_DIRS}
${WPEBACKEND_FDO_INCLUDE_DIRS}
)
list(APPEND WebKitTestRunner_LIBRARIES
Cairo::Cairo
${GLIB_LIBRARIES}
${LIBXKBCOMMON_LIBRARIES}
${WPEBACKEND_FDO_LIBRARIES}
WPEToolingBackends
)
set(WebKitTestRunnerInjectedBundle_LIBRARIES
Cairo::Cairo
${GLIB_LIBRARIES}
WebCoreTestSupport
WebKit
)
list(APPEND WebKitTestRunnerInjectedBundle_SOURCES
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/atk/AccessibilityControllerAtk.cpp
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/atk/AccessibilityNotificationHandlerAtk.cpp
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/atk/AccessibilityUIElementAtk.cpp
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/wpe/ActivateFontsWPE.cpp
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/wpe/InjectedBundleWPE.cpp
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/wpe/TestRunnerWPE.cpp
)
add_definitions(
-DFONTS_CONF_DIR="${TOOLS_DIR}/WebKitTestRunner/gtk/fonts"
-DTOP_LEVEL_DIR="${CMAKE_SOURCE_DIR}"
)