2022-05-05 14:11:36 +00:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2022-04-14 16:12:50 +00:00
|
|
|
rust_library_rlib {
|
|
|
|
name: "libvmbase",
|
|
|
|
host_supported: false,
|
|
|
|
crate_name: "vmbase",
|
|
|
|
srcs: ["src/lib.rs"],
|
|
|
|
edition: "2021",
|
|
|
|
rustlibs: [
|
|
|
|
"libpsci",
|
|
|
|
"libspin_nostd",
|
|
|
|
],
|
|
|
|
enabled: false,
|
|
|
|
target: {
|
|
|
|
android_arm64: {
|
|
|
|
enabled: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
apex_available: ["com.android.virt"],
|
|
|
|
}
|
2022-04-22 14:04:27 +00:00
|
|
|
|
|
|
|
cc_library_static {
|
|
|
|
name: "libvmbase_entry",
|
|
|
|
srcs: [
|
|
|
|
"entry.S",
|
|
|
|
"exceptions.S",
|
|
|
|
],
|
|
|
|
nocrt: true,
|
|
|
|
no_libcrt: true,
|
|
|
|
system_shared_libs: [],
|
|
|
|
stl: "none",
|
|
|
|
enabled: false,
|
|
|
|
target: {
|
|
|
|
android_arm64: {
|
|
|
|
enabled: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
apex_available: ["com.android.virt"],
|
|
|
|
}
|