1// This file is generated by cargo_embargo. 2// Do not modify this file after the first "rust_*" or "genrule" module 3// because the changes will be overridden on upgrade. 4// Content before the first "rust_*" or "genrule" module is preserved. 5 6package { 7 // See: http://go/android-license-faq 8 // A large-scale-change added 'default_applicable_licenses' to import 9 // all of the 'license_kinds' from "external_crosvm_license" 10 // to get the below license kinds: 11 // SPDX-license-identifier-BSD 12 default_applicable_licenses: ["external_crosvm_license"], 13} 14 15rust_test { 16 name: "audio_streams_test_src_audio_streams", 17 defaults: ["crosvm_inner_defaults"], 18 host_supported: true, 19 crate_name: "audio_streams", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.1.0", 22 crate_root: "src/audio_streams.rs", 23 test_suites: ["general-tests"], 24 auto_gen_config: true, 25 test_options: { 26 unit_test: true, 27 }, 28 edition: "2021", 29 rustlibs: [ 30 "libfutures", 31 "libserde", 32 "libthiserror", 33 ], 34 proc_macros: [ 35 "libasync_trait", 36 "libremain", 37 ], 38} 39 40rust_library { 41 name: "libaudio_streams", 42 defaults: ["crosvm_inner_defaults"], 43 host_supported: true, 44 crate_name: "audio_streams", 45 cargo_env_compat: true, 46 cargo_pkg_version: "0.1.0", 47 crate_root: "src/audio_streams.rs", 48 edition: "2021", 49 rustlibs: [ 50 "libfutures", 51 "libserde", 52 "libthiserror", 53 ], 54 proc_macros: [ 55 "libasync_trait", 56 "libremain", 57 ], 58} 59