diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-10-19 15:26:45 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2018-10-19 15:26:45 -0700 |
commit | f91bd7232dd3472ddfffed9d44cdd22df225bfb4 (patch) | |
tree | 464931e257f66e93cbdfdefbc13adf5a4d7ee919 | |
parent | 3d22b204f2a57855a06b5ac83b30124d025c16bf (diff) | |
download | libhardware-f91bd7232dd3472ddfffed9d44cdd22df225bfb4.tar.gz |
Allow implicit-fallthrough warnings locally.
It will be a global error by default.
Test: make checkbuild
Bug: 112564944
Change-Id: Ifdcaca758036cf9624f79befb65a1cbbd2f9b010
Exempt-From-Owner-Approval: do not block on new warnings
-rw-r--r-- | modules/sensors/dynamic_sensor/Android.bp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/sensors/dynamic_sensor/Android.bp b/modules/sensors/dynamic_sensor/Android.bp index 214d97cf..489cdf4c 100644 --- a/modules/sensors/dynamic_sensor/Android.bp +++ b/modules/sensors/dynamic_sensor/Android.bp @@ -22,6 +22,8 @@ cc_defaults { "-Wall", "-Werror", "-Wextra", + // Allow implicit fallthroughs in HidRawSensor.cpp until they are fixed. + "-Wno-error=implicit-fallthrough", ], export_include_dirs: ["."], |