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

Commit 32e42276 authored by David Duarte's avatar David Duarte
Browse files

Remove -Wno-unused-parameter from bluetooth_cflags

Bug: 299772495
Test: mmm packages/modules/Bluetooth
Change-Id: I71342aafd09d4e2799e320d9e68efdb51105f52c
parent a368ac18
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -73,8 +73,6 @@ cc_defaults {
        "-Wall",
        "-Werror",
        "-Wextra",
        // there are too many unused parameters in all the code.
        "-Wno-unused-parameter",
    ],
    c_std: "c99",
    cpp_std: "c++17",
+1 −0
Original line number Diff line number Diff line
@@ -149,6 +149,7 @@ cc_library_shared {
        "com.android.btservices",
    ],
    min_sdk_version: "Tiramisu",
    cflags: ["-Wno-unused-parameter"],
}

cc_library {
+1 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ cc_library_shared {
        "libbluetooth_audio_session",
        "libhidlbase",
    ],
    cflags: ["-Wno-unused-parameter"],
}

cc_test {
+1 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ cc_library_static {
    host_supported: true,
    cflags: [
        "-DBUILDCFG",
        "-Wno-unused-parameter",
    ],
    apex_available: [
        "com.android.btservices",
+15 −0
Original line number Diff line number Diff line
@@ -124,6 +124,7 @@ cc_library_static {
        "vc/vc.cc",
    ],
    cflags: [
        "-Wno-unused-parameter",
        /* we export all classes, so change default visibility, instead of having EXPORT_SYMBOL on each class*/
        "-fvisibility=default",
    ],
@@ -188,6 +189,7 @@ cc_library_static {
        "sys/utl.cc",
    ],
    cflags: [
        "-Wno-unused-parameter",
        /* we export all classes, so change default visibility, instead of having EXPORT_SYMBOL on each class*/
        "-fvisibility=default",
    ],
@@ -263,6 +265,7 @@ cc_test {
        ":audio_set_scenarios_bfbs",
        ":audio_set_scenarios_json",
    ],
    cflags: ["-Wno-unused-parameter"],
}

// bta unit tests for target
@@ -306,6 +309,7 @@ cc_test {
        "libosi",
        "libstatslog_bt",
    ],
    cflags: ["-Wno-unused-parameter"],
}

cc_test {
@@ -439,6 +443,7 @@ cc_test {
            ],
        },
    },
    cflags: ["-Wno-unused-parameter"],
}

// csis unit tests for host
@@ -498,6 +503,7 @@ cc_test {
            undefined: true,
        },
    },
    cflags: ["-Wno-unused-parameter"],
}

// groups unit tests for host
@@ -545,6 +551,7 @@ cc_test {
            undefined: true,
        },
    },
    cflags: ["-Wno-unused-parameter"],
}

// bta unit tests for host
@@ -597,6 +604,7 @@ cc_test {
    sanitize: {
        cfi: false,
    },
    cflags: ["-Wno-unused-parameter"],
}

genrule {
@@ -746,6 +754,7 @@ cc_test {
        cfi: false,
    },
    header_libs: ["libbluetooth_headers"],
    cflags: ["-Wno-unused-parameter"],
}

cc_test {
@@ -843,6 +852,7 @@ cc_test {
        cfi: false,
    },
    header_libs: ["libbluetooth_headers"],
    cflags: ["-Wno-unused-parameter"],
}

cc_test {
@@ -944,6 +954,7 @@ cc_test {
            undefined: true,
        },
    },
    cflags: ["-Wno-unused-parameter"],
}

// health status unit tests for host
@@ -1048,6 +1059,7 @@ cc_test {
            undefined: true,
        },
    },
    cflags: ["-Wno-unused-parameter"],
}

cc_test {
@@ -1117,6 +1129,7 @@ cc_test {
            undefined: true,
        },
    },
    cflags: ["-Wno-unused-parameter"],
}

cc_test {
@@ -1178,6 +1191,7 @@ cc_test {
            undefined: true,
        },
    },
    cflags: ["-Wno-unused-parameter"],
}

cc_test {
@@ -1251,4 +1265,5 @@ cc_test {
            undefined: true,
        },
    },
    cflags: ["-Wno-unused-parameter"],
}
Loading