blob: d94334cb86b6e992f08f0c5c8d3ddb423f489c9f [file] [log] [blame]
Andrew Walbran68a8c162022-03-07 15:38:42 +00001rust_ffi_static {
2 name: "libpvmfw",
3 crate_name: "pvmfw",
4 srcs: ["src/main.rs"],
5 edition: "2021",
6 no_stdlibs: true,
7 stdlibs: [
8 "libcompiler_builtins.rust_sysroot",
9 "libcore.rust_sysroot",
10 ],
11 enabled: false,
12 target: {
13 android_arm64: {
14 enabled: true,
15 },
16 },
17 apex_available: ["com.android.virt"],
18}
Andrew Walbran15068b02022-03-22 15:57:34 +000019
20cc_binary {
21 name: "pvmfw",
22 srcs: [
23 "entry.S",
24 ],
25 static_libs: [
26 "libpvmfw",
27 ],
28 static_executable: true,
29 no_libcrt: true,
30 nocrt: true,
31 system_shared_libs: [],
32 ldflags: [
33 "-Tpackages/modules/Virtualization/pvmfw/image.ld",
34 ],
35 enabled: false,
36 target: {
37 android_arm64: {
38 enabled: true,
39 },
40 },
41 apex_available: ["com.android.virt"],
42}