[iOS] Do not show selection UI for editable elements with opacity near zero
[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     "SourcesMac.txt"
27 )
28
29 list(APPEND WebCore_LIBRARIES
30     ${ACCELERATE_LIBRARY}
31     ${AUDIOTOOLBOX_LIBRARY}
32     ${AUDIOUNIT_LIBRARY}
33     ${AVFOUNDATION_LIBRARY}
34     ${CARBON_LIBRARY}
35     ${CFNETWORK_LIBRARY}
36     ${COCOA_LIBRARY}
37     ${COREAUDIO_LIBRARY}
38     ${CORESERVICES_LIBRARY}
39     ${DISKARBITRATION_LIBRARY}
40     ${IOKIT_LIBRARY}
41     ${IOSURFACE_LIBRARY}
42     ${METAL_LIBRARY}
43     ${OPENGL_LIBRARY}
44     ${QUARTZ_LIBRARY}
45     ${QUARTZCORE_LIBRARY}
46     ${SECURITY_LIBRARY}
47     ${SQLITE_LIBRARIES}
48     ${SYSTEMCONFIGURATION_LIBRARY}
49     ${XML2_LIBRARY}
50     ${ZLIB_LIBRARY}
51 )
52
53 add_definitions(-iframework ${APPLICATIONSERVICES_LIBRARY}/Versions/Current/Frameworks)
54 add_definitions(-iframework ${AVFOUNDATION_LIBRARY}/Versions/Current/Frameworks)
55 add_definitions(-iframework ${CARBON_LIBRARY}/Versions/Current/Frameworks)
56 add_definitions(-iframework ${CORESERVICES_LIBRARY}/Versions/Current/Frameworks)
57 add_definitions(-iframework ${QUARTZ_LIBRARY}/Frameworks)
58
59 find_library(DATADETECTORSCORE_FRAMEWORK DataDetectorsCore HINTS /System/Library/PrivateFrameworks)
60 if (NOT DATADETECTORSCORE_FRAMEWORK-NOTFOUND)
61     list(APPEND WebCore_LIBRARIES ${DATADETECTORSCORE_FRAMEWORK})
62 endif ()
63
64 find_library(LOOKUP_FRAMEWORK Lookup HINTS /System/Library/PrivateFrameworks)
65 if (NOT LOOKUP_FRAMEWORK-NOTFOUND)
66     list(APPEND WebCore_LIBRARIES ${LOOKUP_FRAMEWORK})
67 endif ()
68
69 list(APPEND WebCore_INCLUDE_DIRECTORIES
70     "${THIRDPARTY_DIR}/ANGLE"
71     "${THIRDPARTY_DIR}/ANGLE/include/KHR"
72     "${WEBCORE_DIR}/accessibility/mac"
73     "${WEBCORE_DIR}/bridge/objc"
74     "${WEBCORE_DIR}/editing/cocoa"
75     "${WEBCORE_DIR}/editing/ios"
76     "${WEBCORE_DIR}/editing/mac"
77     "${WEBCORE_DIR}/html/shadow/cocoa"
78     "${WEBCORE_DIR}/icu"
79     "${WEBCORE_DIR}/loader/archive/cf"
80     "${WEBCORE_DIR}/loader/cf"
81     "${WEBCORE_DIR}/loader/mac"
82     "${WEBCORE_DIR}/page/cocoa"
83     "${WEBCORE_DIR}/page/mac"
84     "${WEBCORE_DIR}/page/scrolling/mac"
85     "${WEBCORE_DIR}/platform/audio/mac"
86     "${WEBCORE_DIR}/platform/cf"
87     "${WEBCORE_DIR}/platform/cocoa"
88     "${WEBCORE_DIR}/platform/graphics/avfoundation"
89     "${WEBCORE_DIR}/platform/graphics/avfoundation/cf"
90     "${WEBCORE_DIR}/platform/graphics/avfoundation/objc"
91     "${WEBCORE_DIR}/platform/graphics/ca"
92     "${WEBCORE_DIR}/platform/graphics/ca/cocoa"
93     "${WEBCORE_DIR}/platform/graphics/cocoa"
94     "${WEBCORE_DIR}/platform/graphics/cg"
95     "${WEBCORE_DIR}/platform/graphics/cv"
96     "${WEBCORE_DIR}/platform/graphics/gpu"
97     "${WEBCORE_DIR}/platform/graphics/egl"
98     "${WEBCORE_DIR}/platform/graphics/opentype"
99     "${WEBCORE_DIR}/platform/graphics/opengl"
100     "${WEBCORE_DIR}/platform/graphics/mac"
101     "${WEBCORE_DIR}/platform/mac"
102     "${WEBCORE_DIR}/platform/mediacapabilities"
103     "${WEBCORE_DIR}/platform/mediastream/mac"
104     "${WEBCORE_DIR}/platform/network/cocoa"
105     "${WEBCORE_DIR}/platform/network/cf"
106     "${WEBCORE_DIR}/platform/network/ios"
107     "${WEBCORE_DIR}/platform/network/mac"
108     "${WEBCORE_DIR}/platform/text/cf"
109     "${WEBCORE_DIR}/platform/text/mac"
110     "${WEBCORE_DIR}/platform/spi/cf"
111     "${WEBCORE_DIR}/platform/spi/cg"
112     "${WEBCORE_DIR}/platform/spi/cocoa"
113     "${WEBCORE_DIR}/platform/spi/ios"
114     "${WEBCORE_DIR}/platform/spi/mac"
115     "${WEBCORE_DIR}/plugins/mac"
116 )
117
118 list(APPEND WebCore_USER_AGENT_STYLE_SHEETS
119     ${WEBCORE_DIR}/html/shadow/mac/imageControlsMac.css
120     ${WEBCORE_DIR}/Modules/plugins/QuickTimePluginReplacement.css
121 )
122
123 set(WebCore_USER_AGENT_SCRIPTS
124     ${WEBCORE_DIR}/Modules/plugins/QuickTimePluginReplacement.js
125 )
126
127 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
128     "${CMAKE_OSX_SYSROOT}/usr/include/libxslt"
129     "${CMAKE_OSX_SYSROOT}/usr/include/libxml2"
130 )
131
132 list(APPEND WebCore_SOURCES
133     Modules/paymentrequest/MerchantValidationEvent.cpp
134
135     accessibility/mac/AXObjectCacheMac.mm
136     accessibility/mac/AccessibilityObjectMac.mm
137     accessibility/mac/WebAccessibilityObjectWrapperMac.mm
138
139     dom/DataTransferMac.mm
140     dom/SlotAssignment.cpp
141
142     editing/ios/AutofillElements.cpp
143
144     editing/mac/AlternativeTextUIController.mm
145     editing/mac/DictionaryLookup.mm
146     editing/mac/EditorMac.mm
147     editing/mac/TextAlternativeWithRange.mm
148     editing/mac/TextUndoInsertionMarkupMac.mm
149     editing/mac/WebContentReaderMac.mm
150
151     html/HTMLSlotElement.cpp
152
153     html/shadow/mac/ImageControlsButtonElementMac.cpp
154     html/shadow/mac/ImageControlsRootElementMac.cpp
155
156     page/PageDebuggable.cpp
157
158     page/mac/EventHandlerMac.mm
159     page/mac/ServicesOverlayController.mm
160     page/mac/TextIndicatorWindow.mm
161     page/mac/UserAgentMac.mm
162     page/mac/WheelEventDeltaFilterMac.mm
163
164     page/scrolling/mac/ScrollingCoordinatorMac.mm
165     page/scrolling/mac/ScrollingMomentumCalculatorMac.mm
166     page/scrolling/mac/ScrollingStateFrameScrollingNodeMac.mm
167     page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm
168     page/scrolling/mac/ScrollingTreeMac.cpp
169
170     platform/CPUMonitor.cpp
171     platform/LocalizedStrings.cpp
172     platform/ScrollableArea.cpp
173
174     platform/audio/AudioSession.cpp
175
176     platform/audio/cocoa/MediaSessionManagerCocoa.cpp
177     platform/audio/cocoa/WebAudioBufferList.cpp
178
179     platform/audio/mac/CAAudioStreamDescription.cpp
180
181     platform/audio/mac/AudioBusMac.mm
182     platform/audio/mac/AudioDestinationMac.cpp
183     platform/audio/mac/AudioFileReaderMac.cpp
184     platform/audio/mac/AudioHardwareListenerMac.cpp
185     platform/audio/mac/AudioSessionMac.cpp
186     platform/audio/mac/CARingBuffer.cpp
187     platform/audio/mac/FFTFrameMac.cpp
188     platform/audio/mac/MediaSessionManagerMac.mm
189
190     platform/cf/CFURLExtras.cpp
191     platform/cf/FileSystemCF.cpp
192     platform/cf/KeyedDecoderCF.cpp
193     platform/cf/KeyedEncoderCF.cpp
194     platform/cf/MainThreadSharedTimerCF.cpp
195     platform/cf/MediaAccessibilitySoftLink.cpp
196     platform/cf/RunLoopObserver.cpp
197     platform/cf/SharedBufferCF.cpp
198     platform/cf/URLCF.cpp
199
200     platform/cocoa/ContentFilterUnblockHandlerCocoa.mm
201     platform/cocoa/CoreVideoSoftLink.cpp
202     platform/cocoa/FileMonitorCocoa.mm
203     platform/cocoa/FileSystemCocoa.mm
204     platform/cocoa/KeyEventCocoa.mm
205     platform/cocoa/LocalizedStringsCocoa.mm
206     platform/cocoa/MIMETypeRegistryCocoa.mm
207     platform/cocoa/MachSendRight.cpp
208     platform/cocoa/NetworkExtensionContentFilter.mm
209     platform/cocoa/ParentalControlsContentFilter.mm
210     platform/cocoa/PasteboardCocoa.mm
211     platform/cocoa/RuntimeApplicationChecksCocoa.mm
212     platform/cocoa/ScrollController.mm
213     platform/cocoa/ScrollSnapAnimatorState.mm
214     platform/cocoa/SearchPopupMenuCocoa.mm
215     platform/cocoa/SharedBufferCocoa.mm
216     platform/cocoa/SystemVersion.mm
217     platform/cocoa/TelephoneNumberDetectorCocoa.cpp
218     platform/cocoa/ThemeCocoa.mm
219     platform/cocoa/VideoToolboxSoftLink.cpp
220     platform/cocoa/WebCoreNSErrorExtras.mm
221
222     platform/gamepad/mac/HIDGamepad.cpp
223     platform/gamepad/mac/HIDGamepadProvider.cpp
224
225     platform/graphics/DisplayRefreshMonitor.cpp
226     platform/graphics/DisplayRefreshMonitorManager.cpp
227     platform/graphics/FourCC.cpp
228
229     platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm
230     platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm
231     platform/graphics/avfoundation/CDMPrivateMediaSourceAVFObjC.mm
232     platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp
233     platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp
234     platform/graphics/avfoundation/MediaPlaybackTargetMac.mm
235     platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
236     platform/graphics/avfoundation/MediaSelectionGroupAVFObjC.mm
237
238     platform/graphics/avfoundation/objc/AVAssetTrackUtilities.mm
239     platform/graphics/avfoundation/objc/AVFoundationMIMETypeCache.mm
240     platform/graphics/avfoundation/objc/AudioTrackPrivateAVFObjC.mm
241     platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.cpp
242     platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm
243     platform/graphics/avfoundation/objc/CDMSessionAVFoundationObjC.mm
244     platform/graphics/avfoundation/objc/CDMSessionAVStreamSession.mm
245     platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm
246     platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm
247     platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm
248     platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm
249     platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
250     platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
251     platform/graphics/avfoundation/objc/MediaSampleAVFObjC.mm
252     platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm
253     platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm
254     platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.cpp
255     platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.mm
256     platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm
257
258     platform/graphics/ca/GraphicsLayerCA.cpp
259     platform/graphics/ca/LayerPool.cpp
260     platform/graphics/ca/PlatformCAAnimation.cpp
261     platform/graphics/ca/PlatformCALayer.cpp
262     platform/graphics/ca/TileController.cpp
263     platform/graphics/ca/TileCoverageMap.cpp
264     platform/graphics/ca/TileGrid.cpp
265     platform/graphics/ca/TransformationMatrixCA.cpp
266
267     platform/graphics/ca/cocoa/PlatformCAAnimationCocoa.mm
268     platform/graphics/ca/cocoa/PlatformCAFiltersCocoa.mm
269     platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm
270     platform/graphics/ca/cocoa/WebSystemBackdropLayer.mm
271     platform/graphics/ca/cocoa/WebTiledBackingLayer.mm
272
273     platform/graphics/cg/ColorCG.cpp
274     platform/graphics/cg/FloatPointCG.cpp
275     platform/graphics/cg/FloatRectCG.cpp
276     platform/graphics/cg/FloatSizeCG.cpp
277     platform/graphics/cg/GradientCG.cpp
278     platform/graphics/cg/GraphicsContext3DCG.cpp
279     platform/graphics/cg/GraphicsContextCG.cpp
280     platform/graphics/cg/IOSurfacePool.cpp
281     platform/graphics/cg/ImageBufferCG.cpp
282     platform/graphics/cg/ImageBufferDataCG.cpp
283     platform/graphics/cg/ImageDecoderCG.cpp
284     platform/graphics/cg/ImageSourceCGMac.mm
285     platform/graphics/cg/IntPointCG.cpp
286     platform/graphics/cg/IntRectCG.cpp
287     platform/graphics/cg/IntSizeCG.cpp
288     platform/graphics/cg/NativeImageCG.cpp
289     platform/graphics/cg/PDFDocumentImage.cpp
290     platform/graphics/cg/PathCG.cpp
291     platform/graphics/cg/PatternCG.cpp
292     platform/graphics/cg/SubimageCacheWithTimer.cpp
293     platform/graphics/cg/TransformationMatrixCG.cpp
294     platform/graphics/cg/UTIRegistry.cpp
295
296     platform/graphics/cocoa/GraphicsContext3DCocoa.mm
297     platform/graphics/cocoa/GraphicsContextCocoa.mm
298     platform/graphics/cocoa/FontCacheCoreText.cpp
299     platform/graphics/cocoa/FontCascadeCocoa.mm
300     platform/graphics/cocoa/FontCocoa.mm
301     platform/graphics/cocoa/FontDescriptionCocoa.cpp
302     platform/graphics/cocoa/FontFamilySpecificationCoreText.cpp
303     platform/graphics/cocoa/FontPlatformDataCocoa.mm
304     platform/graphics/cocoa/IOSurface.mm
305     platform/graphics/cocoa/IOSurfacePoolCocoa.mm
306     platform/graphics/cocoa/WebActionDisablingCALayerDelegate.mm
307     platform/graphics/cocoa/WebCoreCALayerExtras.mm
308     platform/graphics/cocoa/WebCoreDecompressionSession.mm
309     platform/graphics/cocoa/WebGLLayer.mm
310     platform/graphics/cocoa/WebGPULayer.mm
311
312     platform/graphics/cv/PixelBufferConformerCV.cpp
313     platform/graphics/cv/TextureCacheCV.mm
314     platform/graphics/cv/VideoTextureCopierCV.cpp
315
316     platform/graphics/gpu/Texture.cpp
317     platform/graphics/gpu/TilingData.cpp
318
319     platform/graphics/mac/ColorMac.mm
320     platform/graphics/mac/ComplexTextControllerCoreText.mm
321     platform/graphics/mac/DisplayRefreshMonitorMac.cpp
322     platform/graphics/mac/FloatPointMac.mm
323     platform/graphics/mac/FloatRectMac.mm
324     platform/graphics/mac/FloatSizeMac.mm
325     platform/graphics/mac/FontCacheMac.mm
326     platform/graphics/mac/FontCustomPlatformData.cpp
327     platform/graphics/mac/GlyphPageMac.cpp
328     platform/graphics/mac/IconMac.mm
329     platform/graphics/mac/ImageMac.mm
330     platform/graphics/mac/IntPointMac.mm
331     platform/graphics/mac/IntRectMac.mm
332     platform/graphics/mac/IntSizeMac.mm
333     platform/graphics/mac/MediaPlayerPrivateQTKit.mm
334     platform/graphics/mac/MediaTimeQTKit.mm
335     platform/graphics/mac/PDFDocumentImageMac.mm
336     platform/graphics/mac/SimpleFontDataCoreText.cpp
337     platform/graphics/mac/WebLayer.mm
338
339     platform/graphics/metal/GPUBufferMetal.mm
340     platform/graphics/metal/GPUCommandBufferMetal.mm
341     platform/graphics/metal/GPUCommandQueueMetal.mm
342     platform/graphics/metal/GPUComputeCommandEncoderMetal.mm
343     platform/graphics/metal/GPUComputePipelineStateMetal.mm
344     platform/graphics/metal/GPUDepthStencilDescriptorMetal.mm
345     platform/graphics/metal/GPUDepthStencilStateMetal.mm
346     platform/graphics/metal/GPUDeviceMetal.mm
347     platform/graphics/metal/GPUDrawableMetal.mm
348     platform/graphics/metal/GPUFunctionMetal.mm
349     platform/graphics/metal/GPULibraryMetal.mm
350     platform/graphics/metal/GPURenderCommandEncoderMetal.mm
351     platform/graphics/metal/GPURenderPassAttachmentDescriptorMetal.mm
352     platform/graphics/metal/GPURenderPassColorAttachmentDescriptorMetal.mm
353     platform/graphics/metal/GPURenderPassDepthAttachmentDescriptorMetal.mm
354     platform/graphics/metal/GPURenderPassDescriptorMetal.mm
355     platform/graphics/metal/GPURenderPipelineColorAttachmentDescriptorMetal.mm
356     platform/graphics/metal/GPURenderPipelineDescriptorMetal.mm
357     platform/graphics/metal/GPURenderPipelineStateMetal.mm
358     platform/graphics/metal/GPUTextureDescriptorMetal.mm
359     platform/graphics/metal/GPUTextureMetal.mm
360
361     platform/graphics/opengl/Extensions3DOpenGL.cpp
362     platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
363     platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
364     platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
365     platform/graphics/opengl/TemporaryOpenGLSetting.cpp
366
367     platform/graphics/opentype/OpenTypeCG.cpp
368     platform/graphics/opentype/OpenTypeMathData.cpp
369
370     platform/mac/BlacklistUpdater.mm
371     platform/mac/CursorMac.mm
372     platform/mac/DragDataMac.mm
373     platform/mac/DragImageMac.mm
374     platform/mac/EventLoopMac.mm
375     platform/mac/FileSystemMac.mm
376     platform/mac/KeyEventMac.mm
377     platform/mac/LocalCurrentGraphicsContext.mm
378     platform/mac/LoggingMac.mm
379     platform/mac/MediaRemoteSoftLink.cpp
380     platform/mac/NSScrollerImpDetails.mm
381     platform/mac/PasteboardMac.mm
382     platform/mac/PasteboardWriter.mm
383     platform/mac/PlatformEventFactoryMac.mm
384     platform/mac/PlatformPasteboardMac.mm
385     platform/mac/PlatformScreenMac.mm
386     platform/mac/PlatformSpeechSynthesizerMac.mm
387     platform/mac/PluginBlacklist.mm
388     platform/mac/PowerObserverMac.cpp
389     platform/mac/PublicSuffixMac.mm
390     platform/mac/RemoteCommandListenerMac.mm
391     platform/mac/SSLKeyGeneratorMac.mm
392     platform/mac/ScrollAnimatorMac.mm
393     platform/mac/ScrollViewMac.mm
394     platform/mac/ScrollbarThemeMac.mm
395     platform/mac/SerializedPlatformRepresentationMac.mm
396     platform/mac/StringUtilities.mm
397     platform/mac/SuddenTermination.mm
398     platform/mac/ThemeMac.mm
399     platform/mac/ThreadCheck.mm
400     platform/mac/URLMac.mm
401     platform/mac/UserActivityMac.mm
402     platform/mac/ValidationBubbleMac.mm
403     platform/mac/WebCoreFullScreenPlaceholderView.mm
404     platform/mac/WebCoreFullScreenWarningView.mm
405     platform/mac/WebCoreFullScreenWindow.mm
406     platform/mac/WebCoreNSURLExtras.mm
407     platform/mac/WebCoreObjCExtras.mm
408     platform/mac/WebGLBlacklist.mm
409     platform/mac/WebNSAttributedStringExtras.mm
410     platform/mac/WebVideoFullscreenController.mm
411     platform/mac/WebVideoFullscreenHUDWindowController.mm
412     platform/mac/WebWindowAnimation.mm
413     platform/mac/WidgetMac.mm
414
415     platform/mediastream/mac/MockRealtimeVideoSourceMac.mm
416
417     platform/network/cf/CertificateInfoCFNet.cpp
418     platform/network/cf/DNSResolveQueueCFNet.cpp
419     platform/network/cf/FormDataStreamCFNet.cpp
420     platform/network/cf/NetworkStorageSessionCFNet.cpp
421     platform/network/cf/ProxyServerCFNet.cpp
422     platform/network/cf/ResourceRequestCFNet.cpp
423     platform/network/cf/SocketStreamHandleImplCFNet.cpp
424
425     platform/network/cocoa/CookieCocoa.mm
426     platform/network/cocoa/CookieStorageObserver.mm
427     platform/network/cocoa/CredentialCocoa.mm
428     platform/network/cocoa/NetworkLoadMetrics.mm
429     platform/network/cocoa/NetworkStorageSessionCocoa.mm
430     platform/network/cocoa/ProtectionSpaceCocoa.mm
431     platform/network/cocoa/ResourceRequestCocoa.mm
432     platform/network/cocoa/ResourceResponseCocoa.mm
433     platform/network/cocoa/WebCoreNSURLSession.mm
434
435     platform/network/mac/AuthenticationMac.mm
436     platform/network/mac/BlobDataFileReferenceMac.mm
437     platform/network/mac/CookieStorageMac.mm
438     platform/network/mac/CredentialStorageMac.mm
439     platform/network/mac/FormDataStreamMac.mm
440     platform/network/mac/NetworkStateNotifierMac.cpp
441     platform/network/mac/ResourceErrorMac.mm
442     platform/network/mac/ResourceHandleMac.mm
443     platform/network/mac/SynchronousLoaderClient.mm
444     platform/network/mac/UTIUtilities.mm
445     platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm
446     platform/network/mac/WebCoreURLResponse.mm
447
448     platform/posix/FileSystemPOSIX.cpp
449
450     platform/text/cf/HyphenationCF.cpp
451
452     platform/text/mac/LocaleMac.mm
453     platform/text/mac/TextBoundaries.mm
454     platform/text/mac/TextCheckingMac.mm
455     platform/text/mac/TextEncodingRegistryMac.mm
456
457     rendering/RenderThemeCocoa.mm
458     rendering/RenderThemeMac.mm
459     rendering/TextAutoSizing.cpp
460
461     xml/SoftLinkLibxslt.cpp
462 )
463
464 # FIXME: We do not need everything from all of these directories.
465 # Move some to WebCore_FORWARDING_HEADERS_FILES once people start actually maintaining this.
466 set(WebCore_FORWARDING_HEADERS_DIRECTORIES
467     accessibility
468     bridge
469     contentextensions
470     crypto
471     css
472     dom
473     editing
474     fileapi
475     history
476     html
477     inspector
478     loader
479     page
480     platform
481     plugins
482     rendering
483     replay
484     storage
485     style
486     svg
487     workers
488
489     workers/service/context
490
491     Modules/applepay
492     Modules/applicationmanifest
493     Modules/cache
494     Modules/geolocation
495     Modules/indexeddb
496     Modules/mediastream
497     Modules/notifications
498     Modules/webdatabase
499     Modules/websockets
500
501     Modules/indexeddb/client
502     Modules/indexeddb/shared
503     Modules/indexeddb/server
504
505     bindings/js
506
507     bridge/objc
508     bridge/jsc
509
510     css/parser
511
512     editing/cocoa
513     editing/mac
514     editing/ios
515
516     html/canvas
517     html/forms
518     html/parser
519     html/shadow
520
521     inspector/agents
522
523     loader/appcache
524     loader/archive
525     loader/cache
526     loader/cocoa
527
528     loader/archive/cf
529
530     page/animation
531     page/cocoa
532     page/csp
533     page/mac
534     page/scrolling
535
536     page/scrolling/mac
537
538     platform/animation
539     platform/audio
540     platform/cf
541     platform/cocoa
542     platform/graphics
543     platform/mac
544     platform/mediastream
545     platform/mock
546     platform/network
547     platform/sql
548     platform/text
549
550     platform/audio/cocoa
551
552     platform/gamepad/cocoa
553     platform/gamepad/mac
554
555     platform/graphics/ca
556     platform/graphics/cocoa
557     platform/graphics/cg
558     platform/graphics/filters
559     platform/graphics/opentype
560     platform/graphics/mac
561     platform/graphics/transforms
562
563     platform/graphics/ca/cocoa
564
565     platform/mediastream/libwebrtc
566
567     platform/network/cf
568     platform/network/cocoa
569     platform/network/mac
570
571     platform/spi/cf
572     platform/spi/cg
573     platform/spi/cocoa
574     platform/spi/mac
575
576     rendering/line
577     rendering/style
578
579     svg/graphics
580     svg/properties
581
582     workers/service
583
584     workers/service/server
585
586     xml
587 )
588
589 set(WebCore_FORWARDING_HEADERS_FILES
590     Modules/webdatabase/DatabaseDetails.h
591
592     bridge/IdentifierRep.h
593     bridge/npruntime_impl.h
594     bridge/npruntime_internal.h
595
596     contentextensions/CompiledContentExtension.h
597
598     editing/EditAction.h
599     editing/EditingBehaviorTypes.h
600     editing/EditingBoundary.h
601     editing/FindOptions.h
602     editing/FrameSelection.h
603     editing/TextAffinity.h
604
605     editing/mac/TextAlternativeWithRange.h
606
607     history/HistoryItem.h
608     history/PageCache.h
609
610     html/HTMLMediaElement.h
611
612     loader/appcache/ApplicationCacheStorage.h
613
614     loader/icon/IconDatabase.h
615     loader/icon/IconDatabaseBase.h
616     loader/icon/IconDatabaseClient.h
617
618     loader/mac/LoaderNSURLExtras.h
619
620     platform/PlatformExportMacros.h
621
622     platform/audio/AudioHardwareListener.h
623
624     platform/cf/RunLoopObserver.h
625
626     platform/cocoa/MachSendRight.h
627     platform/cocoa/SoftLinking.h
628
629     platform/graphics/cocoa/IOSurface.h
630
631     platform/graphics/transforms/AffineTransform.h
632
633     platform/network/cf/CertificateInfo.h
634     platform/network/cf/ResourceResponse.h
635
636     platform/network/mac/AuthenticationMac.h
637
638     platform/sql/SQLiteDatabase.h
639
640     rendering/style/RenderStyleConstants.h
641 )
642
643 list(APPEND WebCore_IDL_FILES
644     Modules/plugins/QuickTimePluginReplacement.idl
645 )
646
647 WEBKIT_CREATE_FORWARDING_HEADERS(WebCore DIRECTORIES ${WebCore_FORWARDING_HEADERS_DIRECTORIES} FILES ${WebCore_FORWARDING_HEADERS_FILES})
648
649 set(FEATURE_DEFINES_OBJECTIVE_C "LANGUAGE_OBJECTIVE_C=1 ${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}")
650 set(ADDITIONAL_BINDINGS_DEPENDENCIES
651     ${WINDOW_CONSTRUCTORS_FILE}
652     ${WORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
653     ${DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
654 )
655
656 list(APPEND WebCoreTestSupport_LIBRARIES PRIVATE WebCore)
657 list(APPEND WebCoreTestSupport_SOURCES
658     testing/Internals.mm
659     testing/MockContentFilter.cpp
660     testing/MockContentFilterSettings.cpp
661     testing/MockPreviewLoaderClient.cpp
662
663     testing/cocoa/WebArchiveDumpSupport.mm
664 )
665
666 set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} "-compatibility_version 1 -current_version ${WEBKIT_MAC_VERSION}")