aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-09-28 14:24:46 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-10 14:58:57 -0700
commit3dcae23965d2853d2e5bd3eaea1f9c1d40285950 (patch)
treed37346da7cd35e247ce39ced38c058f444083dd3 /test
parent36ff7b64f0c45d49ebe4f02828198c8ce4c1fcca (diff)
downloadlibhevc-3dcae23965d2853d2e5bd3eaea1f9c1d40285950.tar.gz
Use -Werror in external/libhevc
* Keep constant-conversion warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I4b956b73654029be940f911a4741be922fb3559b
Diffstat (limited to 'test')
-rw-r--r--test/decoder.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/decoder.mk b/test/decoder.mk
index 6c64ac3..6b343a0 100644
--- a/test/decoder.mk
+++ b/test/decoder.mk
@@ -5,7 +5,9 @@ include $(CLEAR_VARS)
LOCAL_MODULE := hevcdec
LOCAL_MODULE_TAGS := optional
-LOCAL_CFLAGS := -DPROFILE_ENABLE -DARM -fPIC -DMD5_DISABLE
+LOCAL_CFLAGS := \
+ -DPROFILE_ENABLE -DARM -fPIC -DMD5_DISABLE \
+ -Wall -Werror
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../decoder $(LOCAL_PATH)/../common $(LOCAL_PATH)/
LOCAL_SRC_FILES := decoder/main.c
LOCAL_STATIC_LIBRARIES := libhevcdec