48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
// Bluetooth device static library for target
|
|
// ========================================================
|
|
cc_library_static {
|
|
name: "libbtdevice",
|
|
defaults: ["fluoride_defaults"],
|
|
local_include_dirs: [
|
|
"include",
|
|
],
|
|
include_dirs: [
|
|
"system/bt",
|
|
"system/bt/btcore/include",
|
|
"system/bt/hci/include",
|
|
"system/bt/include",
|
|
"system/bt/stack/include",
|
|
],
|
|
srcs: [
|
|
"src/controller.cc",
|
|
"src/esco_parameters.cc",
|
|
"src/interop.cc",
|
|
],
|
|
shared_libs: [
|
|
"liblog",
|
|
],
|
|
}
|
|
|
|
// Bluetooth device unit tests for target
|
|
// ========================================================
|
|
cc_test {
|
|
name: "net_test_device",
|
|
test_suites: ["device-tests"],
|
|
defaults: ["fluoride_defaults"],
|
|
include_dirs: ["system/bt"],
|
|
srcs: [
|
|
"test/interop_test.cc",
|
|
],
|
|
shared_libs: [
|
|
"liblog",
|
|
"libdl",
|
|
],
|
|
static_libs: [
|
|
"libbtdevice",
|
|
"libbtcore",
|
|
"libosi",
|
|
"libosi-AllocationTestHarness",
|
|
"libcutils",
|
|
"libbluetooth-types",
|
|
],
|
|
}
|