CP: Libwebp build script updates needed for the roll to 1.3.1 (#764) (#770)
CP:
https://github.com/flutter/buildroot/commit/7154eae5b1e161b064996fcc70e8be85298b8574
CP: 9780f253156165c515962f5f0c56235d34617689
## Pre-launch Checklist
- [X] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [X] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [X] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [X] I signed the [CLA].
- [X] I listed at least one issue that this PR fixes in the description
above.
- [X] I updated/added relevant documentation (doc comments with `///`).
- [X] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [X] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
---------
Co-authored-by: Jason Simmons <jason-simmons@users.noreply.github.com>
diff --git a/build/secondary/third_party/libwebp/BUILD.gn b/build/secondary/third_party/libwebp/BUILD.gn
index 5db4a32..4a25106 100644
--- a/build/secondary/third_party/libwebp/BUILD.gn
+++ b/build/secondary/third_party/libwebp/BUILD.gn
@@ -34,6 +34,7 @@
"//third_party/libwebp/src/dsp/dec_sse41.c",
"//third_party/libwebp/src/dsp/enc_sse41.c",
"//third_party/libwebp/src/dsp/lossless_enc_sse41.c",
+ "//third_party/libwebp/src/dsp/lossless_sse41.c",
"//third_party/libwebp/src/dsp/upsampling_sse41.c",
"//third_party/libwebp/src/dsp/yuv_sse41.c",
]
@@ -58,6 +59,13 @@
configs += [ ":libwebp_defines" ]
sources = [
+ "//third_party/libwebp/sharpyuv/sharpyuv.c",
+ "//third_party/libwebp/sharpyuv/sharpyuv_cpu.c",
+ "//third_party/libwebp/sharpyuv/sharpyuv_csp.c",
+ "//third_party/libwebp/sharpyuv/sharpyuv_dsp.c",
+ "//third_party/libwebp/sharpyuv/sharpyuv_gamma.c",
+ "//third_party/libwebp/sharpyuv/sharpyuv_neon.c",
+ "//third_party/libwebp/sharpyuv/sharpyuv_sse2.c",
"//third_party/libwebp/src/dec/alpha_dec.c",
"//third_party/libwebp/src/dec/buffer_dec.c",
"//third_party/libwebp/src/dec/frame_dec.c",