Disable -Werror on Clang
Bug: 21698669 Change-Id: I90549599ed52cff028a29f56d3d8ffe80c9afab4
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user