aosp12/external/crosvm/patches/Android.bp.patch

28 lines
727 B
Diff
Raw Permalink Normal View History

2023-01-09 17:11:35 +08:00
diff --git a/Android.bp b/Android.bp
index 21ebb3ac..519fb5d5 100644
--- a/Android.bp
+++ b/Android.bp
@@ -36,6 +36,7 @@ rust_binary {
name: "crosvm",
defaults: ["crosvm_defaults"],
host_supported: true,
+ prefer_rlib: true,
crate_name: "crosvm",
cargo_env_compat: true,
cargo_pkg_version: "0.1.0",
@@ -92,7 +93,14 @@ rust_binary {
},
},
target: {
+ linux_bionic_arm64: {
+ relative_install_path: "aarch64-linux-bionic",
+ },
+ darwin: {
+ enabled: false,
+ },
linux_glibc_x86_64: {
+ relative_install_path: "x86_64-linux-gnu",
features: [
"gdb",
"gdbstub",