Update libwebp to v1.0.1
Update the version of libwebp we use to the latest version, as recommended by https://groups.google.com/a/webmproject.org/forum/#!topic/webp-discuss/gXMAt-IYpiQ This is also the version that Chromium and Android are updating to. Change-Id: I29c9569c532358ea9811da9d5e452de70f90aa51 Reviewed-on: https://skia-review.googlesource.com/c/171724 Reviewed-by: James Zern <jzern@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>
This commit is contained in:
parent
a1618d7e16
commit
037ea382aa
2
DEPS
2
DEPS
@ -20,7 +20,7 @@ deps = {
|
||||
"third_party/externals/jsoncpp" : "https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git@1.0.0",
|
||||
"third_party/externals/libjpeg-turbo" : "https://skia.googlesource.com/external/github.com/libjpeg-turbo/libjpeg-turbo.git@2.0.0",
|
||||
"third_party/externals/libpng" : "https://skia.googlesource.com/third_party/libpng.git@v1.6.33",
|
||||
"third_party/externals/libwebp" : "https://chromium.googlesource.com/webm/libwebp.git@v0.6.1",
|
||||
"third_party/externals/libwebp" : "https://chromium.googlesource.com/webm/libwebp.git@v1.0.1",
|
||||
"third_party/externals/lua" : "https://skia.googlesource.com/external/github.com/lua/lua.git@v5-3-4",
|
||||
"third_party/externals/microhttpd" : "https://android.googlesource.com/platform/external/libmicrohttpd@748945ec6f1c67b7efc934ab0808e1d32f2fb98d",
|
||||
"third_party/externals/opencl-lib" : "https://skia.googlesource.com/external/github.com/GPUOpen-Tools/common-lib-amd-APPSDK-3.0@4e6d30e406d2e5a65e1d65e404fe6df5f772a32b",
|
||||
|
19
third_party/libwebp/BUILD.gn
vendored
19
third_party/libwebp/BUILD.gn
vendored
@ -39,6 +39,8 @@ if (skia_use_system_libwebp) {
|
||||
"../externals/libwebp/src/dsp/dec_sse41.c",
|
||||
"../externals/libwebp/src/dsp/enc_sse41.c",
|
||||
"../externals/libwebp/src/dsp/lossless_enc_sse41.c",
|
||||
"../externals/libwebp/src/dsp/upsampling_sse41.c",
|
||||
"../externals/libwebp/src/dsp/yuv_sse41.c",
|
||||
]
|
||||
if ((current_cpu == "x86" || current_cpu == "x64") &&
|
||||
(!is_win || is_clang)) {
|
||||
@ -46,21 +48,6 @@ if (skia_use_system_libwebp) {
|
||||
}
|
||||
}
|
||||
|
||||
third_party("libwebp_avx2") {
|
||||
public_include_dirs = [
|
||||
"../externals/libwebp/src",
|
||||
"../externals/libwebp",
|
||||
]
|
||||
configs += [ ":libwebp_defines" ]
|
||||
sources = [
|
||||
"../externals/libwebp/src/dsp/enc_avx2.c",
|
||||
]
|
||||
if ((current_cpu == "x86" || current_cpu == "x64") &&
|
||||
(!is_win || is_clang)) {
|
||||
cflags_c = [ "-mavx2" ]
|
||||
}
|
||||
}
|
||||
|
||||
third_party("libwebp") {
|
||||
public_include_dirs = [
|
||||
"../externals/libwebp/src",
|
||||
@ -68,7 +55,6 @@ if (skia_use_system_libwebp) {
|
||||
]
|
||||
|
||||
deps = [
|
||||
":libwebp_avx2",
|
||||
":libwebp_sse41",
|
||||
]
|
||||
if (is_android) {
|
||||
@ -151,7 +137,6 @@ if (skia_use_system_libwebp) {
|
||||
"../externals/libwebp/src/enc/backward_references_enc.c",
|
||||
"../externals/libwebp/src/enc/config_enc.c",
|
||||
"../externals/libwebp/src/enc/cost_enc.c",
|
||||
"../externals/libwebp/src/enc/delta_palettization_enc.c",
|
||||
"../externals/libwebp/src/enc/filter_enc.c",
|
||||
"../externals/libwebp/src/enc/frame_enc.c",
|
||||
"../externals/libwebp/src/enc/histogram_enc.c",
|
||||
|
Loading…
Reference in New Issue
Block a user