Use -Werror in external/libhevc am: 3dcae23965

am: d6c8637b3e

Change-Id: I3fa83bb6e3d1e684dc8f8016d5851dff8a47e695
This commit is contained in:
Chih-Hung Hsieh 2017-10-17 18:27:49 +00:00 • committed by android-build-merger
commit 03db869df3
2 changed files with 8 additions and 1 deletions

View file

@ -8,6 +8,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: [

View file

@ -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