diff --git a/system/bta/Android.bp b/system/bta/Android.bp index c2f64d542987b6d2697d42f62e0a89fa0b889d0e..1687d849b5095934938f6927e2bb11d026c2fa35 100644 --- a/system/bta/Android.bp +++ b/system/bta/Android.bp @@ -34,6 +34,7 @@ cc_defaults { cc_library_static { name: "libbt-bta", defaults: ["fluoride_bta_defaults"], + cflags: ["-Wno-implicit-fallthrough"], srcs: [ "ag/bta_ag_act.cc", "ag/bta_ag_api.cc", diff --git a/system/btif/Android.bp b/system/btif/Android.bp index 9a0d38126ed573df2991f35e79d335473d09fc8e..528f69f4134776bd3853e859d66d6697c8cf0c9e 100644 --- a/system/btif/Android.bp +++ b/system/btif/Android.bp @@ -107,7 +107,10 @@ cc_library_static { "libaudio-a2dp-hw-utils", "lib-bt-packets", ], - cflags: ["-DBUILDCFG"], + cflags: [ + "-DBUILDCFG", + "-Wno-implicit-fallthrough", + ], } diff --git a/system/stack/Android.bp b/system/stack/Android.bp index 2f769dc67a71cb54660cac2146ae836ee083918b..a7ca76025b24adc419e3a92d49afde79adafa126 100644 --- a/system/stack/Android.bp +++ b/system/stack/Android.bp @@ -46,6 +46,7 @@ cc_library_static { "packages/modules/Bluetooth/system/bta/sys", "packages/modules/Bluetooth/system/utils/include", ], + cflags: ["-Wno-implicit-fallthrough"], srcs: crypto_toolbox_srcs + [ "a2dp/a2dp_aac.cc", "a2dp/a2dp_aac_decoder.cc",