1// This file is generated by cargo_embargo. 2// Do not modify this file because the changes will be overridden on upgrade. 3 4package { 5 default_applicable_licenses: ["external_rust_crates_vmm_vhost_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_vmm_vhost_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_library { 17 name: "libvmm_vhost", 18 defaults: ["crosvm_defaults"], 19 host_supported: true, 20 crate_name: "vmm_vhost", 21 cargo_env_compat: true, 22 cargo_pkg_version: "0.1.0", 23 crate_root: "src/lib.rs", 24 edition: "2021", 25 features: ["default"], 26 rustlibs: [ 27 "libanyhow", 28 "libbase_rust", 29 "libbitflags", 30 "libcfg_if", 31 "liblibc", 32 "libthiserror", 33 "libzerocopy", 34 ], 35 proc_macros: [ 36 "libenumn", 37 "libremain", 38 ], 39 apex_available: ["com.android.virt"], 40} 41 42rust_test { 43 name: "vmm_vhost_test_src_lib", 44 defaults: ["crosvm_defaults"], 45 host_supported: true, 46 crate_name: "vmm_vhost", 47 cargo_env_compat: true, 48 cargo_pkg_version: "0.1.0", 49 crate_root: "src/lib.rs", 50 test_suites: ["general-tests"], 51 auto_gen_config: true, 52 test_options: { 53 unit_test: true, 54 }, 55 edition: "2021", 56 features: ["default"], 57 rustlibs: [ 58 "libanyhow", 59 "libbase_rust", 60 "libbitflags", 61 "libcfg_if", 62 "liblibc", 63 "libtempfile", 64 "libthiserror", 65 "libzerocopy", 66 ], 67 proc_macros: [ 68 "libenumn", 69 "libremain", 70 ], 71} 72