• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Bluetooth test suite for target
2// ========================================================
3package {
4    // See: http://go/android-license-faq
5    // A large-scale-change added 'default_applicable_licenses' to import
6    // all of the 'license_kinds' from "system_bt_license"
7    // to get the below license kinds:
8    //   SPDX-license-identifier-Apache-2.0
9    default_applicable_licenses: ["system_bt_license"],
10}
11
12cc_test {
13    name: "net_test_bluetooth",
14    test_suites: ["device-tests"],
15    defaults: ["fluoride_defaults"],
16    include_dirs: ["system/bt"],
17    srcs: [
18        "adapter/adapter_unittest.cc",
19        "adapter/bluetooth_test.cc",
20        "gatt/gatt_test.cc",
21        "gatt/gatt_unittest.cc",
22    ],
23    header_libs: ["libhardware_headers"],
24    shared_libs: [
25        "liblog",
26        "libcutils",
27        "libbinder",
28        "libutils",
29    ],
30    static_libs: [
31        "libbtcore",
32        "libosi",
33    ],
34    whole_static_libs: [
35        "libbluetoothtbd_hal",
36    ],
37}
38
39// Bluetooth test suite for target
40// ========================================================
41cc_test {
42    name: "net_test_rfcomm_suite",
43    defaults: ["fluoride_defaults"],
44    include_dirs: ["system/bt"],
45    srcs: [
46        "adapter/bluetooth_test.cc",
47        "rfcomm/rfcomm_test.cc",
48        "rfcomm/rfcomm_unittest.cc",
49    ],
50    header_libs: ["libhardware_headers"],
51    shared_libs: [
52        "liblog",
53        "libcutils",
54        "libbinder",
55        "libutils",
56    ],
57    static_libs: [
58        "libbtcore",
59        "libosi",
60    ],
61    whole_static_libs: [
62        "libbluetoothtbd_hal",
63    ],
64}
65