Merge "pvmfw: Build raw binary"

This commit is contained in:
Treehugger Robot 2022-05-06 01:22:46 +00:00 committed by Gerrit Code Review
commit 28744f36b3
1 changed files with 14 additions and 1 deletions

View File

@ -25,7 +25,8 @@ rust_ffi_static {
}
cc_binary {
name: "pvmfw",
name: "pvmfw_elf",
stem: "pvmfw",
srcs: [
"entry.S",
"exceptions.S",
@ -47,3 +48,15 @@ cc_binary {
},
apex_available: ["com.android.virt"],
}
raw_binary {
name: "pvmfw",
src: ":pvmfw_elf",
stem: "pvmfw.bin",
enabled: false,
target: {
android_arm64: {
enabled: true,
},
},
}