Spracherkennung für: .bp vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
rust_ffi {
name: "librootcanal_rs",
host_supported: true,
vendor_available: true,
crate_name: "rootcanal_rs",
srcs: [
"src/lib.rs",
":rootcanal_hci_packets_rust_gen",
":rootcanal_link_layer_packets_rust_gen",
":rootcanal_llcp_packets_rust_gen",
":rootcanal_lmp_packets_rust_gen",
],
edition: "2018",
proc_macros: ["libnum_derive"],
rustlibs: [
"libbytes",
"libnum_bigint",
"libnum_integer",
"libnum_traits",
"libpdl_runtime",
"libpin_utils",
"librand",
"libthiserror",
],
export_include_dirs: ["include"],
}
genrule {
name: "rootcanal_lmp_packets_rust_gen",
defaults: ["pdl_rust_generator_defaults"],
srcs: ["lmp_packets.pdl"],
out: ["lmp_packets.rs"],
}
genrule {
name: "rootcanal_llcp_packets_rust_gen",
defaults: ["pdl_rust_generator_defaults"],
srcs: ["llcp_packets.pdl"],
out: ["llcp_packets.rs"],
}
rust_test_host {
name: "rootcanal_rs_test",
crate_name: "rootcanal_rs",
crate_root: "src/lib.rs",
srcs: [
":rootcanal_hci_packets_rust_gen",
":rootcanal_link_layer_packets_rust_gen",
":rootcanal_llcp_packets_rust_gen",
":rootcanal_lmp_packets_rust_gen",
"test/**/*.in",
],
auto_gen_config: true,
edition: "2018",
proc_macros: [
"libnum_derive",
"libpaste",
],
rustlibs: [
"libbytes",
"libnum_bigint",
"libnum_integer",
"libnum_traits",
"libpdl_runtime",
"libpin_utils",
"librand",
"libthiserror",
],
}