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

Commit d5f74efe authored by Myles Watson's avatar Myles Watson
Browse files

Remove -DBUILDCFG from cflags

Bug: 327390105
Test: mma -j32
Flag: EXEMPT, build-only change
Change-Id: I5ffa5331b6e3e0a6d57aba5d2c9641d905170dfd
parent f75521b1
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -72,7 +72,6 @@ cc_library_static {
    },
    host_supported: true,
    cflags: [
        "-DBUILDCFG",
        "-Wno-unused-parameter",
        "-Wthread-safety",
    ],
@@ -116,9 +115,6 @@ cc_test {
        "libbt_shim_bridge",
        "libchrome",
    ],
    cflags: [
        "-DBUILDCFG",
    ],
    header_libs: ["libbluetooth_headers"],
}

@@ -132,7 +128,6 @@ cc_test {
        "mts_defaults",
    ],
    cflags: [
        "-DBUILDCFG",
        "-DUNIT_TESTS",
        "-Wno-unused-parameter",
    ],
+0 −1
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ cc_defaults {
    generated_headers: [
        "BluetoothGeneratedDumpsysDataSchema_h",
    ],
    cflags: ["-DBUILDCFG"],
}

filegroup {
+0 −10
Original line number Diff line number Diff line
@@ -165,7 +165,6 @@ cc_library_static {
        "libflatbuffers-cpp",
    ],
    cflags: [
        "-DBUILDCFG",
        "-Wno-unused-parameter",
    ],
    apex_available: [
@@ -254,7 +253,6 @@ cc_library_static {
        "libcrypto",
    ],
    cflags: [
        "-DBUILDCFG",
        "-Wno-unused-parameter",
        /* we export all classes, so change default visibility, instead of having EXPORT_SYMBOL on each class*/
        "-fvisibility=default",
@@ -363,7 +361,6 @@ cc_test {
            ],
        },
    },
    cflags: ["-DBUILDCFG"],
    sanitize: {
        integer_overflow: true,
    },
@@ -396,7 +393,6 @@ cc_test {
        "libosi",
    ],
    cflags: [
        "-DBUILDCFG",
        "-Wno-unused-parameter",
    ],
    shared_libs: ["liblog"],
@@ -436,7 +432,6 @@ cc_test {
        "liblog",
    ],
    cflags: [
        "-DBUILDCFG",
        "-Wno-unused-parameter",
    ],
}
@@ -486,7 +481,6 @@ cc_test {
        },
    },
    cflags: [
        "-DBUILDCFG",
        "-Wno-unused-parameter",
    ],
    sanitize: {
@@ -530,7 +524,6 @@ cc_test {
        "libgmock",
        "libosi",
    ],
    cflags: ["-DBUILDCFG"],
    target: {
        android: {
            static_libs: [
@@ -570,7 +563,6 @@ cc_test {
        "libcom.android.sysprop.bluetooth.wrapped",
    ],
    cflags: [
        "-DBUILDCFG",
        "-Wno-unused-parameter",
    ],
}
@@ -677,7 +669,6 @@ cc_test {
        "libstatslog_bt",
    ],
    cflags: [
        "-DBUILDCFG",
        "-Wno-unused-parameter",
    ],
    target: {
@@ -800,7 +791,6 @@ cc_test {
        "libstatslog_bt",
    ],
    cflags: [
        "-DBUILDCFG",
        "-Wno-unused-parameter",
    ],
    target: {
+0 −3
Original line number Diff line number Diff line
@@ -61,9 +61,6 @@ cc_fuzz {
        "packages/modules/Bluetooth/system/device/include",
        "packages/modules/Bluetooth/system/gd",
    ],
    cflags: [
        "-DBUILDCFG",
    ],
    fuzz_config: {
        cc: ["android-bluetooth-security@google.com"],
        componentid: 27441,
+0 −4
Original line number Diff line number Diff line
@@ -108,9 +108,6 @@ cc_library {
    // that might link statically with some of the code in the library, and
    // also dlopen(3) the shared library.
    ldflags: ["-Wl,-Bsymbolic,-Bsymbolic-functions"],
    cflags: [
        "-DBUILDCFG",
    ],
    sanitize: {
        scs: true,
    },
@@ -142,7 +139,6 @@ cc_library_static {
        "BluetoothGeneratedDumpsysDataSchema_h",
    ],
    cflags: [
        "-DBUILDCFG",
        "-Wno-unused-parameter",
    ],
    shared_libs: [
Loading