blob: edd7c4d81935107e92754ba33a15dccf7a3077e4 [file] [log] [blame]
find_library(CARBON_LIBRARY Carbon)
find_library(APPLICATIONSERVICES_LIBRARY ApplicationServices)
find_library(CORESERVICES_LIBRARY CoreServices)
add_definitions(-iframework ${APPLICATIONSERVICES_LIBRARY}/Versions/Current/Frameworks)
add_definitions(-iframework ${CORESERVICES_LIBRARY}/Versions/Current/Frameworks)
link_directories(../../WebKitLibraries)
list(APPEND WebKitTestRunner_LIBRARIES
${CARBON_LIBRARY}
)
list(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES
${DERIVED_SOURCES_DIR}
${DERIVED_SOURCES_DIR}/WebCore
${FORWARDING_HEADERS_DIR}
${FORWARDING_HEADERS_DIR}/JavaScriptCore
${FORWARDING_HEADERS_DIR}/WebCore
${WEBCORE_DIR}/testing/cocoa
${WEBKIT_TESTRUNNER_DIR}/cf
${WEBKIT_TESTRUNNER_DIR}/cg
${WEBKIT_TESTRUNNER_DIR}/cocoa
${WEBKIT_TESTRUNNER_DIR}/mac
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/mac
${WEBKIT_TESTRUNNER_SHARED_DIR}/EventSerialization/mac
${WEBKIT_TESTRUNNER_SHARED_DIR}/spi
${CMAKE_SOURCE_DIR}/WebKitLibraries
)
list(APPEND WebKitTestRunnerInjectedBundle_SOURCES
${WEBKIT_TESTRUNNER_DIR}/cocoa/CrashReporterInfo.mm
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/cocoa/ActivateFontsCocoa.mm
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/cocoa/InjectedBundlePageCocoa.mm
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/mac/AccessibilityControllerMac.mm
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/mac/AccessibilityNotificationHandler.mm
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/mac/AccessibilityTextMarkerRangeMac.mm
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/mac/InjectedBundleMac.mm
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/mac/AccessibilityCommonMac.mm
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/mac/AccessibilityTextMarkerMac.mm
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/mac/AccessibilityUIElementMac.mm
${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/mac/TestRunnerMac.mm
${WEBKIT_TESTRUNNER_SHARED_DIR}/EventSerialization/mac/EventSerializerMac.mm
${WEBKIT_TESTRUNNER_SHARED_DIR}/EventSerialization/mac/SharedEventStreamsMac.mm
)
list(APPEND WebKitTestRunner_SOURCES
${WEBKIT_TESTRUNNER_DIR}/cg/TestInvocationCG.cpp
${WEBKIT_TESTRUNNER_DIR}/cocoa/CrashReporterInfo.mm
${WEBKIT_TESTRUNNER_DIR}/cocoa/TestControllerCocoa.mm
${WEBKIT_TESTRUNNER_DIR}/cocoa/TestRunnerWKWebView.mm
${WEBKIT_TESTRUNNER_DIR}/mac/EventSenderProxy.mm
${WEBKIT_TESTRUNNER_DIR}/mac/PlatformWebViewMac.mm
${WEBKIT_TESTRUNNER_DIR}/mac/PoseAsClass.mm
${WEBKIT_TESTRUNNER_DIR}/mac/TestControllerMac.mm
${WEBKIT_TESTRUNNER_DIR}/mac/UIScriptControllerMac.mm
${WEBKIT_TESTRUNNER_DIR}/mac/WebKitTestRunnerDraggingInfo.mm
${WEBKIT_TESTRUNNER_DIR}/mac/WebKitTestRunnerEvent.mm
${WEBKIT_TESTRUNNER_DIR}/mac/WebKitTestRunnerPasteboard.mm
${WEBKIT_TESTRUNNER_DIR}/mac/WebKitTestRunnerWindow.mm
${WEBKIT_TESTRUNNER_DIR}/mac/main.mm
${WEBKIT_TESTRUNNER_SHARED_DIR}/EventSerialization/mac/EventSerializerMac.mm
${WEBKIT_TESTRUNNER_SHARED_DIR}/EventSerialization/mac/SharedEventStreamsMac.mm
)
link_directories(../../WebKitLibraries)