platform_system_vold/tests/Android.bp
Pawan be70861242 Adding fuzzer for VoldNativeService
vold_native_service_fuzzer is added to fuzz VoldNativeService.

BUG: 232439428
Test: m vold_native_service_fuzzer
Test: adb sync && adb shell data/fuzz/x86_64/vold_native_service_fuzzer/vold_native_service_fuzzer
Change-Id: I2bf33f68e2a51b4ac390b5a5ad47d07260e94122
2023-02-13 19:01:09 +00:00

42 lines
844 B
Text

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_test {
name: "vold_tests",
defaults: [
"vold_default_flags",
"vold_default_libs",
],
srcs: [
"Utils_test.cpp",
"VoldNativeServiceValidation_test.cpp",
],
static_libs: ["libvold"],
shared_libs: ["libbinder"]
}
cc_fuzz {
name: "vold_native_service_fuzzer",
defaults: [
"vold_default_flags",
"vold_default_libs",
"keystore2_use_latest_aidl_ndk_shared",
"service_fuzzer_defaults",
],
static_libs: [
"libvold",
"android.security.maintenance-ndk",
"libkeymint_support",
],
header_libs: ["libvold_headers"],
srcs: [
"VoldFuzzer.cpp",
],
fuzz_config: {
cc: [
"maco@google.com",
],
}
}