Skip to content
Snippets Groups Projects
Commit bf40b2e8 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by Chih-hung Hsieh
Browse files

Allow implicit-fallthrough warnings locally.

It will be a global error by default.
These warnings will be fixed in new refactored code.

Bug: 112564944
Bug: 116020782
Test: make checkbuild
Change-Id: I67f1170f3f7502a4243d8a5641eb471317b42cf4
Exempt-From-Owner-Approval: do not block on new warnings
parent ba5fc8e3
No related branches found
No related tags found
No related merge requests found
......@@ -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",
......
......@@ -107,7 +107,10 @@ cc_library_static {
"libaudio-a2dp-hw-utils",
"lib-bt-packets",
],
cflags: ["-DBUILDCFG"],
cflags: [
"-DBUILDCFG",
"-Wno-implicit-fallthrough",
],
}
......
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment