aosp12/external/crosvm/cargo2android_module.bp

25 lines
444 B
Plaintext

arch: {
x86_64: {
rustlibs: ["libx86_64_rust"],
},
arm64: {
rustlibs: ["libaarch64"],
},
},
target: {
linux_glibc_x86_64: {
features: [
"gdb",
"gdbstub",
],
rustlibs: [
"libgdbstub",
"libgdbstub_arch",
"libthiserror",
],
},
},
ld_flags: [
"-Wl,--rpath,\\$$ORIGIN",
"-Wl,--rpath,\\$$ORIGIN/../../lib64",
]