Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: third_party/libwebp/BUILD.gn

Issue 421003002: libwebp: update to 0.4.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 0.4.1-final Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/libwebp/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libwebp/BUILD.gn
diff --git a/third_party/libwebp/BUILD.gn b/third_party/libwebp/BUILD.gn
index a107607c20679919053dc461d1155962083f61af..8de847f53e74c9e97568c60066d9c39eac0c5759 100644
--- a/third_party/libwebp/BUILD.gn
+++ b/third_party/libwebp/BUILD.gn
@@ -13,7 +13,6 @@ source_set("libwebp_dec") {
"dec/frame.c",
"dec/idec.c",
"dec/io.c",
- "dec/layer.c",
"dec/quant.c",
"dec/tree.c",
"dec/vp8.c",
@@ -47,15 +46,24 @@ source_set("libwebp_demux") {
source_set("libwebp_dsp") {
sources = [
+ "dsp/alpha_processing.c",
"dsp/cpu.c",
"dsp/dec.c",
+ "dsp/dec_clip_tables.c",
+ "dsp/dec_mips32.c",
"dsp/dec_sse2.c",
"dsp/enc.c",
+ "dsp/enc_avx2.c",
+ "dsp/enc_mips32.c",
"dsp/enc_sse2.c",
"dsp/lossless.c",
+ "dsp/lossless_mips32.c",
+ "dsp/lossless_sse2.c",
"dsp/upsampling.c",
"dsp/upsampling_sse2.c",
"dsp/yuv.c",
+ "dsp/yuv_mips32.c",
+ "dsp/yuv_sse2.c",
]
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
@@ -82,9 +90,10 @@ source_set("libwebp_dsp") {
# TODO(GYP):
# 'variables': {
# 'neon_sources': [
-# 'dsp/dec_neon.c',
-# 'dsp/enc_neon.c',
-# 'dsp/upsampling_neon.c',
+# "dsp/dec_neon.c",
+# "dsp/enc_neon.c",
+# "dsp/lossless_neon.c",
+# "dsp/upsampling_neon.c",
# ]
# },
# {
@@ -107,6 +116,8 @@ source_set("libwebp_dsp") {
# 'sources': [
# '<@(neon_sources)'
# ],
+# # avoid an ICE with gcc-4.9: b/15574841
+# 'cflags': [ '-frename-registers' ],
# },{ # "target_arch != "arm|arm64" or arm_version < 7"
# 'type': 'none',
# }],
@@ -133,8 +144,11 @@ source_set("libwebp_enc") {
"enc/frame.c",
"enc/histogram.c",
"enc/iterator.c",
- "enc/layer.c",
"enc/picture.c",
+ "enc/picture_csp.c",
+ "enc/picture_psnr.c",
+ "enc/picture_rescale.c",
+ "enc/picture_tools.c",
"enc/quant.c",
"enc/syntax.c",
"enc/token.c",
@@ -152,7 +166,6 @@ source_set("libwebp_enc") {
source_set("libwebp_utils") {
sources = [
- "utils/alpha_processing.c",
"utils/bit_reader.c",
"utils/bit_writer.c",
"utils/color_cache.c",
« no previous file with comments | « no previous file | third_party/libwebp/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698