Source/WebKit:
[WebKit-https.git] / Source / WebCore / PlatformAppleWin.cmake
1 add_definitions(-DQUARTZCORE_DLL -DDISABLE_COREIMAGE -DDISABLE_FRONTEND -DDISABLE_IOSURFACE -DDISABLE_RENDERSERVER
2     -DDISABLE_3D_TRANSFORMS -DWEBCORE_CONTEXT_MENUS -DPSAPI_VERSION=1)
3
4 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES
5     "${WEBKIT_LIBRARIES_DIR}/include"
6     "${WEBCORE_DIR}/loader/archive/cf"
7     "${WEBCORE_DIR}/platform/graphics/avfoundation"
8     "${WEBCORE_DIR}/platform/graphics/avfoundation/cf"
9     "${WEBCORE_DIR}/platform/graphics/ca"
10     "${WEBCORE_DIR}/platform/graphics/ca/win"
11     "${WEBCORE_DIR}/platform/graphics/cg"
12     "${WEBCORE_DIR}/platform/network/cf"
13 )
14
15 list(APPEND WebCore_SOURCES
16     loader/cf/ResourceLoaderCFNet.cpp
17
18     page/CaptionUserPreferencesMediaAF.cpp
19
20     platform/cf/MediaAccessibilitySoftLink.cpp
21
22     platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp
23     platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp
24     platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
25     platform/graphics/avfoundation/WebMediaSessionManagerMac.cpp
26
27     platform/graphics/avfoundation/cf/CDMSessionAVFoundationCF.cpp
28     platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.cpp
29     platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp
30     platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp
31     platform/graphics/avfoundation/cf/WebCoreAVCFResourceLoader.cpp
32
33     platform/graphics/win/FontCustomPlatformData.cpp
34
35     platform/network/cf/AuthenticationCF.cpp
36     platform/network/cf/CertificateInfoCFNet.cpp
37     platform/network/cf/CookieStorageCFNet.cpp
38     platform/network/cf/CredentialStorageCFNet.cpp
39     platform/network/cf/DNSResolveQueueCFNet.cpp
40     platform/network/cf/FormDataStreamCFNet.cpp
41     platform/network/cf/LoaderRunLoopCF.cpp
42     platform/network/cf/NetworkStorageSessionCFNet.cpp
43     platform/network/cf/NetworkStorageSessionCFNetWin.cpp
44     platform/network/cf/ProtectionSpaceCFNet.cpp
45     platform/network/cf/ProxyServerCFNet.cpp
46     platform/network/cf/ResourceErrorCF.cpp
47     platform/network/cf/ResourceHandleCFNet.cpp
48     platform/network/cf/ResourceHandleCFURLConnectionDelegate.cpp
49     platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp
50     platform/network/cf/ResourceRequestCFNet.cpp
51     platform/network/cf/ResourceResponseCFNet.cpp
52     platform/network/cf/SocketStreamHandleImplCFNet.cpp
53     platform/network/cf/SynchronousLoaderClientCFNet.cpp
54
55     platform/text/LocaleNone.cpp
56 )
57
58 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS
59     platform/network/cf/AuthenticationCF.h
60     platform/network/cf/AuthenticationChallenge.h
61     platform/network/cf/CertificateInfo.h
62     platform/network/cf/DownloadBundle.h
63     platform/network/cf/LoaderRunLoopCF.h
64     platform/network/cf/ProtectionSpaceCFNet.h
65     platform/network/cf/ResourceError.h
66     platform/network/cf/ResourceRequest.h
67     platform/network/cf/ResourceRequestCFNet.h
68     platform/network/cf/ResourceResponse.h
69     platform/network/cf/SocketStreamHandleImpl.h
70 )
71
72 if (${USE_DIRECT2D})
73     list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES
74         "${WEBCORE_DIR}/platform/graphics/win"
75     )
76
77     list(APPEND WebCore_SOURCES
78         page/win/FrameWinDirect2D.cpp
79
80         platform/graphics/win/FontCascadeDirect2D.cpp
81         platform/graphics/win/FontPlatformDataDirect2D.cpp
82         platform/graphics/win/GlyphPageTreeNodeDirect2D.cpp
83         platform/graphics/win/GradientDirect2D.cpp
84         platform/graphics/win/GraphicsContextDirect2D.cpp
85         platform/graphics/win/GraphicsLayerDirect2D.cpp
86         platform/graphics/win/ImageBufferDataDirect2D.cpp
87         platform/graphics/win/ImageBufferDirect2D.cpp
88         platform/graphics/win/ImageDecoderDirect2D.cpp
89         platform/graphics/win/ImageDirect2D.cpp
90         platform/graphics/win/NativeImageDirect2D.cpp
91         platform/graphics/win/PathDirect2D.cpp
92         platform/graphics/win/PatternDirect2D.cpp
93         platform/graphics/win/SimpleFontDataDirect2D.cpp
94         platform/graphics/win/TextAnalyzerHelper.cpp
95
96         platform/win/DragImageDirect2D.cpp
97     )
98 else ()
99     list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES
100         "${WEBCORE_DIR}/platform/graphics/avfoundation"
101         "${WEBCORE_DIR}/platform/graphics/avfoundation/cf"
102         "${WEBCORE_DIR}/platform/graphics/ca"
103         "${WEBCORE_DIR}/platform/graphics/ca/win"
104         "${WEBCORE_DIR}/platform/graphics/cg"
105     )
106
107     list(APPEND WebCore_SOURCES
108         page/win/FrameCGWin.cpp
109
110         platform/graphics/ca/GraphicsLayerCA.cpp
111         platform/graphics/ca/LayerPool.cpp
112         platform/graphics/ca/PlatformCALayer.cpp
113         platform/graphics/ca/TileController.cpp
114         platform/graphics/ca/TileCoverageMap.cpp
115         platform/graphics/ca/TileGrid.cpp
116         platform/graphics/ca/TransformationMatrixCA.cpp
117
118         platform/graphics/ca/win/CACFLayerTreeHost.cpp
119         platform/graphics/ca/win/LayerChangesFlusher.cpp
120         platform/graphics/ca/win/PlatformCAAnimationWin.cpp
121         platform/graphics/ca/win/PlatformCAFiltersWin.cpp
122         platform/graphics/ca/win/PlatformCALayerWin.cpp
123         platform/graphics/ca/win/PlatformCALayerWinInternal.cpp
124         platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp
125         platform/graphics/ca/win/WebTiledBackingLayerWin.cpp
126
127         platform/graphics/cg/ColorCG.cpp
128         platform/graphics/cg/FloatPointCG.cpp
129         platform/graphics/cg/FloatRectCG.cpp
130         platform/graphics/cg/FloatSizeCG.cpp
131         platform/graphics/cg/GradientCG.cpp
132         platform/graphics/cg/GraphicsContext3DCG.cpp
133         platform/graphics/cg/GraphicsContextCG.cpp
134         platform/graphics/cg/IOSurfacePool.cpp
135         platform/graphics/cg/ImageBufferCG.cpp
136         platform/graphics/cg/ImageBufferDataCG.cpp
137         platform/graphics/cg/ImageBufferUtilitiesCG.cpp
138         platform/graphics/cg/ImageDecoderCG.cpp
139         platform/graphics/cg/ImageSourceCGWin.cpp
140         platform/graphics/cg/IntPointCG.cpp
141         platform/graphics/cg/IntRectCG.cpp
142         platform/graphics/cg/IntSizeCG.cpp
143         platform/graphics/cg/NativeImageCG.cpp
144         platform/graphics/cg/PDFDocumentImage.cpp
145         platform/graphics/cg/PathCG.cpp
146         platform/graphics/cg/PatternCG.cpp
147         platform/graphics/cg/SubimageCacheWithTimer.cpp
148         platform/graphics/cg/TransformationMatrixCG.cpp
149         platform/graphics/cg/UTIRegistry.cpp
150
151         platform/graphics/opentype/OpenTypeCG.cpp
152
153         platform/graphics/win/FontCGWin.cpp
154         platform/graphics/win/FontPlatformDataCGWin.cpp
155         platform/graphics/win/GlyphPageTreeNodeCGWin.cpp
156         platform/graphics/win/GraphicsContextCGWin.cpp
157         platform/graphics/win/ImageCGWin.cpp
158         platform/graphics/win/SimpleFontDataCGWin.cpp
159
160         platform/win/DragImageCGWin.cpp
161     )
162
163     list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS
164         platform/graphics/ca/GraphicsLayerCA.h
165         platform/graphics/ca/LayerPool.h
166         platform/graphics/ca/PlatformCAAnimation.h
167         platform/graphics/ca/PlatformCAFilters.h
168         platform/graphics/ca/PlatformCALayer.h
169         platform/graphics/ca/PlatformCALayerClient.h
170         platform/graphics/ca/TileController.h
171
172         platform/graphics/ca/win/AbstractCACFLayerTreeHost.h
173         platform/graphics/ca/win/CACFLayerTreeHost.h
174         platform/graphics/ca/win/CACFLayerTreeHostClient.h
175         platform/graphics/ca/win/PlatformCALayerWin.h
176
177         platform/graphics/cg/GraphicsContextCG.h
178         platform/graphics/cg/IOSurfacePool.h
179         platform/graphics/cg/ImageBufferDataCG.h
180         platform/graphics/cg/ImageBufferUtilitiesCG.h
181         platform/graphics/cg/PDFDocumentImage.h
182         platform/graphics/cg/UTIRegistry.h
183     )
184 endif ()