aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-10-30 08:33:41 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-10-30 08:33:41 -0700
commit8e5a222be6344795af748cdf20481dc88a877b35 (patch)
tree16e3bbad8c1f38570cbb8593bbc2b0c2ac17c1ee
parentf7a6fc845059eae46da361aa937bdd16e0eb634c (diff)
parentb25f916a62fa23da25edac3138e9d9229125b76d (diff)
downloaddrm_hwcomposer-8e5a222be6344795af748cdf20481dc88a877b35.tar.gz
Allow implicit-fallthrough warnings locally. am: 6caaa8724f
am: b25f916a62 Change-Id: I1b7b371b3c744b473c1a2caff03ee3a10f311db3
-rw-r--r--Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index d5ee200..a2fe0ef 100644
--- a/Android.mk
+++ b/Android.mk
@@ -77,6 +77,9 @@ LOCAL_SRC_FILES := \
LOCAL_CFLAGS := $(common_drm_hwcomposer_cflags)
+# Suppress warnings until they are fixed in drmhwctwo.cpp
+LOCAL_CFLAGS += -Wno-error=implicit-fallthrough
+
LOCAL_CPPFLAGS += \
-DHWC2_USE_CPP11 \
-DHWC2_INCLUDE_STRINGIFICATION