Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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",
+4 −1
Original line number Diff line number Diff line
@@ -107,7 +107,10 @@ cc_library_static {
        "libaudio-a2dp-hw-utils",
        "lib-bt-packets",
    ],
    cflags: ["-DBUILDCFG"],
    cflags: [
        "-DBUILDCFG",
        "-Wno-implicit-fallthrough",
    ],

}

+1 −0
Original line number Diff line number Diff line
@@ -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",