update libwebp to 1.3.0
https://chromium.googlesource.com/webm/libwebp/+log/v1.2.3..v1.3.0
- 12/16/2022: version 1.3.0
This is a binary compatible release.
* add libsharpyuv, which exposes -sharp_yuv/config.use_sharp_yuv
functionality to other libraries; libwebp now depends on this library
* major updates to the container and lossless bitstream docs (#448, #546,
#551)
* miscellaneous warning, bug & build fixes (#576, #583, #584)
Bug: b:262806895
Bug: webp:590
Change-Id: I819050d1e7a0e52f76f6705ebb5d5421669b95a5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/625732
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
diff --git a/DEPS b/DEPS
index ff5eaf9..d865bc0 100644
--- a/DEPS
+++ b/DEPS
@@ -42,7 +42,7 @@
"third_party/externals/libjpeg-turbo" : "https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@ed683925e4897a84b3bffc5c1414c85b97a129a3",
"third_party/externals/libjxl" : "https://chromium.googlesource.com/external/gitlab.com/wg1/jpeg-xl.git@a205468bc5d3a353fb15dae2398a101dff52f2d3",
"third_party/externals/libpng" : "https://skia.googlesource.com/third_party/libpng.git@386707c6d19b974ca2e3db7f5c61873813c6fe44",
- "third_party/externals/libwebp" : "https://chromium.googlesource.com/webm/libwebp.git@a8e366166ab57bb1b4aaf6739fc775515bc71b51",
+ "third_party/externals/libwebp" : "https://chromium.googlesource.com/webm/libwebp.git@603e8d7adb0ccc35237419c2938194623b60e9be",
"third_party/externals/libyuv" : "https://chromium.googlesource.com/libyuv/libyuv.git@d248929c059ff7629a85333699717d7a677d8d96",
"third_party/externals/microhttpd" : "https://android.googlesource.com/platform/external/libmicrohttpd@748945ec6f1c67b7efc934ab0808e1d32f2fb98d",
"third_party/externals/oboe" : "https://chromium.googlesource.com/external/github.com/google/oboe.git@b02a12d1dd821118763debec6b83d00a8a0ee419",
diff --git a/bazel/deps.bzl b/bazel/deps.bzl
index 384d875..8791925 100644
--- a/bazel/deps.bzl
+++ b/bazel/deps.bzl
@@ -111,7 +111,7 @@
new_git_repository(
name = "libwebp",
build_file = "@//bazel/external/libwebp:BUILD.bazel",
- commit = "a8e366166ab57bb1b4aaf6739fc775515bc71b51",
+ commit = "603e8d7adb0ccc35237419c2938194623b60e9be",
remote = "https://chromium.googlesource.com/webm/libwebp.git",
)
diff --git a/bazel/external/libwebp/BUILD.bazel b/bazel/external/libwebp/BUILD.bazel
index 423c819..f46a82b 100644
--- a/bazel/external/libwebp/BUILD.bazel
+++ b/bazel/external/libwebp/BUILD.bazel
@@ -13,6 +13,8 @@
WEBP_SRCS = [
"sharpyuv/sharpyuv.c",
"sharpyuv/sharpyuv.h",
+ "sharpyuv/sharpyuv_cpu.c",
+ "sharpyuv/sharpyuv_cpu.h",
"sharpyuv/sharpyuv_csp.c",
"sharpyuv/sharpyuv_csp.h",
"sharpyuv/sharpyuv_dsp.c",
@@ -209,5 +211,6 @@
copts = WEBP_COPTS,
includes = ["src"],
local_defines = WEBP_DEFINES,
+ textual_hdrs = ["src/dsp/cpu.c"],
visibility = ["//visibility:public"],
)
diff --git a/third_party/libwebp/BUILD.gn b/third_party/libwebp/BUILD.gn
index bf5ab13..5501ce1 100644
--- a/third_party/libwebp/BUILD.gn
+++ b/third_party/libwebp/BUILD.gn
@@ -63,6 +63,7 @@
configs = [ ":libwebp_defines" ]
sources = [
"../externals/libwebp/sharpyuv/sharpyuv.c",
+ "../externals/libwebp/sharpyuv/sharpyuv_cpu.c",
"../externals/libwebp/sharpyuv/sharpyuv_csp.c",
"../externals/libwebp/sharpyuv/sharpyuv_dsp.c",
"../externals/libwebp/sharpyuv/sharpyuv_gamma.c",