summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-06-08 11:01:24 -0700
committerJohn Reck <jreck@google.com>2015-06-08 11:01:24 -0700
commite6178208c2190728ac0711904404a237ab21fc51 (patch)
tree535aab292551c29c51a0399db8a5dd379c4bd444
parente50b091df9586c5c41d219ffb0c41fa3f893c329 (diff)
downloadframeworks_base-e6178208c2190728ac0711904404a237ab21fc51.zip
frameworks_base-e6178208c2190728ac0711904404a237ab21fc51.tar.gz
frameworks_base-e6178208c2190728ac0711904404a237ab21fc51.tar.bz2
Disable -Werror on Clang
Bug: 21698669 Change-Id: I90549599ed52cff028a29f56d3d8ffe80c9afab4
-rw-r--r--libs/hwui/Android.common.mk6
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