1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5rust_library_rlib { 6 name: "libhypervisor_backends", 7 crate_name: "hypervisor_backends", 8 defaults: ["avf_build_flags_rust"], 9 edition: "2021", 10 prefer_rlib: true, 11 host_supported: false, 12 no_stdlibs: true, 13 srcs: ["src/lib.rs"], 14 rustlibs: [ 15 "libonce_cell_nostd", 16 "libsmccc", 17 "libuuid_nostd", 18 ], 19 enabled: false, 20 target: { 21 android_arm64: { 22 enabled: true, 23 stdlibs: [ 24 "libcompiler_builtins.rust_sysroot", 25 "libcore.rust_sysroot", 26 ], 27 }, 28 }, 29} 30 31dirgroup { 32 name: "trusty_dirgroup_packages_modules_virtualization_libs_libhypervisor_backends", 33 visibility: ["//trusty/vendor/google/aosp/scripts"], 34 dirs: ["."], 35} 36