Delete WebMetal implementation in favor of WebGPU
[WebKit-https.git] / Source / WebCore / platform / FreeType.cmake
1 list(APPEND WebCore_INCLUDE_DIRECTORIES
2     "${WEBCORE_DIR}/platform/graphics/freetype"
3     "${WEBCORE_DIR}/platform/graphics/harfbuzz"
4     "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
5 )
6
7 list(APPEND WebCore_SOURCES
8     platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp
9     platform/graphics/freetype/FontPlatformDataFreeType.cpp
10     platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp
11     platform/graphics/freetype/RefPtrFontconfig.cpp
12     platform/graphics/freetype/SimpleFontDataFreeType.cpp
13
14     platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.cpp
15 )
16
17 if (PORT STREQUAL "GTK")
18     list(APPEND WebCorePlatformGTK_SOURCES
19         platform/graphics/freetype/FontCacheFreeType.cpp
20 )
21 else ()
22     list(APPEND WebCore_SOURCES
23         platform/graphics/freetype/FontCacheFreeType.cpp
24 )
25 endif ()
26
27 if (USE_CAIRO)
28     list(APPEND WebCore_SOURCES
29         platform/graphics/cairo/FontCairoHarfbuzzNG.cpp
30     )
31 endif ()
32
33 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
34     ${FONTCONFIG_INCLUDE_DIRS}
35     ${FREETYPE_INCLUDE_DIRS}
36     ${HARFBUZZ_INCLUDE_DIRS}
37 )
38
39 list(APPEND WebCore_LIBRARIES
40     ${FONTCONFIG_LIBRARIES}
41     ${FREETYPE_LIBRARIES}
42     ${HARFBUZZ_LIBRARIES}
43 )