summaryrefslogtreecommitdiff
path: root/msm8998
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-10-19 11:11:15 -0700
committerChih-Hung Hsieh <chh@google.com>2018-10-19 11:11:15 -0700
commit651823f4a7c21e5cd13151248f1d5fb377036f0d (patch)
treea3c0dceb8fe0f0f4b6521f6b8cda93e638e2e8c7 /msm8998
parent34db7eb53d179f6219aad8cf21be1bf52d6f0afc (diff)
downloaddisplay-651823f4a7c21e5cd13151248f1d5fb377036f0d.tar.gz
Allow implicit-fallthrough warnings locally.
It will be a global error by default. Test: make checkbuild Bug: 112564944 Change-Id: Id4073c43e6c675c0369e67cd77f1af7971de28a8 Exempt-From-Owner-Approval: do not block on new warnings
Diffstat (limited to 'msm8998')
-rw-r--r--msm8998/sdm/libs/hwc2/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/msm8998/sdm/libs/hwc2/Android.mk b/msm8998/sdm/libs/hwc2/Android.mk
index 604458c5..0b332d3f 100644
--- a/msm8998/sdm/libs/hwc2/Android.mk
+++ b/msm8998/sdm/libs/hwc2/Android.mk
@@ -35,6 +35,9 @@ LOCAL_SRC_FILES := hwc_session.cpp \
hwc_socket_handler.cpp \
hwc_buffer_allocator.cpp
+# Allow implicit fallthroughs in hwc_display.cpp until they are fixed.
+LOCAL_CFLAGS += -Wno-error=implicit-fallthrough
+
ifeq ($(TARGET_HAS_WIDE_COLOR_DISPLAY), true)
LOCAL_CFLAGS += -DFEATURE_WIDE_COLOR
endif