aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-11 13:02:42 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-11 13:14:12 -0700
commit67699cbeec8a675536b1dc56348521bd725f617b (patch)
tree92f3d8a88660d151d5c66b14576de1088e8fe784
parentdee2e0a12822ec62c89c2d7582f1a7d32cd0875b (diff)
downloadlibvorbis-67699cbeec8a675536b1dc56348521bd725f617b.tar.gz
Use -Werror in external/libvorbis
* Suppress existing warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Icbdfc7badbafdb79770f1d6fad5e6a6f837522d2
-rw-r--r--Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 89ae7fb..6d3bc8a 100644
--- a/Android.mk
+++ b/Android.mk
@@ -29,6 +29,12 @@ LOCAL_SRC_FILES := lib/analysis.c \
lib/vorbisfile.c \
lib/window.c
+LOCAL_CFLAGS := \
+ -Wall -Werror \
+ -Wno-unused-function \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+
LOCAL_STATIC_LIBRARIES := libogg
LOCAL_SDK_VERSION := 14