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

Commit 543402eb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Use ubsan on device target only"

parents b143b434 6d79a2b9
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -76,6 +76,9 @@ fluoride_defaults {
    target: {
        android: {
            test_config_template: ":BluetoothTestConfigTemplate",
            sanitize: {
                misc_undefined: ["bounds"],
            },
        },
    },
    defaults: ["fluoride_types_defaults_fuzzable"],
@@ -94,9 +97,6 @@ fluoride_defaults {
        "libcutils",
    ],
    cpp_std: "c++17",
    sanitize: {
        misc_undefined: ["bounds"],
    },
}

fluoride_defaults {
@@ -111,9 +111,6 @@ fluoride_defaults {
        "libutils",

    ],
    sanitize: {
        misc_undefined: ["bounds"],
    },
    static_libs: [
        "libbluetooth_gd",
        "libbluetooth_rust_interop",
@@ -132,6 +129,9 @@ fluoride_defaults {
            cflags: [
                "-DOS_ANDROID",
            ],
            sanitize: {
                misc_undefined: ["bounds"],
            },
        },
    },
}
+4 −3
Original line number Diff line number Diff line
@@ -20,6 +20,9 @@ cc_defaults {
            shared_libs: [
                "liblog",
            ],
            sanitize: {
                misc_undefined: ["bounds"],
            },
        },
        host: {
            cflags: [
@@ -43,9 +46,7 @@ cc_defaults {
        "-std=c99",
    ],
    header_libs: ["jni_headers"],
    sanitize: {
        misc_undefined: ["bounds"],
    },

}

// Enables code coverage for a set of source files. Must be combined with