summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-18 08:16:14 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-18 08:16:14 +0000
commit44f536a01c63cd7a1f07f93b09f433fa31375299 (patch)
tree3bdf9a28d39507bc8f440115e61c88f799761461
parent12360392a74b8c40865bb7ec26e2348b3383e509 (diff)
parent7d1e2b95012c3b7f2cbda68d77baceaaac49deda (diff)
downloadandroid_external_libhevc-44f536a01c63cd7a1f07f93b09f433fa31375299.tar.gz
android_external_libhevc-44f536a01c63cd7a1f07f93b09f433fa31375299.tar.bz2
android_external_libhevc-44f536a01c63cd7a1f07f93b09f433fa31375299.zip
Snap for 4402171 from 7d1e2b95012c3b7f2cbda68d77baceaaac49deda to pi-release
Change-Id: I2bdcfff9664a41168dc5f8b0b5150fa66f4075aa
-rw-r--r--Android.bp5
-rw-r--r--test/decoder.mk4
2 files changed, 8 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 07f9129..579771c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -9,6 +9,11 @@ cc_library_static {
"-O3",
"-DANDROID",
+ "-Wall",
+ "-Werror",
+ // common/x86/ihevc_sao_ssse3_intr.c: implicit conversion from
+ // 'int' to 'char' changes value from 128 to -128
+ "-Wno-error=constant-conversion",
],
export_include_dirs: [
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