Web Automation: elements larger than the viewport have incorrect in-view center point
[WebKit-https.git] / Source / WebCore / platform / ImageDecoders.cmake
1 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES
2     "${WEBCORE_DIR}/platform/image-decoders"
3     "${WEBCORE_DIR}/platform/image-decoders/bmp"
4     "${WEBCORE_DIR}/platform/image-decoders/gif"
5     "${WEBCORE_DIR}/platform/image-decoders/ico"
6     "${WEBCORE_DIR}/platform/image-decoders/jpeg"
7     "${WEBCORE_DIR}/platform/image-decoders/jpeg2000"
8     "${WEBCORE_DIR}/platform/image-decoders/png"
9     "${WEBCORE_DIR}/platform/image-decoders/webp"
10 )
11
12 list(APPEND WebCore_SOURCES
13     platform/image-decoders/ScalableImageDecoder.cpp
14     platform/image-decoders/ScalableImageDecoderFrame.cpp
15
16     platform/image-decoders/bmp/BMPImageDecoder.cpp
17     platform/image-decoders/bmp/BMPImageReader.cpp
18
19     platform/image-decoders/gif/GIFImageDecoder.cpp
20     platform/image-decoders/gif/GIFImageReader.cpp
21
22     platform/image-decoders/ico/ICOImageDecoder.cpp
23
24     platform/image-decoders/jpeg/JPEGImageDecoder.cpp
25
26     platform/image-decoders/jpeg2000/JPEG2000ImageDecoder.cpp
27
28     platform/image-decoders/png/PNGImageDecoder.cpp
29
30     platform/image-decoders/webp/WEBPImageDecoder.cpp
31 )
32
33 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
34     ${JPEG_INCLUDE_DIR}
35     ${PNG_INCLUDE_DIRS}
36 )
37 list(APPEND WebCore_LIBRARIES
38     ${JPEG_LIBRARIES}
39     ${PNG_LIBRARIES}
40 )
41
42 if (OpenJPEG_FOUND)
43     list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
44         ${OPENJPEG_INCLUDE_DIRS}
45     )
46     list(APPEND WebCore_LIBRARIES
47       ${OPENJPEG_LIBRARIES}
48     )
49 endif ()
50
51 if (WEBP_FOUND)
52     list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
53         ${WEBP_INCLUDE_DIRS}
54     )
55     list(APPEND WebCore_LIBRARIES
56         ${WEBP_LIBRARIES}
57     )
58 endif ()
59
60 if (USE_CAIRO)
61     list(APPEND WebCore_SOURCES
62         platform/image-decoders/cairo/ImageBackingStoreCairo.cpp
63     )
64 endif ()