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

Commit a6e74726 authored by Devin Moore's avatar Devin Moore
Browse files

Exclude some shared_libs on host fuzzers to prevent ODR violation

These fuzzers already include these libraries statically, exclude them
as shared_libs.

Flag: EXEMPT fuzzer only changes
Test: SANITIZE_HOST=address m servicemanager_fuzzer
Test:
./out/host/linux-x86/fuzz/x86_64/servicemanager_fuzzer/servicemanager_fuzzer
Bug: 409364908

Change-Id: I81472e3956bd95ef5ad1b62dd3c23632e5662d77
parent 487ef842
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -925,6 +925,10 @@ cc_defaults {
        "libbinder_random_parcel",
        "libcutils",
    ],
    exclude_shared_libs: [
        "libbase",
        "libcutils",
    ],
    target: {
        android: {
            shared_libs: [
@@ -939,6 +943,11 @@ cc_defaults {
                "libbinder",
                "libutils",
            ],
            exclude_shared_libs: [
                "libbinder_ndk",
                "libbinder",
                "libutils",
            ],
        },
        darwin: {
            enabled: false,