blob: 27e3fe51efdfd95ddd3a19a476ed603a6e3e0ad4 [file] [log] [blame]
Per Larsen7ec45d32024-11-02 00:56:46 +00001package {
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",
Andrew Walbran387f2fc2024-12-17 14:59:21 +000017 "libthiserror_nostd",
Per Larsen7ec45d32024-11-02 00:56:46 +000018 "libuuid_nostd",
19 ],
20 enabled: false,
21 target: {
22 android_arm64: {
23 enabled: true,
24 stdlibs: [
25 "libcompiler_builtins.rust_sysroot",
26 "libcore.rust_sysroot",
27 ],
28 },
29 },
30}
31
32dirgroup {
33 name: "trusty_dirgroup_packages_modules_virtualization_libs_libhypervisor_backends",
34 visibility: ["//trusty/vendor/google/aosp/scripts"],
35 dirs: ["."],
36}