Added cc_defaults for android.hardware.bluetooth@1.0-impl
Created a new library - android.hardware.bluetooth@1.0-impl-test,
that shall be used for testing by bluetoothV1.0_fuzzer
Test: Build android.hardware.bluetooth@1.0-impl
Test: Build android.hardware.bluetooth@1.0-impl-test
Bug: 187131546
Change-Id: If67bf4ff59fc446dfa0548ecb8f67359717f6cc9
diff --git a/bluetooth/1.0/default/vendor_interface.cc b/bluetooth/1.0/default/vendor_interface.cc
index d809313..1d15dd6 100644
--- a/bluetooth/1.0/default/vendor_interface.cc
+++ b/bluetooth/1.0/default/vendor_interface.cc
@@ -27,7 +27,11 @@
#include "h4_protocol.h"
#include "mct_protocol.h"
+#ifdef BT_FUZZER
+static const char* VENDOR_LIBRARY_NAME = "libbt-vendor-fuzz.so";
+#else
static const char* VENDOR_LIBRARY_NAME = "libbt-vendor.so";
+#endif
static const char* VENDOR_LIBRARY_SYMBOL_NAME =
"BLUETOOTH_VENDOR_LIB_INTERFACE";