37 lines
870 B
Diff
37 lines
870 B
Diff
|
From 40c466949bd8ccb61cb55655848d23684a9f8a94 Mon Sep 17 00:00:00 2001
|
||
|
From: Matt Jolly <kangie@gentoo.org>
|
||
|
Date: Mon, 25 Mar 2024 21:38:35 +1000
|
||
|
Subject: [PATCH] libwebp shim: add libwebp_sharpyuv target
|
||
|
|
||
|
Signed-off-by: Matt Jolly <Kangie@gentoo.org>
|
||
|
--- a/build/linux/unbundle/libwebp.gn
|
||
|
+++ b/build/linux/unbundle/libwebp.gn
|
||
|
@@ -22,14 +22,24 @@ shim_headers("libwebp_shim") {
|
||
|
"webp/mux.h",
|
||
|
"webp/mux_types.h",
|
||
|
"webp/types.h",
|
||
|
+ "webp/sharpyuv/sharpyuv.h",
|
||
|
+ "webp/sharpyuv/sharpyuv_csp.h",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
+source_set("libwebp_sharpyuv") {
|
||
|
+ deps = [ ":libwebp_shim" ]
|
||
|
+ public_configs = [ ":system_libwebp" ]
|
||
|
+}
|
||
|
+
|
||
|
source_set("libwebp_webp") {
|
||
|
deps = [ ":libwebp_shim" ]
|
||
|
public_configs = [ ":system_libwebp" ]
|
||
|
}
|
||
|
|
||
|
group("libwebp") {
|
||
|
- deps = [ ":libwebp_webp" ]
|
||
|
+ deps = [
|
||
|
+ ":libwebp_webp",
|
||
|
+ ":libwebp_sharpyuv"
|
||
|
+ ]
|
||
|
}
|
||
|
--
|
||
|
2.44.0
|