blob: 74d2817357700e97a62c5ef05a1359db18125aa5 [file] [log] [blame]
// Bluetooth test suite 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_test {
name: "net_test_bluetooth",
test_suites: ["device-tests"],
defaults: ["fluoride_defaults"],
include_dirs: [
"system/bt",
"system/bt/gd",
"system/bt/include",
"system/bt/stack/include",
],
srcs: [
":TestCommonMockFunctions",
":TestMockBluetoothInterface",
":TestMockDevice",
"adapter/adapter_unittest.cc",
"adapter/bluetooth_test.cc",
"gatt/gatt_test.cc",
"gatt/gatt_unittest.cc",
],
header_libs: ["libhardware_headers"],
shared_libs: [
"liblog",
"libcutils",
"libbinder",
"libutils",
],
static_libs: [
"libbtcore",
"libosi",
],
whole_static_libs: [
"libbluetoothtbd_hal",
],
}
// Bluetooth test suite for target
cc_test {
name: "net_test_rfcomm_suite",
defaults: ["fluoride_defaults"],
include_dirs: [
"system/bt",
"system/bt/gd",
"system/bt/include",
"system/bt/stack/include",
],
srcs: [
":TestMockBluetoothInterface",
":TestMockDevice",
":TestCommonMockFunctions",
"adapter/bluetooth_test.cc",
"rfcomm/rfcomm_test.cc",
"rfcomm/rfcomm_unittest.cc",
],
header_libs: ["libhardware_headers"],
shared_libs: [
"liblog",
"libcutils",
"libbinder",
"libutils",
],
static_libs: [
"libbtcore",
"libosi",
],
whole_static_libs: [
"libbluetoothtbd_hal",
],
}