1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "system_bt_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["system_bt_license"],
8}
9
10rust_library {
11    name: "libbt_link",
12    defaults: ["gd_rust_defaults"],
13    crate_name: "bt_link",
14    srcs: ["src/lib.rs"],
15    edition: "2018",
16    rustlibs: [
17        "libbt_hci",
18        "libbt_hal",
19        "libbt_facade_proto",
20        "libbt_packets",
21        "libbytes",
22        "libfutures",
23        "libgrpcio",
24        "libnum_traits",
25        "libthiserror",
26        "libtokio",
27        "libtokio_stream",
28        "libprotobuf",
29        "libgddi",
30        "liblog_rust",
31        "libbt_common",
32        "libbt_hci_custom_types",
33    ],
34    proc_macros: [
35        "libnum_derive",
36    ],
37}
38