aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2017-10-11 22:51:50 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-11 22:51:50 +0000
commite623471c48f2dc653fead4350f954e5b89f3c8a3 (patch)
tree92f3d8a88660d151d5c66b14576de1088e8fe784
parentdee2e0a12822ec62c89c2d7582f1a7d32cd0875b (diff)
parent34ec9fbbf90aa8df9759276ab382347255978f42 (diff)
downloadlibvorbis-e623471c48f2dc653fead4350f954e5b89f3c8a3.tar.gz
Merge "Use -Werror in external/libvorbis"android-o-mr1-iot-preview-6o-mr1-iot-preview-6
am: 34ec9fbbf9 Change-Id: I9c8fc8a7be7d9cfa66282724d5a11e8c2d1fcb1c
-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