[WinCairo] Use find_package cairo in build
[WebKit-https.git] / Source / WebCore / PlatformWinCairo.cmake
1 include(platform/ImageDecoders.cmake)
2 include(platform/TextureMapper.cmake)
3
4 list(APPEND WebCore_INCLUDE_DIRECTORIES
5     ${CAIRO_INCLUDE_DIRS}
6     "${DERIVED_SOURCES_DIR}/ForwardingHeaders/JavaScriptCore"
7     "${DirectX_INCLUDE_DIRS}"
8     "${WEBKIT_LIBRARIES_DIR}/include"
9     "${WEBKIT_LIBRARIES_DIR}/include/SQLite"
10     "${WEBKIT_LIBRARIES_DIR}/include/zlib"
11     "${JAVASCRIPTCORE_DIR}/wtf/text"
12     "${WEBCORE_DIR}/loader/archive/cf"
13     "${WEBCORE_DIR}/platform/cf"
14     "${WEBCORE_DIR}/platform/graphics/cairo"
15     "${WEBCORE_DIR}/platform/network/curl"
16 )
17
18 list(APPEND WebCore_SOURCES
19     page/win/FrameCairoWin.cpp
20
21     platform/graphics/GLContext.cpp
22     platform/graphics/PlatformDisplay.cpp
23
24     platform/graphics/cairo/CairoUtilities.cpp
25     platform/graphics/cairo/FloatRectCairo.cpp
26     platform/graphics/cairo/FontCairo.cpp
27     platform/graphics/cairo/GradientCairo.cpp
28     platform/graphics/cairo/GraphicsContext3DCairo.cpp
29     platform/graphics/cairo/GraphicsContextCairo.cpp
30     platform/graphics/cairo/ImageBufferCairo.cpp
31     platform/graphics/cairo/ImageCairo.cpp
32     platform/graphics/cairo/IntRectCairo.cpp
33     platform/graphics/cairo/NativeImageCairo.cpp
34     platform/graphics/cairo/PathCairo.cpp
35     platform/graphics/cairo/PatternCairo.cpp
36     platform/graphics/cairo/PlatformContextCairo.cpp
37     platform/graphics/cairo/PlatformPathCairo.cpp
38     platform/graphics/cairo/RefPtrCairo.cpp
39     platform/graphics/cairo/TransformationMatrixCairo.cpp
40
41     platform/graphics/win/FontCustomPlatformDataCairo.cpp
42     platform/graphics/win/FontPlatformDataCairoWin.cpp
43     platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp
44     platform/graphics/win/GraphicsContextCairoWin.cpp
45     platform/graphics/win/ImageCairoWin.cpp
46     platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp
47     platform/graphics/win/SimpleFontDataCairoWin.cpp
48
49     platform/image-decoders/cairo/ImageBackingStoreCairo.cpp
50
51     platform/network/NetworkStorageSessionStub.cpp
52
53     platform/network/curl/CookieJarCurl.cpp
54     platform/network/curl/CredentialStorageCurl.cpp
55     platform/network/curl/CurlCacheEntry.cpp
56     platform/network/curl/CurlCacheManager.cpp
57     platform/network/curl/CurlDownload.cpp
58     platform/network/curl/DNSCurl.cpp
59     platform/network/curl/FormDataStreamCurl.cpp
60     platform/network/curl/MultipartHandle.cpp
61     platform/network/curl/ProxyServerCurl.cpp
62     platform/network/curl/ResourceHandleCurl.cpp
63     platform/network/curl/ResourceHandleManager.cpp
64     platform/network/curl/SSLHandle.cpp
65     platform/network/curl/SocketStreamHandleImplCurl.cpp
66
67     platform/text/win/LocaleWin.cpp
68
69     platform/win/DelayLoadedModulesEnumerator.cpp
70     platform/win/DragImageCairoWin.cpp
71     platform/win/ImportedFunctionsEnumerator.cpp
72     platform/win/ImportedModulesEnumerator.cpp
73     platform/win/PEImage.cpp
74 )
75
76 list(APPEND WebCore_LIBRARIES
77     ${CAIRO_LIBRARIES}
78     ${DirectX_LIBRARIES}
79     CFLite
80     SQLite3
81     comctl32
82     crypt32
83     iphlpapi
84     libcurl_imp
85     libjpeg
86     libpng
87     libxml2
88     libxslt
89     rpcrt4
90     shlwapi
91     usp10
92     version
93     winmm
94     ws2_32
95     zdll
96 )
97
98 list(APPEND WebCoreTestSupport_LIBRARIES
99     ${CAIRO_LIBRARIES}
100     CFLite
101     shlwapi
102 )
103
104 list(APPEND WebCore_FORWARDING_HEADERS_DIRECTORIES
105     platform/graphics/cairo
106
107     platform/network/curl
108 )