diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-10-22 09:44:49 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2018-10-22 09:44:49 -0700 |
commit | ad8557bde8150f2440dfbc5d39826dbfae4828b8 (patch) | |
tree | cb07b72fb7f2b9cd2f0ee2f6044ce2515f357612 /wifi | |
parent | 1191f516fe733443bff101b2f1b0ca5048751f4a (diff) | |
download | android_hardware_interfaces-ad8557bde8150f2440dfbc5d39826dbfae4828b8.tar.gz android_hardware_interfaces-ad8557bde8150f2440dfbc5d39826dbfae4828b8.tar.bz2 android_hardware_interfaces-ad8557bde8150f2440dfbc5d39826dbfae4828b8.zip |
Allow implicit-fallthrough warnings locally. DO NOT MERGE.
It will be a global error by default.
This change is not needed for goog/master.
Test: make checkbuild
Bug: 112564944
Change-Id: Ie90ad1f59f6922da6cecd4a0ac136b1e42b6d482
Exempt-From-Owner-Approval: do not block on new warnings
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/1.2/default/Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wifi/1.2/default/Android.mk b/wifi/1.2/default/Android.mk index 391969018..3c26383a6 100644 --- a/wifi/1.2/default/Android.mk +++ b/wifi/1.2/default/Android.mk @@ -30,6 +30,8 @@ endif ifdef WIFI_HIDL_FEATURE_DISABLE_AP LOCAL_CPPFLAGS += -DWIFI_HIDL_FEATURE_DISABLE_AP endif +# Allow implicit fallthroughs in wifi_legacy_hal.cpp until they are fixed. +LOCAL_CFLAGS += -Wno-error=implicit-fallthrough LOCAL_SRC_FILES := \ hidl_struct_util.cpp \ hidl_sync_util.cpp \ |