aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/libwebp.gyp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-28 22:05:12 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-28 22:05:12 +0000
commitea7e69a52e80d0c7e6f3d45ecf1d0959114d486d (patch)
tree32f7a69b5e082be28abe484f0ce68c8af9f235e1 /gyp/libwebp.gyp
parentef923d4b805774e0a251852f9f324e9662932643 (diff)
A fix for annoying clang error "unused-const-variabl" in third_party code.
../../third_party/externals/libwebp/src/enc/quant.c:105:23: error: unused variable 'kCoeffThresh' [-Werror,-Wunused-const-variable] static const uint16_t kCoeffThresh[16] = { ^ 1 error generated. BUG=None TEST=build with clang, ninja -C out/Debug most. R=bsalomon@google.com, epoger@google.com, thakis@chromium.org, mtklein@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/47603012 git-svn-id: http://skia.googlecode.com/svn/trunk@11990 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp/libwebp.gyp')
-rw-r--r--gyp/libwebp.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/libwebp.gyp b/gyp/libwebp.gyp
index 17e0026f2f..1f8689ada3 100644
--- a/gyp/libwebp.gyp
+++ b/gyp/libwebp.gyp
@@ -112,6 +112,7 @@
'../third_party/externals/libwebp/src/enc/vp8l.c',
'../third_party/externals/libwebp/src/enc/webpenc.c',
],
+ 'cflags': [ '-w' ],
},
{
'target_name': 'libwebp_utils',