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.

45 lines
1.1 KiB

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"],
}
rust_library {
name: "libbt_hci",
defaults: ["gd_rust_defaults"],
crate_name: "bt_hci",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
"libbt_hal",
"libbt_facade_proto",
"libbt_packets",
"libbytes",
"libfutures",
"libgrpcio",
"libnum_traits",
"libthiserror",
"libtokio",
"libprotobuf",
"libgddi",
"liblog_rust",
"libbt_common",
"libbt_hci_custom_types",
"libbt_facade_helpers",
],
proc_macros: [
"libnum_derive",
],
}
rust_library {
name: "libbt_hci_custom_types",
defaults: ["gd_rust_defaults"],
crate_name: "bt_hci_custom_types",
srcs: ["custom_types/lib.rs"],
edition: "2018",
}