From e436fb8bc23951f8a60c7605d87ebaafee4bd66a Mon Sep 17 00:00:00 2001 From: huangjunjie Date: Sat, 28 Dec 2024 17:02:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=B3=BB=E7=BB=9F=E8=87=AA?= =?UTF-8?q?=E5=B8=A6=E7=9A=84=E6=96=B9=E5=BC=8F=E5=88=A4=E6=96=AD=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E4=B8=BAheif=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huangjunjie --- skia/BUILD.gn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/skia/BUILD.gn b/skia/BUILD.gn index 389c336ad9..1df4f550b1 100644 --- a/skia/BUILD.gn +++ b/skia/BUILD.gn @@ -129,6 +129,9 @@ config("skia_config") { } } } + if (enable_heif_decoder) { + defines += [ "SK_HAS_HEIF_LIBRARY" ] + } } # Internal-facing config for Skia library code. @@ -381,6 +384,10 @@ component("skia") { sources += skia_no_encode_jpeg_srcs } + if (enable_heif_decoder) { + sources += [ "//third_party/skia/src/codec/SkHeifCodec.cpp" ] + } + if (skia_support_xmp) { sources += skia_xml_sources sources += [ "//third_party/skia/src/codec/SkJpegXmp.cpp" ] -- Gitee