Page crashes under CGPathAddUnevenCornersRoundedRect
[WebKit-https.git] / Source / WebCore / PlatformMac.cmake
1 find_library(ACCELERATE_LIBRARY Accelerate)
2 find_library(APPLICATIONSERVICES_LIBRARY ApplicationServices)
3 find_library(AVFOUNDATION_LIBRARY AVFoundation)
4 find_library(AUDIOTOOLBOX_LIBRARY AudioToolbox)
5 find_library(AUDIOUNIT_LIBRARY AudioUnit)
6 find_library(CARBON_LIBRARY Carbon)
7 find_library(CFNETWORK_LIBRARY CFNetwork)
8 find_library(COCOA_LIBRARY Cocoa)
9 find_library(COREAUDIO_LIBRARY CoreAudio)
10 find_library(CORESERVICES_LIBRARY CoreServices)
11 find_library(DISKARBITRATION_LIBRARY DiskArbitration)
12 find_library(IOKIT_LIBRARY IOKit)
13 find_library(IOSURFACE_LIBRARY IOSurface)
14 find_library(METAL_LIBRARY Metal)
15 find_library(OPENGL_LIBRARY OpenGL)
16 find_library(QUARTZ_LIBRARY Quartz)
17 find_library(QUARTZCORE_LIBRARY QuartzCore)
18 find_library(SECURITY_LIBRARY Security)
19 find_library(SYSTEMCONFIGURATION_LIBRARY SystemConfiguration)
20 find_library(XML2_LIBRARY XML2)
21 find_package(Sqlite REQUIRED)
22 find_package(ZLIB REQUIRED)
23
24 list(APPEND WebCore_UNIFIED_SOURCE_LIST_FILES
25     "SourcesCocoa.txt"
26 )
27
28 list(APPEND WebCore_LIBRARIES
29     ${ACCELERATE_LIBRARY}
30     ${AUDIOTOOLBOX_LIBRARY}
31     ${AUDIOUNIT_LIBRARY}
32     ${AVFOUNDATION_LIBRARY}
33     ${CARBON_LIBRARY}
34     ${CFNETWORK_LIBRARY}
35     ${COCOA_LIBRARY}
36     ${COREAUDIO_LIBRARY}
37     ${CORESERVICES_LIBRARY}
38     ${DISKARBITRATION_LIBRARY}
39     ${IOKIT_LIBRARY}
40     ${IOSURFACE_LIBRARY}
41     ${METAL_LIBRARY}
42     ${OPENGL_LIBRARY}
43     ${QUARTZ_LIBRARY}
44     ${QUARTZCORE_LIBRARY}
45     ${SECURITY_LIBRARY}
46     ${SQLITE_LIBRARIES}
47     ${SYSTEMCONFIGURATION_LIBRARY}
48     ${XML2_LIBRARY}
49     ${ZLIB_LIBRARY}
50 )
51
52 add_definitions(-iframework ${APPLICATIONSERVICES_LIBRARY}/Versions/Current/Frameworks)
53 add_definitions(-iframework ${AVFOUNDATION_LIBRARY}/Versions/Current/Frameworks)
54 add_definitions(-iframework ${CARBON_LIBRARY}/Versions/Current/Frameworks)
55 add_definitions(-iframework ${CORESERVICES_LIBRARY}/Versions/Current/Frameworks)
56 add_definitions(-iframework ${QUARTZ_LIBRARY}/Frameworks)
57
58 find_library(COREUI_FRAMEWORK CoreUI HINTS /System/Library/PrivateFrameworks)
59 if (NOT COREUI_FRAMEWORK-NOTFOUND)
60     list(APPEND WebCore_LIBRARIES ${COREUI_FRAMEWORK})
61 endif ()
62
63 find_library(DATADETECTORSCORE_FRAMEWORK DataDetectorsCore HINTS /System/Library/PrivateFrameworks)
64 if (NOT DATADETECTORSCORE_FRAMEWORK-NOTFOUND)
65     list(APPEND WebCore_LIBRARIES ${DATADETECTORSCORE_FRAMEWORK})
66 endif ()
67
68 find_library(LOOKUP_FRAMEWORK Lookup HINTS /System/Library/PrivateFrameworks)
69 if (NOT LOOKUP_FRAMEWORK-NOTFOUND)
70     list(APPEND WebCore_LIBRARIES ${LOOKUP_FRAMEWORK})
71 endif ()
72
73 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES
74     "${WEBCORE_DIR}/Modules/webgpu/WHLSL/Metal"
75     "${WEBCORE_DIR}/accessibility/mac"
76     "${WEBCORE_DIR}/bridge/objc"
77     "${WEBCORE_DIR}/editing/cocoa"
78     "${WEBCORE_DIR}/editing/ios"
79     "${WEBCORE_DIR}/editing/mac"
80     "${WEBCORE_DIR}/html/shadow/cocoa"
81     "${WEBCORE_DIR}/icu"
82     "${WEBCORE_DIR}/loader/archive/cf"
83     "${WEBCORE_DIR}/loader/cf"
84     "${WEBCORE_DIR}/loader/mac"
85     "${WEBCORE_DIR}/page/cocoa"
86     "${WEBCORE_DIR}/page/mac"
87     "${WEBCORE_DIR}/page/scrolling/cocoa"
88     "${WEBCORE_DIR}/page/scrolling/mac"
89     "${WEBCORE_DIR}/platform/audio/mac"
90     "${WEBCORE_DIR}/platform/cf"
91     "${WEBCORE_DIR}/platform/cocoa"
92     "${WEBCORE_DIR}/platform/graphics/avfoundation"
93     "${WEBCORE_DIR}/platform/graphics/avfoundation/cf"
94     "${WEBCORE_DIR}/platform/graphics/avfoundation/objc"
95     "${WEBCORE_DIR}/platform/graphics/ca"
96     "${WEBCORE_DIR}/platform/graphics/ca/cocoa"
97     "${WEBCORE_DIR}/platform/graphics/cocoa"
98     "${WEBCORE_DIR}/platform/graphics/cg"
99     "${WEBCORE_DIR}/platform/graphics/cv"
100     "${WEBCORE_DIR}/platform/graphics/gpu"
101     "${WEBCORE_DIR}/platform/graphics/gpu/legacy"
102     "${WEBCORE_DIR}/platform/graphics/egl"
103     "${WEBCORE_DIR}/platform/graphics/opentype"
104     "${WEBCORE_DIR}/platform/graphics/opengl"
105     "${WEBCORE_DIR}/platform/graphics/mac"
106     "${WEBCORE_DIR}/platform/mac"
107     "${WEBCORE_DIR}/platform/mediacapabilities"
108     "${WEBCORE_DIR}/platform/mediastream/mac"
109     "${WEBCORE_DIR}/platform/network/cocoa"
110     "${WEBCORE_DIR}/platform/network/cf"
111     "${WEBCORE_DIR}/platform/network/ios"
112     "${WEBCORE_DIR}/platform/network/mac"
113     "${WEBCORE_DIR}/platform/text/cf"
114     "${WEBCORE_DIR}/platform/text/mac"
115     "${WEBCORE_DIR}/platform/spi/cf"
116     "${WEBCORE_DIR}/platform/spi/cg"
117     "${WEBCORE_DIR}/platform/spi/cocoa"
118     "${WEBCORE_DIR}/platform/spi/ios"
119     "${WEBCORE_DIR}/platform/spi/mac"
120     "${WEBCORE_DIR}/plugins/mac"
121 )
122
123 list(APPEND WebCore_USER_AGENT_STYLE_SHEETS
124     ${WEBCORE_DIR}/html/shadow/mac/imageControlsMac.css
125     ${WEBCORE_DIR}/Modules/plugins/QuickTimePluginReplacement.css
126 )
127
128 set(WebCore_USER_AGENT_SCRIPTS
129     ${WEBCORE_DIR}/Modules/plugins/QuickTimePluginReplacement.js
130 )
131
132 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
133     "${CMAKE_OSX_SYSROOT}/usr/include/libxslt"
134     "${CMAKE_OSX_SYSROOT}/usr/include/libxml2"
135 )
136
137 list(APPEND WebCore_SOURCES
138     Modules/paymentrequest/MerchantValidationEvent.cpp
139
140     accessibility/mac/AXObjectCacheMac.mm
141     accessibility/mac/AccessibilityObjectMac.mm
142     accessibility/mac/WebAccessibilityObjectWrapperMac.mm
143
144     dom/DataTransferMac.mm
145     dom/SlotAssignment.cpp
146
147     editing/cocoa/AutofillElements.cpp
148
149     editing/mac/AlternativeTextUIController.mm
150     editing/mac/EditorMac.mm
151     editing/mac/TextAlternativeWithRange.mm
152     editing/mac/TextUndoInsertionMarkupMac.mm
153
154     html/HTMLSlotElement.cpp
155
156     html/shadow/mac/ImageControlsButtonElementMac.cpp
157     html/shadow/mac/ImageControlsRootElementMac.cpp
158
159     page/PageDebuggable.cpp
160
161     page/mac/EventHandlerMac.mm
162     page/mac/ServicesOverlayController.mm
163     page/mac/TextIndicatorWindow.mm
164     page/mac/WheelEventDeltaFilterMac.mm
165
166     page/scrolling/ScrollingTreeScrollingNodeDelegate.cpp
167
168     page/scrolling/mac/ScrollingCoordinatorMac.mm
169     page/scrolling/mac/ScrollingMomentumCalculatorMac.mm
170     page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm
171     page/scrolling/mac/ScrollingTreeMac.cpp
172
173     platform/CPUMonitor.cpp
174     platform/LocalizedStrings.cpp
175     platform/ScrollableArea.cpp
176
177     platform/audio/AudioSession.cpp
178
179     platform/audio/cocoa/WebAudioBufferList.cpp
180
181     platform/audio/mac/CAAudioStreamDescription.cpp
182
183     platform/audio/mac/AudioBusMac.mm
184     platform/audio/mac/AudioDestinationMac.cpp
185     platform/audio/mac/AudioFileReaderMac.cpp
186     platform/audio/mac/AudioHardwareListenerMac.cpp
187     platform/audio/mac/AudioSessionMac.cpp
188     platform/audio/mac/CARingBuffer.cpp
189     platform/audio/mac/FFTFrameMac.cpp
190
191     platform/cf/KeyedDecoderCF.cpp
192     platform/cf/KeyedEncoderCF.cpp
193     platform/cf/MainThreadSharedTimerCF.cpp
194     platform/cf/MediaAccessibilitySoftLink.cpp
195     platform/cf/RunLoopObserver.cpp
196     platform/cf/SharedBufferCF.cpp
197
198     platform/cocoa/ContentFilterUnblockHandlerCocoa.mm
199     platform/cocoa/CoreVideoSoftLink.cpp
200     platform/cocoa/FileMonitorCocoa.mm
201     platform/cocoa/KeyEventCocoa.mm
202     platform/cocoa/LocalizedStringsCocoa.mm
203     platform/cocoa/MIMETypeRegistryCocoa.mm
204     platform/cocoa/NetworkExtensionContentFilter.mm
205     platform/cocoa/ParentalControlsContentFilter.mm
206     platform/cocoa/PasteboardCocoa.mm
207     platform/cocoa/RuntimeApplicationChecksCocoa.mm
208     platform/cocoa/ScrollController.mm
209     platform/cocoa/ScrollSnapAnimatorState.mm
210     platform/cocoa/SearchPopupMenuCocoa.mm
211     platform/cocoa/SharedBufferCocoa.mm
212     platform/cocoa/SystemVersion.mm
213     platform/cocoa/TelephoneNumberDetectorCocoa.cpp
214     platform/cocoa/ThemeCocoa.mm
215     platform/cocoa/VideoToolboxSoftLink.cpp
216     platform/cocoa/WebCoreNSErrorExtras.mm
217
218     platform/gamepad/mac/HIDGamepad.cpp
219     platform/gamepad/mac/HIDGamepadProvider.cpp
220
221     platform/graphics/DisplayRefreshMonitor.cpp
222     platform/graphics/DisplayRefreshMonitorManager.cpp
223     platform/graphics/FourCC.cpp
224
225     platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm
226     platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm
227     platform/graphics/avfoundation/CDMPrivateMediaSourceAVFObjC.mm
228     platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp
229     platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp
230     platform/graphics/avfoundation/MediaPlaybackTargetMac.mm
231     platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
232     platform/graphics/avfoundation/MediaSelectionGroupAVFObjC.mm
233
234     platform/graphics/avfoundation/objc/AVAssetTrackUtilities.mm
235     platform/graphics/avfoundation/objc/AudioTrackPrivateAVFObjC.mm
236     platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.cpp
237     platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm
238     platform/graphics/avfoundation/objc/CDMSessionAVFoundationObjC.mm
239     platform/graphics/avfoundation/objc/CDMSessionAVStreamSession.mm
240     platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm
241     platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm
242     platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm
243     platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm
244     platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
245     platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
246     platform/graphics/avfoundation/objc/MediaSampleAVFObjC.mm
247     platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm
248     platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm
249     platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.cpp
250     platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.mm
251     platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm
252
253     platform/graphics/ca/GraphicsLayerCA.cpp
254     platform/graphics/ca/LayerPool.cpp
255     platform/graphics/ca/PlatformCAAnimation.cpp
256     platform/graphics/ca/PlatformCALayer.cpp
257     platform/graphics/ca/TileController.cpp
258     platform/graphics/ca/TileCoverageMap.cpp
259     platform/graphics/ca/TileGrid.cpp
260     platform/graphics/ca/TransformationMatrixCA.cpp
261
262     platform/graphics/ca/cocoa/PlatformCAAnimationCocoa.mm
263     platform/graphics/ca/cocoa/PlatformCAFiltersCocoa.mm
264     platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm
265     platform/graphics/ca/cocoa/WebSystemBackdropLayer.mm
266     platform/graphics/ca/cocoa/WebTiledBackingLayer.mm
267
268     platform/graphics/cg/ColorCG.cpp
269     platform/graphics/cg/FloatPointCG.cpp
270     platform/graphics/cg/FloatRectCG.cpp
271     platform/graphics/cg/FloatSizeCG.cpp
272     platform/graphics/cg/GradientCG.cpp
273     platform/graphics/cg/GraphicsContext3DCG.cpp
274     platform/graphics/cg/GraphicsContextCG.cpp
275     platform/graphics/cg/IOSurfacePool.cpp
276     platform/graphics/cg/ImageBufferCG.cpp
277     platform/graphics/cg/ImageBufferDataCG.cpp
278     platform/graphics/cg/ImageDecoderCG.cpp
279     platform/graphics/cg/ImageSourceCGMac.mm
280     platform/graphics/cg/IntPointCG.cpp
281     platform/graphics/cg/IntRectCG.cpp
282     platform/graphics/cg/IntSizeCG.cpp
283     platform/graphics/cg/NativeImageCG.cpp
284     platform/graphics/cg/PDFDocumentImage.cpp
285     platform/graphics/cg/PathCG.cpp
286     platform/graphics/cg/PatternCG.cpp
287     platform/graphics/cg/SubimageCacheWithTimer.cpp
288     platform/graphics/cg/TransformationMatrixCG.cpp
289     platform/graphics/cg/UTIRegistry.cpp
290
291     platform/graphics/cocoa/GraphicsContext3DCocoa.mm
292     platform/graphics/cocoa/GraphicsContextCocoa.mm
293     platform/graphics/cocoa/FontCacheCoreText.cpp
294     platform/graphics/cocoa/FontCascadeCocoa.mm
295     platform/graphics/cocoa/FontCocoa.mm
296     platform/graphics/cocoa/FontDescriptionCocoa.cpp
297     platform/graphics/cocoa/FontFamilySpecificationCoreText.cpp
298     platform/graphics/cocoa/FontPlatformDataCocoa.mm
299     platform/graphics/cocoa/IOSurface.mm
300     platform/graphics/cocoa/IOSurfacePoolCocoa.mm
301     platform/graphics/cocoa/WebActionDisablingCALayerDelegate.mm
302     platform/graphics/cocoa/WebCoreCALayerExtras.mm
303     platform/graphics/cocoa/WebCoreDecompressionSession.mm
304     platform/graphics/cocoa/WebGLLayer.mm
305     platform/graphics/cocoa/WebGPULayer.mm
306
307     platform/graphics/cv/ImageRotationSessionVT.mm
308     platform/graphics/cv/PixelBufferConformerCV.cpp
309     platform/graphics/cv/TextureCacheCV.mm
310     platform/graphics/cv/VideoTextureCopierCV.cpp
311
312     platform/graphics/gpu/Texture.cpp
313     platform/graphics/gpu/TilingData.cpp
314
315     platform/graphics/mac/ColorMac.mm
316     platform/graphics/mac/ComplexTextControllerCoreText.mm
317     platform/graphics/mac/DisplayRefreshMonitorMac.cpp
318     platform/graphics/mac/FloatPointMac.mm
319     platform/graphics/mac/FloatRectMac.mm
320     platform/graphics/mac/FloatSizeMac.mm
321     platform/graphics/mac/FontCacheMac.mm
322     platform/graphics/mac/FontCustomPlatformData.cpp
323     platform/graphics/mac/GlyphPageMac.cpp
324     platform/graphics/mac/IconMac.mm
325     platform/graphics/mac/ImageMac.mm
326     platform/graphics/mac/IntPointMac.mm
327     platform/graphics/mac/IntRectMac.mm
328     platform/graphics/mac/IntSizeMac.mm
329     platform/graphics/mac/PDFDocumentImageMac.mm
330     platform/graphics/mac/SimpleFontDataCoreText.cpp
331     platform/graphics/mac/WebLayer.mm
332
333     platform/graphics/opengl/Extensions3DOpenGL.cpp
334     platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
335     platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
336     platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
337     platform/graphics/opengl/TemporaryOpenGLSetting.cpp
338
339     platform/graphics/opentype/OpenTypeCG.cpp
340     platform/graphics/opentype/OpenTypeMathData.cpp
341
342     platform/mac/BlacklistUpdater.mm
343     platform/mac/CursorMac.mm
344     platform/mac/DragDataMac.mm
345     platform/mac/DragImageMac.mm
346     platform/mac/EventLoopMac.mm
347     platform/mac/KeyEventMac.mm
348     platform/mac/LocalCurrentGraphicsContext.mm
349     platform/mac/LoggingMac.mm
350     platform/mac/MediaRemoteSoftLink.cpp
351     platform/mac/NSScrollerImpDetails.mm
352     platform/mac/PasteboardMac.mm
353     platform/mac/PasteboardWriter.mm
354     platform/mac/PlatformEventFactoryMac.mm
355     platform/mac/PlatformPasteboardMac.mm
356     platform/mac/PlatformScreenMac.mm
357     platform/mac/PlatformSpeechSynthesizerMac.mm
358     platform/mac/PluginBlacklist.mm
359     platform/mac/PowerObserverMac.cpp
360     platform/mac/PublicSuffixMac.mm
361     platform/mac/RemoteCommandListenerMac.mm
362     platform/mac/SSLKeyGeneratorMac.mm
363     platform/mac/ScrollAnimatorMac.mm
364     platform/mac/ScrollViewMac.mm
365     platform/mac/ScrollbarThemeMac.mm
366     platform/mac/SerializedPlatformRepresentationMac.mm
367     platform/mac/StringUtilities.mm
368     platform/mac/SuddenTermination.mm
369     platform/mac/ThemeMac.mm
370     platform/mac/ThreadCheck.mm
371     platform/mac/UserActivityMac.mm
372     platform/mac/ValidationBubbleMac.mm
373     platform/mac/WebCoreFullScreenPlaceholderView.mm
374     platform/mac/WebCoreFullScreenWarningView.mm
375     platform/mac/WebCoreFullScreenWindow.mm
376     platform/mac/WebCoreNSURLExtras.mm
377     platform/mac/WebCoreObjCExtras.mm
378     platform/mac/WebGLBlacklist.mm
379     platform/mac/WebNSAttributedStringExtras.mm
380     platform/mac/WidgetMac.mm
381
382     platform/mediastream/mac/MockRealtimeVideoSourceMac.mm
383
384     platform/network/cf/CertificateInfoCFNet.cpp
385     platform/network/cf/DNSResolveQueueCFNet.cpp
386     platform/network/cf/FormDataStreamCFNet.cpp
387     platform/network/cf/NetworkStorageSessionCFNet.cpp
388     platform/network/cf/ProxyServerCFNet.cpp
389     platform/network/cf/ResourceRequestCFNet.cpp
390     platform/network/cf/SocketStreamHandleImplCFNet.cpp
391
392     platform/network/cocoa/CookieCocoa.mm
393     platform/network/cocoa/CookieStorageObserver.mm
394     platform/network/cocoa/CredentialCocoa.mm
395     platform/network/cocoa/NetworkLoadMetrics.mm
396     platform/network/cocoa/NetworkStorageSessionCocoa.mm
397     platform/network/cocoa/ProtectionSpaceCocoa.mm
398     platform/network/cocoa/ResourceRequestCocoa.mm
399     platform/network/cocoa/ResourceResponseCocoa.mm
400     platform/network/cocoa/WebCoreNSURLSession.mm
401
402     platform/network/mac/AuthenticationMac.mm
403     platform/network/mac/BlobDataFileReferenceMac.mm
404     platform/network/mac/CookieStorageMac.mm
405     platform/network/mac/CredentialStorageMac.mm
406     platform/network/mac/FormDataStreamMac.mm
407     platform/network/mac/NetworkStateNotifierMac.cpp
408     platform/network/mac/ResourceErrorMac.mm
409     platform/network/mac/ResourceHandleMac.mm
410     platform/network/mac/SynchronousLoaderClient.mm
411     platform/network/mac/UTIUtilities.mm
412     platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm
413     platform/network/mac/WebCoreURLResponse.mm
414
415     platform/text/cf/HyphenationCF.cpp
416
417     platform/text/mac/LocaleMac.mm
418     platform/text/mac/TextBoundaries.mm
419     platform/text/mac/TextCheckingMac.mm
420     platform/text/mac/TextEncodingRegistryMac.mm
421
422     rendering/RenderThemeCocoa.mm
423     rendering/RenderThemeMac.mm
424     rendering/TextAutoSizing.cpp
425
426     xml/SoftLinkLibxslt.cpp
427 )
428
429 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS
430     accessibility/mac/WebAccessibilityObjectWrapperBase.h
431     accessibility/mac/WebAccessibilityObjectWrapperMac.h
432
433     bridge/objc/WebScriptObject.h
434     bridge/objc/WebScriptObjectPrivate.h
435
436     editing/cocoa/AutofillElements.h
437     editing/cocoa/DataDetection.h
438     editing/cocoa/HTMLConverter.h
439
440     editing/mac/AlternativeTextUIController.h
441     editing/mac/DictionaryLookup.h
442     editing/mac/TextAlternativeWithRange.h
443     editing/mac/TextUndoInsertionMarkupMac.h
444
445     loader/archive/cf/LegacyWebArchive.h
446
447     loader/mac/LoaderNSURLExtras.h
448
449     page/mac/TextIndicatorWindow.h
450     page/mac/WebCoreFrameView.h
451
452     page/scrolling/cocoa/ScrollingTreeFixedNode.h
453     page/scrolling/cocoa/ScrollingTreePositionedNode.h
454     page/scrolling/cocoa/ScrollingTreeStickyNode.h
455
456     page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h
457     page/scrolling/mac/ScrollingTreeOverflowScrollingNodeMac.h
458     page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.h
459
460     platform/audio/cocoa/MediaSessionManagerCocoa.h
461     platform/audio/cocoa/WebAudioBufferList.h
462
463     platform/audio/mac/CAAudioStreamDescription.h
464     platform/audio/mac/CARingBuffer.h
465
466     platform/cf/RunLoopObserver.h
467
468     platform/cocoa/PlatformView.h
469     platform/cocoa/PlaybackSessionInterface.h
470     platform/cocoa/PlaybackSessionModel.h
471     platform/cocoa/PlaybackSessionModelMediaElement.h
472     platform/cocoa/ScrollController.h
473     platform/cocoa/ScrollSnapAnimatorState.h
474     platform/cocoa/SearchPopupMenuCocoa.h
475     platform/cocoa/SystemVersion.h
476     platform/cocoa/VideoFullscreenChangeObserver.h
477     platform/cocoa/VideoFullscreenModel.h
478     platform/cocoa/VideoFullscreenModelVideoElement.h
479     platform/cocoa/WebKitAvailability.h
480
481     platform/gamepad/cocoa/GameControllerGamepadProvider.h
482
483     platform/gamepad/mac/HIDGamepad.h
484     platform/gamepad/mac/HIDGamepadProvider.h
485
486     platform/graphics/avfoundation/MediaPlaybackTargetMac.h
487     platform/graphics/avfoundation/WebMediaSessionManagerMac.h
488
489     platform/graphics/ca/GraphicsLayerCA.h
490     platform/graphics/ca/LayerPool.h
491     platform/graphics/ca/PlatformCAAnimation.h
492     platform/graphics/ca/PlatformCAFilters.h
493     platform/graphics/ca/PlatformCALayer.h
494     platform/graphics/ca/PlatformCALayerClient.h
495     platform/graphics/ca/TileController.h
496
497     platform/graphics/ca/cocoa/PlatformCAAnimationCocoa.h
498     platform/graphics/ca/cocoa/PlatformCALayerCocoa.h
499
500     platform/graphics/cg/GraphicsContextCG.h
501     platform/graphics/cg/IOSurfacePool.h
502     platform/graphics/cg/ImageBufferDataCG.h
503     platform/graphics/cg/ImageBufferUtilitiesCG.h
504     platform/graphics/cg/PDFDocumentImage.h
505     platform/graphics/cg/UTIRegistry.h
506
507     platform/graphics/cocoa/FontCacheCoreText.h
508     platform/graphics/cocoa/FontFamilySpecificationCoreText.h
509     platform/graphics/cocoa/IOSurface.h
510     platform/graphics/cocoa/WebActionDisablingCALayerDelegate.h
511     platform/graphics/cocoa/WebCoreCALayerExtras.h
512
513     platform/graphics/mac/ColorMac.h
514     platform/graphics/mac/SwitchingGPUClient.h
515     platform/graphics/mac/WebLayer.h
516
517     platform/mac/DynamicLinkerInterposing.h
518     platform/mac/LegacyNSPasteboardTypes.h
519     platform/mac/LocalDefaultSystemAppearance.h
520     platform/mac/NSScrollerImpDetails.h
521     platform/mac/PasteboardWriter.h
522     platform/mac/PlatformEventFactoryMac.h
523     platform/mac/PlaybackSessionInterfaceMac.h
524     platform/mac/PluginBlacklist.h
525     platform/mac/ScrollbarThemeMac.h
526     platform/mac/StringUtilities.h
527     platform/mac/VideoFullscreenInterfaceMac.h
528     platform/mac/WebCoreFullScreenPlaceholderView.h
529     platform/mac/WebCoreFullScreenWindow.h
530     platform/mac/WebCoreNSFontManagerExtras.h
531     platform/mac/WebCoreNSURLExtras.h
532     platform/mac/WebCoreObjCExtras.h
533     platform/mac/WebCoreView.h
534     platform/mac/WebGLBlacklist.h
535     platform/mac/WebNSAttributedStringExtras.h
536     platform/mac/WebPlaybackControlsManager.h
537
538     platform/mediastream/libwebrtc/LibWebRTCProviderCocoa.h
539
540     platform/mediastream/mac/WebAudioSourceProviderAVFObjC.h
541
542     platform/network/cf/AuthenticationCF.h
543     platform/network/cf/AuthenticationChallenge.h
544     platform/network/cf/CertificateInfo.h
545     platform/network/cf/DownloadBundle.h
546     platform/network/cf/LoaderRunLoopCF.h
547     platform/network/cf/ProtectionSpaceCFNet.h
548     platform/network/cf/ResourceError.h
549     platform/network/cf/ResourceRequest.h
550     platform/network/cf/ResourceRequestCFNet.h
551     platform/network/cf/ResourceResponse.h
552     platform/network/cf/SocketStreamHandleImpl.h
553
554     platform/network/cocoa/CookieStorageObserver.h
555     platform/network/cocoa/CredentialCocoa.h
556     platform/network/cocoa/ProtectionSpaceCocoa.h
557     platform/network/cocoa/WebCoreNSURLSession.h
558
559     platform/network/mac/AuthenticationMac.h
560     platform/network/mac/FormDataStreamMac.h
561     platform/network/mac/UTIUtilities.h
562     platform/network/mac/WebCoreURLResponse.h
563 )
564
565 list(APPEND WebCore_IDL_FILES
566     Modules/plugins/QuickTimePluginReplacement.idl
567 )
568
569 set(FEATURE_DEFINES_OBJECTIVE_C "LANGUAGE_OBJECTIVE_C=1 ${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}")
570 set(ADDITIONAL_BINDINGS_DEPENDENCIES
571     ${WINDOW_CONSTRUCTORS_FILE}
572     ${WORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
573     ${DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
574 )
575 set(CSS_VALUE_PLATFORM_DEFINES "WTF_PLATFORM_MAC=1 HAVE_OS_DARK_MODE_SUPPORT=1")
576
577 add_custom_command(
578     OUTPUT ${WebCore_DERIVED_SOURCES_DIR}/WHLSLStandardLibraryFunctionMap.cpp
579     MAIN_DEPENDENCY Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt
580     DEPENDS Modules/webgpu/WHLSL/WHLSLBuildStandardLibraryFunctionMap.py
581     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/Modules/webgpu/WHLSL/WHLSLBuildStandardLibraryFunctionMap.py ${WEBCORE_DIR}/Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt ${WebCore_DERIVED_SOURCES_DIR}/WHLSLStandardLibraryFunctionMap.cpp
582     VERBATIM)
583
584 list(APPEND WebCoreTestSupport_LIBRARIES PRIVATE WebCore)
585 list(APPEND WebCoreTestSupport_SOURCES
586     testing/Internals.mm
587     testing/MockContentFilter.cpp
588     testing/MockContentFilterSettings.cpp
589     testing/MockPreviewLoaderClient.cpp
590
591     testing/cocoa/WebArchiveDumpSupport.mm
592 )
593
594 set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} "-compatibility_version 1 -current_version ${WEBKIT_MAC_VERSION}")