summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2018-10-22 10:31:07 -0700
committer Chih-Hung Hsieh <chh@google.com> 2018-10-22 10:31:07 -0700
commit0798ad42af7cf1648d428dfe4f0b709334e1023c (patch)
tree9ef03ab1fa994580e2f22bebc1b81d5168383253
parent81c202f1e74f29caff596448f0363e3661a7aeac (diff)
Allow implicit-fallthrough warnings locally.
It will be a global error by default. Test: make checkbuild Bug: 112564944 Change-Id: I5e1c707b620590ab9ebd3e9d2a38b3a3c4e473c4 Exempt-From-Owner-Approval: do not block on new warnings
-rw-r--r--services/inputflinger/Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/inputflinger/Android.bp b/services/inputflinger/Android.bp
index a9e5a4339c..887119992c 100644
--- a/services/inputflinger/Android.bp
+++ b/services/inputflinger/Android.bp
@@ -41,6 +41,8 @@ cc_library_shared {
"-Wall",
"-Wextra",
"-Werror",
+ // Allow implicit fallthroughs in InputReader.cpp until they are fixed.
+ "-Wno-error=implicit-fallthrough",
"-Wno-unused-parameter",
// TODO: Move inputflinger to its own process and mark it hidden
//-fvisibility=hidden