summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-10-19 15:26:45 -0700
committerChih-Hung Hsieh <chh@google.com>2018-10-19 15:26:45 -0700
commitf91bd7232dd3472ddfffed9d44cdd22df225bfb4 (patch)
tree464931e257f66e93cbdfdefbc13adf5a4d7ee919
parent3d22b204f2a57855a06b5ac83b30124d025c16bf (diff)
downloadlibhardware-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.bp2
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: ["."],