Progress towards CMake on Mac.
[WebKit-https.git] / Source / WebCore / PlatformMac.cmake
1 list(APPEND WebCore_INCLUDE_DIRECTORIES
2     "${WEBCORE_DIR}/accessibility/mac"
3     "${WEBCORE_DIR}/bindings/objc"
4     "${WEBCORE_DIR}/bridge/objc"
5     "${WEBCORE_DIR}/loader/archive/cf"
6     "${WEBCORE_DIR}/loader/cf"
7     "${WEBCORE_DIR}/loader/mac"
8     "${WEBCORE_DIR}/page/cocoa"
9     "${WEBCORE_DIR}/page/mac"
10     "${WEBCORE_DIR}/platform/cf"
11     "${WEBCORE_DIR}/platform/cocoa"
12     "${WEBCORE_DIR}/platform/graphics/avfoundation"
13     "${WEBCORE_DIR}/platform/graphics/avfoundation/cf"
14     "${WEBCORE_DIR}/platform/graphics/avfoundation/objc"
15     "${WEBCORE_DIR}/platform/graphics/ca"
16     "${WEBCORE_DIR}/platform/graphics/ca/mac"
17     "${WEBCORE_DIR}/platform/graphics/cocoa"
18     "${WEBCORE_DIR}/platform/graphics/cg"
19     "${WEBCORE_DIR}/platform/graphics/opentype"
20     "${WEBCORE_DIR}/platform/graphics/mac"
21     "${WEBCORE_DIR}/platform/network/cocoa"
22     "${WEBCORE_DIR}/platform/network/cf"
23     "${WEBCORE_DIR}/platform/network/mac"
24     "${WEBCORE_DIR}/platform/text/cf"
25     "${WEBCORE_DIR}/platform/text/mac"
26     "${WEBCORE_DIR}/platform/mac"
27     "${WEBCORE_DIR}/plugins/mac"
28
29     "/usr/include/libxslt"
30     "/usr/include/libxml2"
31 )
32
33 list(APPEND WebCore_SOURCES
34     accessibility/mac/AXObjectCacheMac.mm
35     accessibility/mac/AccessibilityObjectMac.mm
36     accessibility/mac/WebAccessibilityObjectWrapperBase.mm
37     accessibility/mac/WebAccessibilityObjectWrapperMac.mm
38
39     loader/archive/cf/LegacyWebArchive.cpp
40     loader/archive/cf/LegacyWebArchiveMac.mm
41
42     loader/cf/ResourceLoaderCFNet.cpp
43     loader/cf/SubresourceLoaderCF.cpp
44
45     page/cocoa/UserAgent.mm
46
47     page/mac/ChromeMac.mm
48     page/mac/DragControllerMac.mm
49     page/mac/EventHandlerMac.mm
50     page/mac/PageMac.cpp
51     page/mac/SettingsMac.mm
52     page/mac/UserAgentMac.mm
53
54     platform/cocoa/DisplaySleepDisablerCocoa.cpp
55     platform/cocoa/KeyEventCocoa.mm
56     platform/cocoa/MemoryPressureHandlerCocoa.mm
57     platform/cocoa/SystemVersion.mm
58     platform/cocoa/TelephoneNumberDetectorCocoa.cpp
59
60     platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm
61     platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp
62     platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp
63     platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
64
65     platform/graphics/avfoundation/objc/AudioTrackPrivateAVFObjC.mm
66     platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.cpp
67     platform/graphics/avfoundation/objc/CDMSessionAVFoundationObjC.mm
68     platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm
69     platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm
70     platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm
71     platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
72     platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
73     platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm
74     platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm
75     platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.cpp
76     platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.mm
77     platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm
78
79     platform/graphics/ca/GraphicsLayerCA.cpp
80     platform/graphics/ca/LayerFlushScheduler.cpp
81     platform/graphics/ca/LayerPool.cpp
82     platform/graphics/ca/PlatformCALayer.cpp
83     platform/graphics/ca/TileController.cpp
84     platform/graphics/ca/TileCoverageMap.cpp
85     platform/graphics/ca/TileGrid.cpp
86     platform/graphics/ca/TransformationMatrixCA.cpp
87
88     platform/graphics/ca/mac/LayerFlushSchedulerMac.cpp
89     platform/graphics/ca/mac/PlatformCAAnimationMac.mm
90     platform/graphics/ca/mac/PlatformCAFiltersMac.mm
91     platform/graphics/ca/mac/PlatformCALayerMac.mm
92     platform/graphics/ca/mac/WebTiledBackingLayer.mm
93
94     platform/graphics/opentype/OpenTypeMathData.cpp
95
96     platform/mac/BlockExceptions.mm
97     platform/mac/ContentFilterMac.mm
98     platform/mac/ContextMenuItemMac.mm
99     platform/mac/ContextMenuMac.mm
100     platform/mac/CursorMac.mm
101     platform/mac/DragDataMac.mm
102     platform/mac/DragImageMac.mm
103     platform/mac/EventLoopMac.mm
104     platform/mac/FileSystemMac.mm
105     platform/mac/HIDGamepad.cpp
106     platform/mac/HIDGamepadProvider.cpp
107     platform/mac/KeyEventMac.mm
108     platform/mac/KillRingMac.mm
109     platform/mac/Language.mm
110     platform/mac/LocalCurrentGraphicsContext.mm
111     platform/mac/LocalizedStringsMac.cpp
112     platform/mac/LoggingMac.mm
113     platform/mac/MIMETypeRegistryMac.mm
114     platform/mac/MediaTimeMac.cpp
115     platform/mac/NSScrollerImpDetails.mm
116     platform/mac/PasteboardMac.mm
117     platform/mac/PlatformClockCA.cpp
118     platform/mac/PlatformClockCM.mm
119     platform/mac/PlatformEventFactoryMac.mm
120     platform/mac/PlatformPasteboardMac.mm
121     platform/mac/PlatformScreenMac.mm
122     platform/mac/PlatformSpeechSynthesisMac.mm
123     platform/mac/PlatformSpeechSynthesizerMac.mm
124     platform/mac/PublicSuffixMac.mm
125     platform/mac/PurgeableBufferMac.cpp
126     platform/mac/SSLKeyGeneratorMac.cpp
127     platform/mac/ScrollAnimatorMac.mm
128     platform/mac/ScrollElasticityController.mm
129     platform/mac/ScrollViewMac.mm
130     platform/mac/ScrollbarThemeMac.mm
131     platform/mac/SerializedPlatformRepresentationMac.mm
132     platform/mac/SharedBufferMac.mm
133     platform/mac/SharedTimerMac.mm
134     platform/mac/SoundMac.mm
135     platform/mac/SuddenTermination.mm
136     platform/mac/SystemSleepListenerMac.mm
137     platform/mac/ThemeMac.mm
138     platform/mac/ThreadCheck.mm
139     platform/mac/URLMac.mm
140     platform/mac/UserActivityMac.mm
141     platform/mac/WebCoreFullScreenPlaceholderView.mm
142     platform/mac/WebCoreFullScreenWarningView.mm
143     platform/mac/WebCoreFullScreenWindow.mm
144     platform/mac/WebCoreNSStringExtras.mm
145     platform/mac/WebCoreNSURLExtras.mm
146     platform/mac/WebCoreObjCExtras.mm
147     platform/mac/WebCoreSystemInterface.mm
148     platform/mac/WebCoreView.m
149     platform/mac/WebFontCache.mm
150     platform/mac/WebNSAttributedStringExtras.mm
151     platform/mac/WebVideoFullscreenController.mm
152     platform/mac/WebVideoFullscreenHUDWindowController.mm
153     platform/mac/WebWindowAnimation.mm
154     platform/mac/WidgetMac.mm
155
156     platform/network/cocoa/CredentialCocoa.mm
157     platform/network/cocoa/ProtectionSpaceCocoa.mm
158     platform/network/cocoa/ResourceRequestCocoa.mm
159
160     platform/network/cf/AuthenticationCF.cpp
161     platform/network/cf/CookieJarCFNet.cpp
162     platform/network/cf/CookieStorageCFNet.cpp
163     platform/network/cf/CredentialStorageCFNet.cpp
164     platform/network/cf/DNSCFNet.cpp
165     platform/network/cf/FormDataStreamCFNet.cpp
166     platform/network/cf/LoaderRunLoopCF.cpp
167     platform/network/cf/NetworkStorageSessionCFNet.cpp
168     platform/network/cf/ProxyServerCFNet.cpp
169     platform/network/cf/ResourceErrorCF.cpp
170     platform/network/cf/ResourceHandleCFNet.cpp
171     platform/network/cf/ResourceHandleCFURLConnectionDelegate.cpp
172     platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp
173     platform/network/cf/ResourceRequestCFNet.cpp
174     platform/network/cf/ResourceResponseCFNet.cpp
175     platform/network/cf/SocketStreamHandleCFNet.cpp
176     platform/network/cf/SynchronousLoaderClientCFNet.cpp
177     platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp
178
179     platform/network/mac/AuthenticationMac.mm
180     platform/network/mac/BlobDataFileReferenceMac.mm
181     platform/network/mac/CertificateInfoMac.mm
182     platform/network/mac/CookieJarMac.mm
183     platform/network/mac/CookieStorageMac.mm
184     platform/network/mac/CredentialStorageMac.mm
185     platform/network/mac/FormDataStreamMac.mm
186     platform/network/mac/NetworkStateNotifierMac.cpp
187     platform/network/mac/ResourceErrorMac.mm
188     platform/network/mac/ResourceHandleMac.mm
189     platform/network/mac/ResourceRequestMac.mm
190     platform/network/mac/ResourceResponseMac.mm
191     platform/network/mac/SynchronousLoaderClient.mm
192     platform/network/mac/UTIUtilities.mm
193     platform/network/mac/WebCoreResourceHandleAsDelegate.mm
194     platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm
195     platform/network/mac/WebCoreURLResponse.mm
196
197     platform/text/cf/HyphenationCF.cpp
198
199     platform/text/mac/LocaleMac.mm
200     platform/text/mac/TextBoundaries.mm
201     platform/text/mac/TextBreakIteratorInternalICUMac.mm
202     platform/text/mac/TextCodecMac.cpp
203 )
204
205 set(WebCore_FORWARDING_HEADERS_DIRECTORIES
206     html
207     bindings/objc
208     platform
209     platform/mac
210     platform/network/cf
211 )
212
213 set(WebCore_FORWARDING_HEADERS_FILES
214     html/HTMLMediaElement.h
215     bindings/objc/WebKitAvailability.h
216     platform/DisplaySleepDisabler.h
217     platform/mac/SoftLinking.h
218     platform/network/cf/ResourceResponse.h
219 )
220
221 WEBKIT_CREATE_FORWARDING_HEADERS(WebCore DIRECTORIES ${WebCore_FORWARDING_HEADERS_DIRECTORIES} FILES ${WebCore_FORWARDING_HEADERS_FILES})
222
223 set(FEATURE_DEFINES_OBJECTIVE_C "LANGUAGE_OBJECTIVE_C=1 ${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}")
224 GENERATE_BINDINGS(WebCore_SOURCES
225     "${WebCore_NON_SVG_IDL_FILES}"
226     "${WEBCORE_DIR}"
227     "${IDL_INCLUDES}"
228     "${FEATURE_DEFINES_OBJECTIVE_C}"
229     ${DERIVED_SOURCES_WEBCORE_DIR} DOM ObjC mm
230     ${IDL_ATTRIBUTES_FILE}
231     ${SUPPLEMENTAL_DEPENDENCY_FILE}
232     ${WINDOW_CONSTRUCTORS_FILE}
233     ${WORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
234     ${SHAREDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
235     ${DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE})