diff options
Diffstat (limited to 'libs/hwui')
-rw-r--r-- | libs/hwui/Android.common.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/hwui/Android.common.mk b/libs/hwui/Android.common.mk index a5bfde7..9590595 100644 --- a/libs/hwui/Android.common.mk +++ b/libs/hwui/Android.common.mk @@ -118,5 +118,9 @@ endif # Defaults for ATRACE_TAG and LOG_TAG for libhwui LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_VIEW -DLOG_TAG=\"OpenGLRenderer\" +LOCAL_CFLAGS += -Wall -Wno-unused-parameter -Wunreachable-code -LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter -Wunreachable-code +# b/21698669 +ifneq ($(USE_CLANG_PLATFORM_BUILD),true) + LOCAL_CFLAGS += -Werror +endif |