mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:23:37 +00:00
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
This commit is contained in:
@@ -22,9 +22,8 @@ package {
|
||||
default_applicable_licenses: ["hardware_interfaces_license"],
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "android.hardware.bluetooth@1.0-impl",
|
||||
defaults: ["hidl_defaults"],
|
||||
cc_defaults {
|
||||
name: "android.hardware.bluetooth@1.0-defaults",
|
||||
vendor: true,
|
||||
relative_install_path: "hw",
|
||||
srcs: [
|
||||
@@ -47,6 +46,25 @@ cc_library {
|
||||
],
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "android.hardware.bluetooth@1.0-impl",
|
||||
defaults: [
|
||||
"hidl_defaults",
|
||||
"android.hardware.bluetooth@1.0-defaults",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "android.hardware.bluetooth@1.0-impl-test",
|
||||
defaults: [
|
||||
"hidl_defaults",
|
||||
"android.hardware.bluetooth@1.0-defaults",
|
||||
],
|
||||
cflags: [
|
||||
"-DBT_FUZZER",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "android.hardware.bluetooth-async",
|
||||
vendor: true,
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user