diff options
| author | 2018-10-22 10:31:07 -0700 | |
|---|---|---|
| committer | 2018-10-22 10:31:07 -0700 | |
| commit | 0798ad42af7cf1648d428dfe4f0b709334e1023c (patch) | |
| tree | 9ef03ab1fa994580e2f22bebc1b81d5168383253 | |
| parent | 81c202f1e74f29caff596448f0363e3661a7aeac (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.bp | 2 |
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 |