From bef5f65494ea3d3be16266800abb2137afffd31b Mon Sep 17 00:00:00 2001 From: Pawan Wagh Date: Fri, 5 May 2023 22:19:52 +0000 Subject: [PATCH] Added defaults for storaged fuzzers - Added cc_defaults - Disabled leak detection - Adding triage_assigneer Test: m storaged_service_fuzzer storaged_private_service_fuzzer Bug: 280444808 Change-Id: Id885f2f86850a77d2dc6503788e921756393f299 --- storaged/Android.bp | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/storaged/Android.bp b/storaged/Android.bp index 04f5d7953..fe8c1f3b4 100644 --- a/storaged/Android.bp +++ b/storaged/Android.bp @@ -137,26 +137,36 @@ filegroup { path: "binder", } -cc_fuzz { - name: "storaged_service_fuzzer", +cc_defaults { + name: "storaged_service_fuzzer_defaults", defaults: [ "storaged_defaults", "service_fuzzer_defaults", + "fuzzer_disable_leaks", ], - srcs: ["tests/fuzzers/storaged_service_fuzzer.cpp"], static_libs: [ "libstoraged", ], + fuzz_config: { + cc: [ + "dvander@google.com", + ], + triage_assignee: "waghpawan@google.com", + }, +} + +cc_fuzz { + name: "storaged_service_fuzzer", + defaults: [ + "storaged_service_fuzzer_defaults", + ], + srcs: ["tests/fuzzers/storaged_service_fuzzer.cpp"], } cc_fuzz { name: "storaged_private_service_fuzzer", defaults: [ - "storaged_defaults", - "service_fuzzer_defaults", + "storaged_service_fuzzer_defaults", ], srcs: ["tests/fuzzers/storaged_private_service_fuzzer.cpp"], - static_libs: [ - "libstoraged", - ], -} \ No newline at end of file +}