Add CMake build system for WinCairo port.
[WebKit-https.git] / Source / WebCore / PlatformWinCairo.cmake
1 list(APPEND WebCore_INCLUDE_DIRECTORIES
2     "${DERIVED_SOURCES_DIR}/ForwardingHeaders/JavaScriptCore"
3     "${DirectX_INCLUDE_DIRS}"
4     "$ENV{WEBKIT_LIBRARIES}/include"
5     "$ENV{WEBKIT_LIBRARIES}/include/cairo"
6     "$ENV{WEBKIT_LIBRARIES}/include/SQLite"
7     "$ENV{WEBKIT_LIBRARIES}/include/zlib"
8     "${JAVASCRIPTCORE_DIR}/wtf/text"
9     "${WEBCORE_DIR}/loader/archive/cf"
10     "${WEBCORE_DIR}/platform/cf"
11     "${WEBCORE_DIR}/platform/graphics/cairo"
12     "${WEBCORE_DIR}/platform/network/curl"
13     "${WEBCORE_DIR}/platform/network/win"
14 )
15
16 list(APPEND WebCore_SOURCES
17     accessibility/win/AXObjectCacheWin.cpp
18     accessibility/win/AccessibilityObjectWin.cpp
19     accessibility/win/AccessibilityObjectWrapperWin.cpp
20
21     editing/SmartReplace.cpp
22     editing/SmartReplaceCF.cpp
23
24     loader/archive/cf/LegacyWebArchive.cpp
25
26     page/win/FrameCairoWin.cpp
27     page/win/FrameWin.cpp
28
29     platform/cf/CFURLExtras.cpp
30     platform/cf/FileSystemCF.cpp
31     platform/cf/SharedBufferCF.cpp
32     platform/cf/URLCF.cpp
33
34     platform/cf/win/CertificateCFWin.cpp
35
36     platform/graphics/FontPlatformData.cpp
37     platform/graphics/GLContext.cpp
38     platform/graphics/GraphicsLayer.cpp
39     platform/graphics/ImageSource.cpp
40     platform/graphics/ShadowBlur.cpp
41     platform/graphics/WOFFFileFormat.cpp
42
43     platform/graphics/cairo/BitmapImageCairo.cpp
44     platform/graphics/cairo/CairoUtilities.cpp
45     platform/graphics/cairo/FloatRectCairo.cpp
46     platform/graphics/cairo/FontCairo.cpp
47     platform/graphics/cairo/GradientCairo.cpp
48     platform/graphics/cairo/GraphicsContext3DCairo.cpp
49     platform/graphics/cairo/GraphicsContextCairo.cpp
50     platform/graphics/cairo/ImageBufferCairo.cpp
51     platform/graphics/cairo/ImageCairo.cpp
52     platform/graphics/cairo/IntRectCairo.cpp
53     platform/graphics/cairo/OwnPtrCairo.cpp
54     platform/graphics/cairo/PathCairo.cpp
55     platform/graphics/cairo/PatternCairo.cpp
56     platform/graphics/cairo/PlatformContextCairo.cpp
57     platform/graphics/cairo/PlatformPathCairo.cpp
58     platform/graphics/cairo/RefPtrCairo.cpp
59     platform/graphics/cairo/TransformationMatrixCairo.cpp
60
61     platform/graphics/texmap/BitmapTexture.cpp
62     platform/graphics/texmap/BitmapTextureGL.cpp
63     platform/graphics/texmap/BitmapTextureImageBuffer.cpp
64     platform/graphics/texmap/BitmapTexturePool.cpp
65     platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
66     platform/graphics/texmap/TextureMapper.cpp
67     platform/graphics/texmap/TextureMapperAnimation.cpp
68     platform/graphics/texmap/TextureMapperBackingStore.cpp
69     platform/graphics/texmap/TextureMapperFPSCounter.cpp
70     platform/graphics/texmap/TextureMapperGL.cpp
71     platform/graphics/texmap/TextureMapperImageBuffer.cpp
72     platform/graphics/texmap/TextureMapperLayer.cpp
73     platform/graphics/texmap/TextureMapperShaderProgram.cpp
74     platform/graphics/texmap/TextureMapperSurfaceBackingStore.cpp
75     platform/graphics/texmap/TextureMapperTile.cpp
76     platform/graphics/texmap/TextureMapperTiledBackingStore.cpp
77
78     platform/graphics/win/DIBPixelData.cpp
79     platform/graphics/win/FontCacheWin.cpp
80     platform/graphics/win/FontCustomPlatformDataCairo.cpp
81     platform/graphics/win/FontPlatformDataCairoWin.cpp
82     platform/graphics/win/FontPlatformDataWin.cpp
83     platform/graphics/win/FontWin.cpp
84     platform/graphics/win/FullScreenController.cpp
85     platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp
86     platform/graphics/win/GraphicsContextCairoWin.cpp
87     platform/graphics/win/GraphicsContextWin.cpp
88     platform/graphics/win/ImageCairoWin.cpp
89     platform/graphics/win/SimpleFontDataCairoWin.cpp
90     platform/graphics/win/SimpleFontDataWin.cpp
91     platform/graphics/win/TransformationMatrixWin.cpp
92     platform/graphics/win/UniscribeController.cpp
93
94     platform/image-decoders/ImageDecoder.cpp
95
96     platform/image-decoders/bmp/BMPImageDecoder.cpp
97     platform/image-decoders/bmp/BMPImageReader.cpp
98
99     platform/image-decoders/cairo/ImageDecoderCairo.cpp
100
101     platform/image-decoders/gif/GIFImageDecoder.cpp
102     platform/image-decoders/gif/GIFImageReader.cpp
103
104     platform/image-decoders/ico/ICOImageDecoder.cpp
105
106     platform/image-decoders/jpeg/JPEGImageDecoder.cpp
107
108     platform/image-decoders/png/PNGImageDecoder.cpp
109
110     platform/image-decoders/webp/WEBPImageDecoder.cpp
111
112     platform/network/CredentialStorage.cpp
113     platform/network/NetworkStorageSessionStub.cpp
114     platform/network/SynchronousLoaderClient.cpp
115
116     platform/network/curl/CookieJarCurl.cpp
117     platform/network/curl/CredentialStorageCurl.cpp
118     platform/network/curl/CurlCacheEntry.cpp
119     platform/network/curl/CurlCacheManager.cpp
120     platform/network/curl/CurlDownload.cpp
121     platform/network/curl/DNSCurl.cpp
122     platform/network/curl/FormDataStreamCurl.cpp
123     platform/network/curl/MultipartHandle.cpp
124     platform/network/curl/ProxyServerCurl.cpp
125     platform/network/curl/ResourceHandleCurl.cpp
126     platform/network/curl/ResourceHandleManager.cpp
127     platform/network/curl/SocketStreamHandleCurl.cpp
128     platform/network/curl/SSLHandle.cpp
129
130     platform/network/win/DownloadBundleWin.cpp
131
132     platform/text/cf/HyphenationCF.cpp
133
134     platform/text/win/LocaleWin.cpp
135     platform/text/win/TextBreakIteratorInternalICUWin.cpp
136
137     platform/win/DelayLoadedModulesEnumerator.cpp
138     platform/win/DragImageCairoWin.cpp
139     platform/win/GDIObjectCounter.cpp
140     platform/win/ImportedFunctionsEnumerator.cpp
141     platform/win/ImportedModulesEnumerator.cpp
142     platform/win/LoggingWin.cpp
143     platform/win/PEImage.cpp
144     platform/win/PathWalker.cpp
145     platform/win/ScrollbarThemeSafari.cpp
146     platform/win/WebCoreBundleWin.cpp
147     platform/win/WebCoreTextRenderer.cpp
148     platform/win/WindowMessageBroadcaster.cpp
149
150     rendering/RenderLayerBacking.cpp
151     rendering/RenderLayerCompositor.cpp
152     rendering/RenderThemeSafari.cpp
153     rendering/RenderThemeWin.cpp
154 )
155
156 list(APPEND WebCore_USER_AGENT_STYLE_SHEETS
157     ${WEBCORE_DIR}/css/themeWin.css
158     ${WEBCORE_DIR}/css/themeWinQuirks.css
159 )
160
161 list(APPEND WebCore_LIBRARIES
162     ${DirectX_LIBRARIES}
163     CFLite
164     SQLite3
165     cairo
166     comctl32
167     crypt32
168     iphlpapi
169     libcurl_imp
170     libjpeg
171     libpng
172     libxml2
173     libxslt
174     rpcrt4
175     shlwapi
176     usp10
177     version
178     winmm
179     ws2_32
180     zdll
181 )
182
183 list(APPEND WebCoreTestSupport_LIBRARIES
184     CFLite
185     cairo
186     shlwapi
187 )
188
189 set(WebCore_FORWARDING_HEADERS_DIRECTORIES
190     accessibility
191     bindings
192     bridge
193     css
194     dom
195     editing
196     history
197     html
198     inspector
199     loader
200     page
201     platform
202     plugins
203     rendering
204     storage
205     svg
206     websockets
207     workers
208     xml
209
210     Modules/geolocation
211     Modules/notifications
212     Modules/webdatabase
213
214     accessibility/win
215
216     bindings/generic
217     bindings/js
218
219     bridge/jsc
220
221     history/cf
222
223     html/forms
224     html/parser
225
226     loader/appcache
227     loader/archive
228     loader/cache
229     loader/icon
230
231     loader/archive/cf
232
233     page/animation
234     page/win
235
236     platform/animation
237     platform/cf
238     platform/graphics
239     platform/mock
240     platform/network
241     platform/sql
242     platform/text
243     platform/win
244
245     platform/cf/win
246
247     platform/graphics/cairo
248     platform/graphics/opentype
249     platform/graphics/transforms
250     platform/graphics/win
251
252     platform/graphics/ca/win
253
254     platform/network/curl
255
256     platform/text/transcoder
257
258     rendering/style
259     rendering/svg
260
261     svg/animation
262     svg/graphics
263     svg/properties
264
265     svg/graphics/filters
266 )
267
268 WEBKIT_CREATE_FORWARDING_HEADERS(WebCore DIRECTORIES ${WebCore_FORWARDING_HEADERS_DIRECTORIES})