android13/external/crosvm/cargo2android_module.bp

40 lines
683 B
Plaintext

arch: {
x86_64: {
rustlibs: ["libx86_64_rust"],
},
arm64: {
rustlibs: ["libaarch64"],
},
},
target: {
host: {
features: [
"gfxstream",
"gpu",
],
},
android: {
shared_libs: [
"libprocessgroup",
],
},
host_linux: {
features: [
"gdb",
"gdbstub",
],
rustlibs: [
"libgdbstub",
"libgdbstub_arch",
"libthiserror",
],
shared_libs: [
"libprocessgroup",
],
},
},
ld_flags: [
"-Wl,--rpath,\\$$ORIGIN",
"-Wl,--rpath,\\$$ORIGIN/../../lib64",
]