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
This commit is contained in:
Pawan
2022-08-19 20:54:21 +00:00
committed by Pawan Wagh
parent 2468ff5608
commit 8e13f2ac2c
2 changed files with 2 additions and 42 deletions

View File

@@ -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: [

View File

@@ -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: [