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