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

Commit 544fc2b2 authored by Cindy Zhou's avatar Cindy Zhou
Browse files

Codec2 base components cfi assembly support

Add default for codec base components to use when enabling cfi assembly
support.
Bug: 158010610
Bug: 173497308
Test: n/a

Change-Id: I44cbee1a4e0930a1baf9c480b1cebf2b8390672d
parent 932a856c
Loading
Loading
Loading
Loading
+15 −3
Original line number Diff line number Diff line
@@ -91,8 +91,21 @@ cc_defaults {
        misc_undefined: [
            "signed-integer-overflow",
        ],
    },
}

cc_defaults {
    name: "libcodec2_soft_sanitize_cfi-defaults",

    sanitize: {
        cfi: true,
        config: {
            cfi_assembly_support: true,
        },
        diag: {
            cfi: true,
        },
    },
}

// TEMP: used by cheets2 project - remove when no longer used
@@ -131,4 +144,3 @@ cc_library {

    ldflags: ["-Wl,-Bsymbolic"],
}