shared_library("LibGfx") {
  output_name = "gfx"
  include_dirs = [
    "//Userland/Libraries",
    "//Userland",
  ]
  sources = [
    "AffineTransform.cpp",
    "AntiAliasingPainter.cpp",
    "Bitmap.cpp",
    "BitmapMixer.cpp",
    "ClassicStylePainter.cpp",
    "ClassicWindowTheme.cpp",
    "Color.cpp",
    "CursorParams.cpp",
    "EdgeFlagPathRasterizer.cpp",
    "Filters/ColorBlindnessFilter.cpp",
    "Filters/FastBoxBlurFilter.cpp",
    "Filters/LumaFilter.cpp",
    "Filters/StackBlurFilter.cpp",
    "Font/BitmapFont.cpp",
    "Font/Emoji.cpp",
    "Font/Font.cpp",
    "Font/FontDatabase.cpp",
    "Font/OpenType/Cmap.cpp",
    "Font/OpenType/Font.cpp",
    "Font/OpenType/Glyf.cpp",
    "Font/OpenType/Hinting/Opcodes.cpp",
    "Font/ScaledFont.cpp",
    "Font/Typeface.cpp",
    "Font/WOFF/Font.cpp",
    "GradientPainting.cpp",
    "ICC/BinaryWriter.cpp",
    "ICC/Profile.cpp",
    "ICC/TagTypes.cpp",
    "ICC/Tags.cpp",
    "ICC/WellKnownProfiles.cpp",
    "ImageFormats/BMPLoader.cpp",
    "ImageFormats/BMPWriter.cpp",
    "ImageFormats/BooleanDecoder.cpp",
    "ImageFormats/DDSLoader.cpp",
    "ImageFormats/GIFLoader.cpp",
    "ImageFormats/ICOLoader.cpp",
    "ImageFormats/ImageDecoder.cpp",
    "ImageFormats/JPEGLoader.cpp",
    "ImageFormats/JPEGWriter.cpp",
    "ImageFormats/JPEGXLLoader.cpp",
    "ImageFormats/PBMLoader.cpp",
    "ImageFormats/PGMLoader.cpp",
    "ImageFormats/PNGLoader.cpp",
    "ImageFormats/PNGWriter.cpp",
    "ImageFormats/PPMLoader.cpp",
    "ImageFormats/PortableFormatWriter.cpp",
    "ImageFormats/QOILoader.cpp",
    "ImageFormats/QOIWriter.cpp",
    "ImageFormats/TGALoader.cpp",
    "ImageFormats/TinyVGLoader.cpp",
    "ImageFormats/WebPLoader.cpp",
    "ImageFormats/WebPLoaderLossless.cpp",
    "ImageFormats/WebPLoaderLossy.cpp",
    "Painter.cpp",
    "Palette.cpp",
    "Path.cpp",
    "Point.cpp",
    "Rect.cpp",
    "ShareableBitmap.cpp",
    "Size.cpp",
    "StylePainter.cpp",
    "SystemTheme.cpp",
    "TextDirection.cpp",
    "TextLayout.cpp",
    "Triangle.cpp",
    "VectorGraphic.cpp",
    "WindowTheme.cpp",
  ]
  deps = [
    "//AK",
    "//Userland/Libraries/LibCompress",
    "//Userland/Libraries/LibCore",
    "//Userland/Libraries/LibCrypto",
    "//Userland/Libraries/LibFileSystem",
    "//Userland/Libraries/LibIPC",
    "//Userland/Libraries/LibTextCodec",
    "//Userland/Libraries/LibUnicode",
  ]
}
