aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-build_linux_unbundle_libwebp.gn
blob: f329541cc6a7a7164a5181c85f36c5d1260c7e7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- build/linux/unbundle/libwebp.gn.orig	2024-04-23 07:42:17 UTC
+++ build/linux/unbundle/libwebp.gn
@@ -22,6 +22,8 @@ shim_headers("libwebp_shim") {
     "webp/mux.h",
     "webp/mux_types.h",
     "webp/types.h",
+    "webp/sharpyuv/sharpyuv.h",
+    "webp/sharpyuv/sharpyuv_csp.h",
   ]
 }
 
@@ -30,6 +32,14 @@ source_set("libwebp_webp") {
   public_configs = [ ":system_libwebp" ]
 }
 
+source_set("libwebp_sharpyuv") {
+  deps = [ ":libwebp_shim" ]
+  public_configs = [ ":system_libwebp" ]
+}
+
 group("libwebp") {
-  deps = [ ":libwebp_webp" ]
+  deps = [
+    ":libwebp_webp",
+    ":libwebp_sharpyuv",
+  ]
 }