blob: e47c9a8964d73a138666a78092736dad98545b2a [file]
// This file is generated by cargo_embargo.
// Do not modify this file after the first "rust_*" or "genrule" module
// because the changes will be overridden on upgrade.
// Content before the first "rust_*" or "genrule" module is preserved.
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_crosvm_license"
// to get the below license kinds:
// SPDX-license-identifier-BSD
default_applicable_licenses: ["external_crosvm_license"],
}
rust_test {
name: "audio_streams_test_src_audio_streams",
defaults: ["crosvm_defaults"],
host_supported: true,
crate_name: "audio_streams",
cargo_env_compat: true,
cargo_pkg_version: "0.1.0",
crate_root: "src/audio_streams.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
unit_test: true,
},
edition: "2021",
rustlibs: [
"libfutures",
"libserde",
"libthiserror",
],
proc_macros: [
"libasync_trait",
"libremain",
],
}
rust_library {
name: "libaudio_streams",
defaults: ["crosvm_defaults"],
host_supported: true,
crate_name: "audio_streams",
cargo_env_compat: true,
cargo_pkg_version: "0.1.0",
crate_root: "src/audio_streams.rs",
edition: "2021",
rustlibs: [
"libfutures",
"libserde",
"libthiserror",
],
proc_macros: [
"libasync_trait",
"libremain",
],
apex_available: ["com.android.virt"],
}