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