Disable -Werror on Clang

Bug: 21698669
Change-Id: I90549599ed52cff028a29f56d3d8ffe80c9afab4
This commit is contained in:
John Reck
2015-06-08 11:01:24 -07:00
parent e50b091df9
commit e6178208c2

View File

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