blob: ccc9354090fb55d5c33dd6317c9a634fed38f22c [file] [log] [blame]
// This file is generated by cargo_embargo.
// Do not modify this file because the changes will be overridden on upgrade.
package {
default_applicable_licenses: ["external_rust_crates_rusb_license"],
default_team: "trendy_team_android_rust",
}
license {
name: "external_rust_crates_rusb_license",
visibility: [":__subpackages__"],
license_kinds: ["SPDX-license-identifier-MIT"],
license_text: ["LICENSE"],
}
rust_library {
name: "librusb",
host_supported: true,
crate_name: "rusb",
cargo_env_compat: true,
cargo_pkg_version: "0.9.4",
crate_root: "src/lib.rs",
edition: "2018",
rustlibs: [
"liblibc",
"liblibusb1_sys",
],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
vendor_available: true,
}
rust_library {
name: "librusb_platform",
host_supported: true,
crate_name: "rusb",
cargo_env_compat: true,
cargo_pkg_version: "0.9.4",
crate_root: "src/lib.rs",
edition: "2018",
rustlibs: [
"liblibc",
"liblibusb1_sys_platform",
],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
vendor_available: true,
// The 'librusb_platform' rust_library should be depended upon only
// by programs running on Android at OS level (e.g. Android platform
// services). The reason is that it has a transitive dependency on
// "libusb_platform" and all programs using this library must have
// permission to access netlink sockets.,
}