bc1a9a936cfdb7ff82b1dca6e83040c84b856ad2
[WebKit-https.git] / Source / WebCore / PlatformMac.cmake
1 find_library(QUARTZ_FRAMEWORK Quartz)
2 add_definitions(-iframework ${QUARTZ_FRAMEWORK}/Frameworks)
3
4 find_library(DATADETECTORSCORE_FRAMEWORK DataDetectorsCore HINTS /System/Library/PrivateFrameworks)
5 if (NOT DATADETECTORSCORE_FRAMEWORK-NOTFOUND)
6     list(APPEND WebCore_LIBRARIES ${DATADETECTORSCORE_FRAMEWORK})
7 endif ()
8
9 find_library(LOOKUP_FRAMEWORK Lookup HINTS /System/Library/PrivateFrameworks)
10 if (NOT LOOKUP_FRAMEWORK-NOTFOUND)
11     list(APPEND WebCore_LIBRARIES ${LOOKUP_FRAMEWORK})
12 endif ()
13
14 list(APPEND WebCore_INCLUDE_DIRECTORIES
15     "${DERIVED_SOURCES_DIR}/ForwardingHeaders/JavaScriptCore"
16     "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}"
17     "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/inspector"
18     "${JAVASCRIPTCORE_DIR}/replay"
19     "${THIRDPARTY_DIR}/ANGLE"
20     "${THIRDPARTY_DIR}/ANGLE/include/KHR"
21     "${WEBCORE_DIR}/accessibility/mac"
22     "${WEBCORE_DIR}/bindings/objc"
23     "${WEBCORE_DIR}/bridge/objc"
24     "${WEBCORE_DIR}/editing/cocoa"
25     "${WEBCORE_DIR}/editing/mac"
26     "${WEBCORE_DIR}/ForwardingHeaders"
27     "${WEBCORE_DIR}/ForwardingHeaders/bindings"
28     "${WEBCORE_DIR}/ForwardingHeaders/bytecode"
29     "${WEBCORE_DIR}/ForwardingHeaders/debugger"
30     "${WEBCORE_DIR}/ForwardingHeaders/heap"
31     "${WEBCORE_DIR}/ForwardingHeaders/inspector"
32     "${WEBCORE_DIR}/ForwardingHeaders/interpreter"
33     "${WEBCORE_DIR}/ForwardingHeaders/jit"
34     "${WEBCORE_DIR}/ForwardingHeaders/masm"
35     "${WEBCORE_DIR}/ForwardingHeaders/parser"
36     "${WEBCORE_DIR}/ForwardingHeaders/profiler"
37     "${WEBCORE_DIR}/ForwardingHeaders/replay"
38     "${WEBCORE_DIR}/ForwardingHeaders/runtime"
39     "${WEBCORE_DIR}/ForwardingHeaders/yarr"
40     "${WEBCORE_DIR}/icu"
41     "${WEBCORE_DIR}/loader/archive/cf"
42     "${WEBCORE_DIR}/loader/cf"
43     "${WEBCORE_DIR}/loader/mac"
44     "${WEBCORE_DIR}/page/cocoa"
45     "${WEBCORE_DIR}/page/mac"
46     "${WEBCORE_DIR}/page/scrolling/mac"
47     "${WEBCORE_DIR}/platform/audio/mac"
48     "${WEBCORE_DIR}/platform/cf"
49     "${WEBCORE_DIR}/platform/cocoa"
50     "${WEBCORE_DIR}/platform/graphics/avfoundation"
51     "${WEBCORE_DIR}/platform/graphics/avfoundation/cf"
52     "${WEBCORE_DIR}/platform/graphics/avfoundation/objc"
53     "${WEBCORE_DIR}/platform/graphics/ca"
54     "${WEBCORE_DIR}/platform/graphics/ca/cocoa"
55     "${WEBCORE_DIR}/platform/graphics/cocoa"
56     "${WEBCORE_DIR}/platform/graphics/cg"
57     "${WEBCORE_DIR}/platform/graphics/opentype"
58     "${WEBCORE_DIR}/platform/graphics/opengl"
59     "${WEBCORE_DIR}/platform/graphics/mac"
60     "${WEBCORE_DIR}/platform/mac"
61     "${WEBCORE_DIR}/platform/network/cocoa"
62     "${WEBCORE_DIR}/platform/network/cf"
63     "${WEBCORE_DIR}/platform/network/mac"
64     "${WEBCORE_DIR}/platform/text/cf"
65     "${WEBCORE_DIR}/platform/text/mac"
66     "${WEBCORE_DIR}/platform/spi/cf"
67     "${WEBCORE_DIR}/platform/spi/cg"
68     "${WEBCORE_DIR}/platform/spi/cocoa"
69     "${WEBCORE_DIR}/platform/spi/ios"
70     "${WEBCORE_DIR}/platform/spi/mac"
71     "${WEBCORE_DIR}/plugins/mac"
72     "${WTF_DIR}"
73 )
74
75 list(APPEND WebCore_USER_AGENT_STYLE_SHEETS
76     ${WEBCORE_DIR}/html/shadow/mac/imageControlsMac.css
77     ${WEBCORE_DIR}/Modules/plugins/QuickTimePluginReplacement.css
78 )
79
80 add_custom_command(
81     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScripts.h ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScripts.cpp
82     MAIN_DEPENDENCY ${WEBCORE_DIR}/Modules/plugins/QuickTimePluginReplacement.js
83     DEPENDS Scripts/make-js-file-arrays.py
84     COMMAND PYTHONPATH=${WebCore_INSPECTOR_SCRIPTS_DIR} ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/Scripts/make-js-file-arrays.py ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScripts.h ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScripts.cpp ${WEBCORE_DIR}/Modules/plugins/QuickTimePluginReplacement.js
85     VERBATIM)
86
87 #FIXME: Use ios-encodings.txt once we get CMake working for iOS.
88 add_custom_command(
89     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/CharsetData.cpp
90     MAIN_DEPENDENCY ${WEBCORE_DIR}/platform/text/mac/make-charset-table.pl
91     DEPENDS platform/text/mac/character-sets.txt
92     DEPENDS platform/text/mac/mac-encodings.txt
93     COMMAND ${PERL_EXECUTABLE} ${WEBCORE_DIR}/platform/text/mac/make-charset-table.pl ${WEBCORE_DIR}/platform/text/mac/character-sets.txt ${WEBCORE_DIR}/platform/text/mac/mac-encodings.txt kTextEncoding > ${DERIVED_SOURCES_WEBCORE_DIR}/CharsetData.cpp
94     VERBATIM)
95
96 list(APPEND WebCore_SOURCES
97     ${DERIVED_SOURCES_WEBCORE_DIR}/CharsetData.cpp
98     ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScripts.cpp
99 )
100
101 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
102     "/usr/include/libxslt"
103     "/usr/include/libxml2"
104 )
105
106 list(APPEND WebCore_SOURCES
107     Modules/indieui/UIRequestEvent.cpp
108
109     Modules/plugins/QuickTimePluginReplacement.mm
110     Modules/plugins/YouTubePluginReplacement.cpp
111
112     accessibility/mac/AXObjectCacheMac.mm
113     accessibility/mac/AccessibilityObjectMac.mm
114     accessibility/mac/WebAccessibilityObjectWrapperBase.mm
115     accessibility/mac/WebAccessibilityObjectWrapperMac.mm
116
117     bindings/js/ScriptControllerMac.mm
118
119     bindings/objc/DOM.mm
120     bindings/objc/DOMAbstractView.mm
121     bindings/objc/DOMCSS.mm
122     bindings/objc/DOMCustomXPathNSResolver.mm
123     bindings/objc/DOMEvents.mm
124     bindings/objc/DOMHTML.mm
125     bindings/objc/DOMInternal.mm
126     bindings/objc/DOMObject.mm
127     bindings/objc/DOMUIKitExtensions.mm
128     bindings/objc/DOMUtility.mm
129     bindings/objc/DOMXPath.mm
130     bindings/objc/ExceptionHandlers.mm
131     bindings/objc/ObjCEventListener.mm
132     bindings/objc/ObjCNodeFilterCondition.mm
133     bindings/objc/WebScriptObject.mm
134
135     bridge/objc/ObjCRuntimeObject.mm
136     bridge/objc/objc_class.mm
137     bridge/objc/objc_instance.mm
138     bridge/objc/objc_runtime.mm
139     bridge/objc/objc_utility.mm
140
141     crypto/CommonCryptoUtilities.cpp
142     crypto/CryptoAlgorithm.cpp
143     crypto/CryptoAlgorithmDescriptionBuilder.cpp
144     crypto/CryptoAlgorithmRegistry.cpp
145     crypto/CryptoKey.cpp
146     crypto/CryptoKeyPair.cpp
147     crypto/SubtleCrypto.cpp
148
149     crypto/algorithms/CryptoAlgorithmAES_CBC.cpp
150     crypto/algorithms/CryptoAlgorithmAES_KW.cpp
151     crypto/algorithms/CryptoAlgorithmHMAC.cpp
152     crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.cpp
153     crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp
154     crypto/algorithms/CryptoAlgorithmRSA_OAEP.cpp
155     crypto/algorithms/CryptoAlgorithmSHA1.cpp
156     crypto/algorithms/CryptoAlgorithmSHA224.cpp
157     crypto/algorithms/CryptoAlgorithmSHA256.cpp
158     crypto/algorithms/CryptoAlgorithmSHA384.cpp
159     crypto/algorithms/CryptoAlgorithmSHA512.cpp
160
161     crypto/keys/CryptoKeyAES.cpp
162     crypto/keys/CryptoKeyDataOctetSequence.cpp
163     crypto/keys/CryptoKeyDataRSAComponents.cpp
164     crypto/keys/CryptoKeyHMAC.cpp
165     crypto/keys/CryptoKeySerializationRaw.cpp
166
167     crypto/mac/CryptoAlgorithmAES_CBCMac.cpp
168     crypto/mac/CryptoAlgorithmAES_KWMac.cpp
169     crypto/mac/CryptoAlgorithmHMACMac.cpp
170     crypto/mac/CryptoAlgorithmRSAES_PKCS1_v1_5Mac.cpp
171     crypto/mac/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp
172     crypto/mac/CryptoAlgorithmRSA_OAEPMac.cpp
173     crypto/mac/CryptoAlgorithmRegistryMac.cpp
174     crypto/mac/CryptoDigestMac.cpp
175     crypto/mac/CryptoKeyMac.cpp
176     crypto/mac/CryptoKeyRSAMac.cpp
177     crypto/mac/SerializedCryptoKeyWrapMac.mm
178
179     dom/DataTransferMac.mm
180     dom/SlotAssignment.cpp
181
182     editing/SelectionRectGatherer.cpp
183     editing/SmartReplaceCF.cpp
184
185     editing/cocoa/EditorCocoa.mm
186     editing/cocoa/HTMLConverter.mm
187
188     editing/mac/AlternativeTextUIController.mm
189     editing/mac/DataDetection.mm
190     editing/mac/DictionaryLookup.mm
191     editing/mac/EditorMac.mm
192     editing/mac/FrameSelectionMac.mm
193     editing/mac/TextAlternativeWithRange.mm
194     editing/mac/TextUndoInsertionMarkupMac.mm
195
196     fileapi/FileMac.mm
197
198     html/HTMLSlotElement.cpp
199
200     html/shadow/ImageControlsRootElement.cpp
201     html/shadow/YouTubeEmbedShadowElement.cpp
202
203     html/shadow/mac/ImageControlsButtonElementMac.cpp
204     html/shadow/mac/ImageControlsRootElementMac.cpp
205
206     history/mac/HistoryItemMac.mm
207
208     loader/ResourceLoadInfo.cpp
209
210     loader/archive/cf/LegacyWebArchive.cpp
211     loader/archive/cf/LegacyWebArchiveMac.mm
212
213     loader/cocoa/DiskCacheMonitorCocoa.mm
214     loader/cocoa/SubresourceLoaderCocoa.mm
215
216     loader/cf/ResourceLoaderCFNet.cpp
217     loader/cf/SubresourceLoaderCF.cpp
218
219     loader/mac/DocumentLoaderMac.cpp
220     loader/mac/LoaderNSURLExtras.mm
221     loader/mac/ResourceLoaderMac.mm
222
223     page/CaptionUserPreferencesMediaAF.cpp
224     page/PageDebuggable.cpp
225
226     page/cocoa/UserAgent.mm
227
228     page/mac/ChromeMac.mm
229     page/mac/DragControllerMac.mm
230     page/mac/EventHandlerMac.mm
231     page/mac/PageMac.cpp
232     page/mac/ServicesOverlayController.mm
233     page/mac/SettingsMac.mm
234     page/mac/TextIndicatorWindow.mm
235     page/mac/UserAgentMac.mm
236
237     page/scrolling/AsyncScrollingCoordinator.cpp
238
239     page/scrolling/cocoa/ScrollingStateNode.mm
240
241     page/scrolling/mac/ScrollingCoordinatorMac.mm
242     page/scrolling/mac/ScrollingStateFrameScrollingNodeMac.mm
243     page/scrolling/mac/ScrollingThreadMac.mm
244     page/scrolling/mac/ScrollingTreeFixedNode.mm
245     page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm
246     page/scrolling/mac/ScrollingTreeMac.cpp
247     page/scrolling/mac/ScrollingTreeStickyNode.mm
248
249     platform/LocalizedStrings.cpp
250     platform/ScrollableArea.cpp
251     platform/VNodeTracker.cpp
252
253     platform/audio/AudioSession.cpp
254
255     platform/audio/mac/AudioBusMac.mm
256     platform/audio/mac/AudioDestinationMac.cpp
257     platform/audio/mac/AudioFileReaderMac.cpp
258     platform/audio/mac/AudioHardwareListenerMac.cpp
259     platform/audio/mac/AudioSessionMac.cpp
260     platform/audio/mac/CARingBuffer.cpp
261     platform/audio/mac/FFTFrameMac.cpp
262     platform/audio/mac/MediaSessionManagerMac.cpp
263
264     platform/cf/CFURLExtras.cpp
265     platform/cf/CoreMediaSoftLink.cpp
266     platform/cf/FileSystemCF.cpp
267     platform/cf/MediaAccessibilitySoftLink.cpp
268     platform/cf/RunLoopObserver.cpp
269     platform/cf/SharedBufferCF.cpp
270     platform/cf/SharedTimerCF.cpp
271     platform/cf/URLCF.cpp
272
273     platform/cocoa/ContentFilterUnblockHandlerCocoa.mm
274     platform/cocoa/DisplaySleepDisablerCocoa.cpp
275     platform/cocoa/KeyEventCocoa.mm
276     platform/cocoa/LocalizedStringsCocoa.mm
277     platform/cocoa/MachSendRight.cpp
278     platform/cocoa/MemoryPressureHandlerCocoa.mm
279     platform/cocoa/NetworkExtensionContentFilter.mm
280     platform/cocoa/ParentalControlsContentFilter.mm
281     platform/cocoa/ScrollController.mm
282     platform/cocoa/ScrollSnapAnimatorState.mm
283     platform/cocoa/SystemVersion.mm
284     platform/cocoa/TelephoneNumberDetectorCocoa.cpp
285     platform/cocoa/ThemeCocoa.cpp
286     platform/cocoa/VNodeTrackerCocoa.cpp
287
288     platform/graphics/DisplayRefreshMonitor.cpp
289     platform/graphics/DisplayRefreshMonitorManager.cpp
290     platform/graphics/FontPlatformData.cpp
291
292     platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm
293     platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm
294     platform/graphics/avfoundation/CDMPrivateMediaSourceAVFObjC.mm
295     platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp
296     platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp
297     platform/graphics/avfoundation/MediaPlaybackTargetMac.mm
298     platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
299     platform/graphics/avfoundation/MediaSelectionGroupAVFObjC.mm
300     platform/graphics/avfoundation/MediaTimeAVFoundation.cpp
301
302     platform/graphics/avfoundation/objc/AudioTrackPrivateAVFObjC.mm
303     platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.cpp
304     platform/graphics/avfoundation/objc/CDMSessionAVFoundationObjC.mm
305     platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm
306     platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm
307     platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm
308     platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
309     platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
310     platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm
311     platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm
312     platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.cpp
313     platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.mm
314     platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm
315
316     platform/graphics/ca/GraphicsLayerCA.cpp
317     platform/graphics/ca/LayerFlushScheduler.cpp
318     platform/graphics/ca/LayerPool.cpp
319     platform/graphics/ca/PlatformCALayer.cpp
320     platform/graphics/ca/TileController.cpp
321     platform/graphics/ca/TileCoverageMap.cpp
322     platform/graphics/ca/TileGrid.cpp
323     platform/graphics/ca/TransformationMatrixCA.cpp
324
325     platform/graphics/ca/cocoa/LayerFlushSchedulerMac.cpp
326     platform/graphics/ca/cocoa/PlatformCAAnimationCocoa.mm
327     platform/graphics/ca/cocoa/PlatformCAFiltersCocoa.mm
328     platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm
329     platform/graphics/ca/cocoa/WebSystemBackdropLayer.mm
330     platform/graphics/ca/cocoa/WebTiledBackingLayer.mm
331
332     platform/graphics/cg/BitmapImageCG.cpp
333     platform/graphics/cg/ColorCG.cpp
334     platform/graphics/cg/FloatPointCG.cpp
335     platform/graphics/cg/FloatRectCG.cpp
336     platform/graphics/cg/FloatSizeCG.cpp
337     platform/graphics/cg/GradientCG.cpp
338     platform/graphics/cg/GraphicsContext3DCG.cpp
339     platform/graphics/cg/GraphicsContextCG.cpp
340     platform/graphics/cg/IOSurfacePool.cpp
341     platform/graphics/cg/ImageBufferCG.cpp
342     platform/graphics/cg/ImageBufferDataCG.cpp
343     platform/graphics/cg/ImageCG.cpp
344     platform/graphics/cg/ImageSourceCG.cpp
345     platform/graphics/cg/ImageSourceCGMac.mm
346     platform/graphics/cg/ImageSourceCGWin.cpp
347     platform/graphics/cg/IntPointCG.cpp
348     platform/graphics/cg/IntRectCG.cpp
349     platform/graphics/cg/IntSizeCG.cpp
350     platform/graphics/cg/PDFDocumentImage.cpp
351     platform/graphics/cg/PathCG.cpp
352     platform/graphics/cg/PatternCG.cpp
353     platform/graphics/cg/SubimageCacheWithTimer.cpp
354     platform/graphics/cg/TransformationMatrixCG.cpp
355
356     platform/graphics/cocoa/FontCacheCoreText.cpp
357     platform/graphics/cocoa/FontCascadeCocoa.mm
358     platform/graphics/cocoa/FontCocoa.mm
359     platform/graphics/cocoa/FontPlatformDataCocoa.mm
360     platform/graphics/cocoa/IOSurface.mm
361     platform/graphics/cocoa/IOSurfacePoolCocoa.mm
362     platform/graphics/cocoa/WebActionDisablingCALayerDelegate.mm
363     platform/graphics/cocoa/WebCoreCALayerExtras.mm
364
365     platform/graphics/mac/ColorMac.mm
366     platform/graphics/mac/ComplexTextController.cpp
367     platform/graphics/mac/ComplexTextControllerCoreText.mm
368     platform/graphics/mac/DisplayRefreshMonitorMac.cpp
369     platform/graphics/mac/FloatPointMac.mm
370     platform/graphics/mac/FloatRectMac.mm
371     platform/graphics/mac/FloatSizeMac.mm
372     platform/graphics/mac/FontCacheMac.mm
373     platform/graphics/mac/FontCustomPlatformData.cpp
374     platform/graphics/mac/GlyphPageMac.cpp
375     platform/graphics/mac/GraphicsContext3DMac.mm
376     platform/graphics/mac/GraphicsContextMac.mm
377     platform/graphics/mac/IconMac.mm
378     platform/graphics/mac/ImageMac.mm
379     platform/graphics/mac/IntPointMac.mm
380     platform/graphics/mac/IntRectMac.mm
381     platform/graphics/mac/IntSizeMac.mm
382     platform/graphics/mac/MediaPlayerPrivateQTKit.mm
383     platform/graphics/mac/MediaTimeQTKit.mm
384     platform/graphics/mac/PDFDocumentImageMac.mm
385     platform/graphics/mac/SimpleFontDataCoreText.cpp
386     platform/graphics/mac/WebGLLayer.mm
387     platform/graphics/mac/WebLayer.mm
388
389     platform/graphics/opengl/Extensions3DOpenGL.cpp
390     platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
391     platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
392     platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
393     platform/graphics/opengl/TemporaryOpenGLSetting.cpp
394
395     platform/graphics/opentype/OpenTypeMathData.cpp
396
397     platform/mac/BlockExceptions.mm
398     platform/mac/ContextMenuItemMac.mm
399     platform/mac/ContextMenuMac.mm
400     platform/mac/CursorMac.mm
401     platform/mac/DragDataMac.mm
402     platform/mac/DragImageMac.mm
403     platform/mac/EventLoopMac.mm
404     platform/mac/FileSystemMac.mm
405     platform/mac/HIDGamepad.cpp
406     platform/mac/HIDGamepadProvider.cpp
407     platform/mac/KeyEventMac.mm
408     platform/mac/KillRingMac.mm
409     platform/mac/Language.mm
410     platform/mac/LocalCurrentGraphicsContext.mm
411     platform/mac/LoggingMac.mm
412     platform/mac/MIMETypeRegistryMac.mm
413     platform/mac/NSScrollerImpDetails.mm
414     platform/mac/PasteboardMac.mm
415     platform/mac/PlatformClockCA.cpp
416     platform/mac/PlatformClockCM.mm
417     platform/mac/PlatformEventFactoryMac.mm
418     platform/mac/PlatformPasteboardMac.mm
419     platform/mac/PlatformScreenMac.mm
420     platform/mac/PlatformSpeechSynthesizerMac.mm
421     platform/mac/PowerObserverMac.cpp
422     platform/mac/PublicSuffixMac.mm
423     platform/mac/SSLKeyGeneratorMac.cpp
424     platform/mac/ScrollAnimatorMac.mm
425     platform/mac/ScrollViewMac.mm
426     platform/mac/ScrollbarThemeMac.mm
427     platform/mac/SerializedPlatformRepresentationMac.mm
428     platform/mac/SharedBufferMac.mm
429     platform/mac/SoundMac.mm
430     platform/mac/SuddenTermination.mm
431     platform/mac/SystemSleepListenerMac.mm
432     platform/mac/ThemeMac.mm
433     platform/mac/ThreadCheck.mm
434     platform/mac/URLMac.mm
435     platform/mac/UserActivityMac.mm
436     platform/mac/WebCoreFullScreenPlaceholderView.mm
437     platform/mac/WebCoreFullScreenWarningView.mm
438     platform/mac/WebCoreFullScreenWindow.mm
439     platform/mac/WebCoreNSStringExtras.mm
440     platform/mac/WebCoreNSURLExtras.mm
441     platform/mac/WebCoreObjCExtras.mm
442     platform/mac/WebCoreSystemInterface.mm
443     platform/mac/WebNSAttributedStringExtras.mm
444     platform/mac/WebVideoFullscreenController.mm
445     platform/mac/WebVideoFullscreenHUDWindowController.mm
446     platform/mac/WebWindowAnimation.mm
447     platform/mac/WidgetMac.mm
448
449     platform/network/cf/AuthenticationCF.cpp
450     platform/network/cf/CookieJarCFNet.cpp
451     platform/network/cf/CookieStorageCFNet.cpp
452     platform/network/cf/CredentialStorageCFNet.cpp
453     platform/network/cf/DNSCFNet.cpp
454     platform/network/cf/FormDataStreamCFNet.cpp
455     platform/network/cf/LoaderRunLoopCF.cpp
456     platform/network/cf/NetworkStorageSessionCFNet.cpp
457     platform/network/cf/ProxyServerCFNet.cpp
458     platform/network/cf/ResourceErrorCF.cpp
459     platform/network/cf/ResourceHandleCFNet.cpp
460     platform/network/cf/ResourceHandleCFURLConnectionDelegate.cpp
461     platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp
462     platform/network/cf/ResourceRequestCFNet.cpp
463     platform/network/cf/ResourceResponseCFNet.cpp
464     platform/network/cf/SocketStreamHandleCFNet.cpp
465     platform/network/cf/SynchronousLoaderClientCFNet.cpp
466     platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp
467
468     platform/network/cocoa/CredentialCocoa.mm
469     platform/network/cocoa/ProtectionSpaceCocoa.mm
470     platform/network/cocoa/ResourceRequestCocoa.mm
471
472     platform/network/mac/AuthenticationMac.mm
473     platform/network/mac/BlobDataFileReferenceMac.mm
474     platform/network/mac/CertificateInfoMac.mm
475     platform/network/mac/CookieJarMac.mm
476     platform/network/mac/CookieStorageMac.mm
477     platform/network/mac/CredentialStorageMac.mm
478     platform/network/mac/FormDataStreamMac.mm
479     platform/network/mac/NetworkStateNotifierMac.cpp
480     platform/network/mac/ResourceErrorMac.mm
481     platform/network/mac/ResourceHandleMac.mm
482     platform/network/mac/ResourceRequestMac.mm
483     platform/network/mac/ResourceResponseMac.mm
484     platform/network/mac/SynchronousLoaderClient.mm
485     platform/network/mac/UTIUtilities.mm
486     platform/network/mac/WebCoreResourceHandleAsDelegate.mm
487     platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm
488     platform/network/mac/WebCoreURLResponse.mm
489
490     platform/posix/FileSystemPOSIX.cpp
491     platform/posix/SharedBufferPOSIX.cpp
492
493     platform/text/cf/HyphenationCF.cpp
494
495     platform/text/mac/LocaleMac.mm
496     platform/text/mac/TextBoundaries.mm
497     platform/text/mac/TextBreakIteratorInternalICUMac.mm
498     platform/text/mac/TextCodecMac.cpp
499
500     rendering/RenderThemeMac.mm
501     rendering/TextAutoSizing.cpp
502 )
503
504 # FIXME: We do not need everything from all of these directories.
505 # Move some to WebCore_FORWARDING_HEADERS_FILES once people start actually maintaining this.
506 set(WebCore_FORWARDING_HEADERS_DIRECTORIES
507     accessibility
508     bridge
509     contentextensions
510     crypto
511     css
512     dom
513     editing
514     fileapi
515     history
516     html
517     inspector
518     loader
519     page
520     platform
521     plugins
522     rendering
523     replay
524     storage
525     style
526     svg
527
528     Modules/geolocation
529     Modules/indexeddb
530     Modules/notifications
531     Modules/webdatabase
532
533     Modules/indexeddb/legacy
534
535     bindings/generic
536     bindings/js
537     bindings/objc
538
539     bridge/jsc
540
541     editing/cocoa
542     editing/mac
543
544     html/forms
545     html/parser
546     html/shadow
547
548     loader/appcache
549     loader/archive
550     loader/cache
551     loader/cocoa
552
553     loader/archive/cf
554
555     page/animation
556     page/cocoa
557     page/mac
558     page/scrolling
559
560     platform/animation
561     platform/audio
562     platform/graphics
563     platform/mac
564     platform/mediastream
565     platform/mock
566     platform/network
567     platform/sql
568     platform/text
569
570     platform/graphics/ca
571     platform/graphics/cg
572     platform/graphics/filters
573     platform/graphics/mac
574     platform/graphics/transforms
575
576     platform/network/cf
577     platform/network/cocoa
578     platform/network/mac
579
580     platform/spi/cf
581     platform/spi/cg
582     platform/spi/cocoa
583     platform/spi/mac
584
585     rendering/line
586     rendering/style
587
588     svg/graphics
589     svg/properties
590 )
591
592 set(WebCore_FORWARDING_HEADERS_FILES
593     Modules/webdatabase/DatabaseDetails.h
594
595     bridge/IdentifierRep.h
596     bridge/npruntime_impl.h
597     bridge/npruntime_internal.h
598
599     contentextensions/CompiledContentExtension.h
600
601     editing/EditAction.h
602     editing/EditingBehaviorTypes.h
603     editing/EditingBoundary.h
604     editing/FindOptions.h
605     editing/FrameSelection.h
606     editing/TextAffinity.h
607
608     editing/mac/TextAlternativeWithRange.h
609
610     history/BackForwardList.h
611     history/HistoryItem.h
612     history/PageCache.h
613
614     html/HTMLMediaElement.h
615
616     loader/appcache/ApplicationCacheStorage.h
617
618     loader/icon/IconDatabase.h
619     loader/icon/IconDatabaseBase.h
620     loader/icon/IconDatabaseClient.h
621
622     loader/mac/LoaderNSURLExtras.h
623
624     platform/DisplaySleepDisabler.h
625     platform/PlatformExportMacros.h
626
627     platform/audio/AudioHardwareListener.h
628
629     platform/cf/RunLoopObserver.h
630
631     platform/cocoa/MachSendRight.h
632
633     platform/graphics/cocoa/IOSurface.h
634
635     platform/graphics/transforms/AffineTransform.h
636
637     platform/mac/SoftLinking.h
638     platform/mac/WebCoreSystemInterface.h
639
640     platform/network/cf/CertificateInfo.h
641     platform/network/cf/ResourceResponse.h
642
643     platform/network/mac/AuthenticationMac.h
644
645     platform/sql/SQLiteDatabase.h
646
647     rendering/style/RenderStyleConstants.h
648 )
649
650 list(APPEND WebCore_IDL_FILES
651     Modules/plugins/QuickTimePluginReplacement.idl
652 )
653
654 WEBKIT_CREATE_FORWARDING_HEADERS(WebCore DIRECTORIES ${WebCore_FORWARDING_HEADERS_DIRECTORIES} FILES ${WebCore_FORWARDING_HEADERS_FILES})
655
656 set(FEATURE_DEFINES_OBJECTIVE_C "LANGUAGE_OBJECTIVE_C=1 ${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}")
657 set(ADDITIONAL_BINDINGS_DEPENDENCIES
658     ${WINDOW_CONSTRUCTORS_FILE}
659     ${WORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
660     ${DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
661 )
662
663 set(ObjC_Bindings_IDL_FILES
664     css/CSSCharsetRule.idl
665     css/CSSFontFaceRule.idl
666     css/CSSImportRule.idl
667     css/CSSKeyframeRule.idl
668     css/CSSKeyframesRule.idl
669     css/CSSMediaRule.idl
670     css/CSSPageRule.idl
671     css/CSSPrimitiveValue.idl
672     css/CSSRule.idl
673     css/CSSRuleList.idl
674     css/CSSStyleDeclaration.idl
675     css/CSSStyleRule.idl
676     css/CSSStyleSheet.idl
677     css/CSSSupportsRule.idl
678     css/CSSUnknownRule.idl
679     css/CSSValue.idl
680     css/CSSValueList.idl
681     css/Counter.idl
682     css/MediaList.idl
683     css/RGBColor.idl
684     css/Rect.idl
685     css/StyleSheet.idl
686     css/StyleSheetList.idl
687     css/WebKitCSSFilterValue.idl
688     css/WebKitCSSRegionRule.idl
689     css/WebKitCSSTransformValue.idl
690
691     dom/Attr.idl
692     dom/BeforeLoadEvent.idl
693     dom/CDATASection.idl
694     dom/CharacterData.idl
695     dom/Comment.idl
696     dom/DOMImplementation.idl
697     dom/DOMNamedFlowCollection.idl
698     dom/Document.idl
699     dom/DocumentFragment.idl
700     dom/DocumentType.idl
701     dom/Element.idl
702     dom/Entity.idl
703     dom/EntityReference.idl
704     dom/Event.idl
705     dom/EventListener.idl
706     dom/EventTarget.idl
707     dom/KeyboardEvent.idl
708     dom/MessageEvent.idl
709     dom/MessagePort.idl
710     dom/MouseEvent.idl
711     dom/MutationEvent.idl
712     dom/NamedNodeMap.idl
713     dom/Node.idl
714     dom/NodeFilter.idl
715     dom/NodeIterator.idl
716     dom/NodeList.idl
717     dom/OverflowEvent.idl
718     dom/ProcessingInstruction.idl
719     dom/ProgressEvent.idl
720     dom/Range.idl
721     dom/Text.idl
722     dom/TextEvent.idl
723     dom/TreeWalker.idl
724     dom/UIEvent.idl
725     dom/WebKitNamedFlow.idl
726     dom/WheelEvent.idl
727
728     fileapi/Blob.idl
729     fileapi/File.idl
730     fileapi/FileList.idl
731
732     html/DOMTokenList.idl
733     html/HTMLAnchorElement.idl
734     html/HTMLAppletElement.idl
735     html/HTMLAreaElement.idl
736     html/HTMLBRElement.idl
737     html/HTMLBaseElement.idl
738     html/HTMLBaseFontElement.idl
739     html/HTMLBodyElement.idl
740     html/HTMLButtonElement.idl
741     html/HTMLCanvasElement.idl
742     html/HTMLCollection.idl
743     html/HTMLDListElement.idl
744     html/HTMLDirectoryElement.idl
745     html/HTMLDivElement.idl
746     html/HTMLDocument.idl
747     html/HTMLElement.idl
748     html/HTMLEmbedElement.idl
749     html/HTMLFieldSetElement.idl
750     html/HTMLFontElement.idl
751     html/HTMLFormElement.idl
752     html/HTMLFrameElement.idl
753     html/HTMLFrameSetElement.idl
754     html/HTMLHRElement.idl
755     html/HTMLHeadElement.idl
756     html/HTMLHeadingElement.idl
757     html/HTMLHtmlElement.idl
758     html/HTMLIFrameElement.idl
759     html/HTMLImageElement.idl
760     html/HTMLInputElement.idl
761     html/HTMLLIElement.idl
762     html/HTMLLabelElement.idl
763     html/HTMLLegendElement.idl
764     html/HTMLLinkElement.idl
765     html/HTMLMapElement.idl
766     html/HTMLMarqueeElement.idl
767     html/HTMLMenuElement.idl
768     html/HTMLMetaElement.idl
769     html/HTMLModElement.idl
770     html/HTMLOListElement.idl
771     html/HTMLObjectElement.idl
772     html/HTMLOptGroupElement.idl
773     html/HTMLOptionElement.idl
774     html/HTMLOptionsCollection.idl
775     html/HTMLParagraphElement.idl
776     html/HTMLParamElement.idl
777     html/HTMLPreElement.idl
778     html/HTMLQuoteElement.idl
779     html/HTMLScriptElement.idl
780     html/HTMLSelectElement.idl
781     html/HTMLStyleElement.idl
782     html/HTMLTableCaptionElement.idl
783     html/HTMLTableCellElement.idl
784     html/HTMLTableColElement.idl
785     html/HTMLTableElement.idl
786     html/HTMLTableRowElement.idl
787     html/HTMLTableSectionElement.idl
788     html/HTMLTextAreaElement.idl
789     html/HTMLTitleElement.idl
790     html/HTMLUListElement.idl
791     html/ValidityState.idl
792
793     page/AbstractView.idl
794     page/DOMSecurityPolicy.idl
795
796     xml/XPathExpression.idl
797     xml/XPathNSResolver.idl
798     xml/XPathResult.idl
799 )
800
801 set(ObjC_BINDINGS_NO_MM
802     AbstractView
803     AbstractWorker
804     ChildNode
805     DOMURLMediaSource
806     DOMURLMediaStream
807     DOMWindowIndexedDatabase
808     DOMWindowNotifications
809     DOMWindowSpeechSynthesis
810     DOMWindowWebDatabase
811     EventListener
812     EventTarget
813     GlobalEventHandlers
814     HTMLMediaElementMediaSession
815     HTMLMediaElementMediaStream
816     NavigatorBattery
817     NavigatorContentUtils
818     NavigatorGamepad
819     NavigatorGeolocation
820     NavigatorMediaDevices
821     NavigatorUserMedia
822     NavigatorVibration
823     NodeFilter
824     NonDocumentTypeChildNode
825     NonElementParentNode
826     ParentNode
827     URLUtils
828     WindowBase64
829     WindowEventHandlers
830     WindowTimers
831     WorkerGlobalScopeIndexedDatabase
832     WorkerGlobalScopeNotifications
833     XPathNSResolver
834 )
835
836 GENERATE_BINDINGS(WebCore_SOURCES
837     "${ObjC_Bindings_IDL_FILES}"
838     "${WEBCORE_DIR}"
839     "${IDL_INCLUDES}"
840     "${FEATURE_DEFINES_OBJECTIVE_C}"
841     ${DERIVED_SOURCES_WEBCORE_DIR} DOM ObjC mm
842     ${IDL_ATTRIBUTES_FILE}
843     ${SUPPLEMENTAL_DEPENDENCY_FILE}
844     ${ADDITIONAL_BINDINGS_DEPENDENCIES})