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