From 19c9d5b607fa73e95464f364c8f56d4850e69f21 Mon Sep 17 00:00:00 2001 From: Pawan Wagh Date: Thu, 26 Oct 2023 18:20:19 +0000 Subject: [PATCH] Remove vendor from android.hardware.cas-service_fuzzer Fuzzer fails to get defaultServiceManager due to hermiticity issues when vendor is enabled in cc_fuzz which uses vendor variant of libbinder under libbinder_ndk. Test: m android.hardware.cas-service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/android.hardware.cas-service_fuzzer/android.hardware.cas-service_fuzzer -runs=10000 Bug: 301768467 Change-Id: Ief27f75f4330973fc194c77ea36cdbb826f35807 --- cas/aidl/default/Android.bp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cas/aidl/default/Android.bp b/cas/aidl/default/Android.bp index 34ecbf2862..06e167c897 100644 --- a/cas/aidl/default/Android.bp +++ b/cas/aidl/default/Android.bp @@ -80,7 +80,8 @@ cc_binary { cc_fuzz { name: "android.hardware.cas-service_fuzzer", - vendor: true, + // TODO(b/307611931): avoid fuzzing on vendor until hermiticity issue is fixed + // vendor: true, defaults: ["service_fuzzer_defaults"], srcs: ["fuzzer.cpp"],