forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlatformMac.cmake
71 lines (58 loc) · 2.94 KB
/
PlatformMac.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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/main.mm
${WEBKIT_TESTRUNNER_SHARED_DIR}/EventSerialization/mac/EventSerializerMac.mm
${WEBKIT_TESTRUNNER_SHARED_DIR}/EventSerialization/mac/SharedEventStreamsMac.mm
)
link_directories(../../WebKitLibraries)