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

Commit 8e13f2ac authored by Pawan's avatar Pawan Committed by Pawan Wagh
Browse files

Updating cc_fuzz with default config

Using service_fuzzer_defaults in
	- android.hardware.health-service.aidl_fuzzer
	- android.hardware.vibrator-service.example_fuzzer

Bug: 240318902
Test: m android.hardware.health-service.aidl_fuzzer
Test: m android.hardware.vibrator-service.example_fuzzer
Change-Id: I3fd1cf37a5835ebef14658ed40332132cec07e49
parent 2468ff56
Loading
Loading
Loading
Loading
+1 −20
Original line number Diff line number Diff line
@@ -192,33 +192,14 @@ cc_fuzz {
    name: "android.hardware.health-service.aidl_fuzzer",
    defaults: [
        "libhealth_aidl_impl_user",
        "service_fuzzer_defaults",
    ],
    static_libs: [
        "android.hardware.health-V1-ndk",
        "libbase",
        "libbinder_random_parcel",
        "libcutils",
        "liblog",
        "libutils",
        "fuzz_libhealth_aidl_impl",
    ],
    target: {
        android: {
            shared_libs: [
                "libbinder_ndk",
                "libbinder",
            ],
        },
        host: {
            static_libs: [
                "libbinder_ndk",
                "libbinder",
            ],
        },
        darwin: {
            enabled: false,
        },
    },
    srcs: ["fuzzer.cpp"],
    fuzz_config: {
        cc: [
+1 −22
Original line number Diff line number Diff line
@@ -57,33 +57,12 @@ cc_binary {
cc_fuzz {
    name: "android.hardware.vibrator-service.example_fuzzer",
    host_supported: true,
    defaults: ["service_fuzzer_defaults"],
    static_libs: [
        "android.hardware.vibrator-V2-ndk",
        "libbase",
        "libbinder_random_parcel",
        "libcutils",
        "liblog",
        "libvibratorexampleimpl",
    ],
    target: {
        android: {
            shared_libs: [
                "libbinder_ndk",
                "libbinder",
                "libutils",
            ],
        },
        host: {
            static_libs: [
                "libbinder_ndk",
                "libbinder",
                "libutils",
            ],
        },
        darwin: {
            enabled: false,
        },
    },
    srcs: ["fuzzer.cpp"],
    fuzz_config: {
        cc: [