You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.4 KiB
59 lines
1.4 KiB
4 months ago
|
// Bluetooth device static library for target
|
||
|
// ========================================================
|
||
|
package {
|
||
|
// See: http://go/android-license-faq
|
||
|
// A large-scale-change added 'default_applicable_licenses' to import
|
||
|
// all of the 'license_kinds' from "system_bt_license"
|
||
|
// to get the below license kinds:
|
||
|
// SPDX-license-identifier-Apache-2.0
|
||
|
default_applicable_licenses: ["system_bt_license"],
|
||
|
}
|
||
|
|
||
|
cc_library_static {
|
||
|
name: "libbtdevice",
|
||
|
defaults: ["fluoride_defaults"],
|
||
|
host_supported: true,
|
||
|
local_include_dirs: [
|
||
|
"include",
|
||
|
],
|
||
|
include_dirs: [
|
||
|
"system/bt",
|
||
|
"system/bt/btcore/include",
|
||
|
"system/bt/hci/include",
|
||
|
"system/bt/internal_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",
|
||
|
],
|
||
|
}
|