1// This file is generated by cargo_embargo. 2// Do not modify this file as changes will be overridden on upgrade. 3 4package { 5 // See: http://go/android-license-faq 6 // A large-scale-change added 'default_applicable_licenses' to import 7 // all of the 'license_kinds' from "external_crosvm_license" 8 // to get the below license kinds: 9 // SPDX-license-identifier-BSD 10 default_applicable_licenses: ["external_crosvm_license"], 11} 12 13rust_test { 14 name: "cros_async_test_src_lib", 15 defaults: ["crosvm_inner_defaults"], 16 host_supported: true, 17 crate_name: "cros_async", 18 cargo_env_compat: true, 19 cargo_pkg_version: "0.1.1", 20 srcs: ["src/lib.rs"], 21 test_suites: ["general-tests"], 22 auto_gen_config: true, 23 test_options: { 24 unit_test: false, 25 }, 26 edition: "2021", 27 rustlibs: [ 28 "libanyhow", 29 "libasync_task", 30 "libaudio_streams", 31 "libbase_rust", 32 "libcfg_if", 33 "libdata_model", 34 "libfutures", 35 "libfutures_executor", 36 "libfutures_util", 37 "libintrusive_collections", 38 "libio_uring", 39 "liblibc", 40 "libonce_cell", 41 "libpin_utils", 42 "libserde", 43 "libserde_keyvalue", 44 "libslab", 45 "libsync_rust", 46 "libtempfile", 47 "libthiserror", 48 ], 49 proc_macros: [ 50 "libasync_trait", 51 "libpaste", 52 "libremain", 53 ], 54} 55 56rust_library { 57 name: "libcros_async", 58 defaults: ["crosvm_inner_defaults"], 59 host_supported: true, 60 crate_name: "cros_async", 61 cargo_env_compat: true, 62 cargo_pkg_version: "0.1.1", 63 srcs: ["src/lib.rs"], 64 edition: "2021", 65 rustlibs: [ 66 "libanyhow", 67 "libasync_task", 68 "libaudio_streams", 69 "libbase_rust", 70 "libcfg_if", 71 "libdata_model", 72 "libfutures", 73 "libintrusive_collections", 74 "libio_uring", 75 "liblibc", 76 "libonce_cell", 77 "libpin_utils", 78 "libserde", 79 "libserde_keyvalue", 80 "libslab", 81 "libsync_rust", 82 "libthiserror", 83 ], 84 proc_macros: [ 85 "libasync_trait", 86 "libpaste", 87 "libremain", 88 ], 89} 90