Merge "Move entry point and exception vector to library."

This commit is contained in:
Treehugger Robot 2022-05-06 15:48:03 +00:00 committed by Gerrit Code Review
commit efe7e14950
4 changed files with 20 additions and 2 deletions

View File

@ -28,12 +28,11 @@ cc_binary {
name: "pvmfw_elf",
stem: "pvmfw",
srcs: [
"entry.S",
"exceptions.S",
"idmap.S",
],
static_libs: [
"libpvmfw",
"libvmbase_entry",
],
static_executable: true,
nocrt: true,

View File

@ -20,3 +20,22 @@ rust_library_rlib {
},
apex_available: ["com.android.virt"],
}
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"],
}