Files
rk35xx-android14/external/crosvm/crosvm_control/cargo2android.bp.patch
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

29 lines
959 B
Diff

diff --git a/crosvm_control/Android.bp b/crosvm_control/Android.bp
index 1bce61cdd..ea437fc59 100644
--- a/crosvm_control/Android.bp
+++ b/crosvm_control/Android.bp
@@ -25,7 +25,11 @@ rust_ffi_shared {
"liblibc",
"libvm_control",
],
- static_libs: ["libcrosvm_control_test"],
+ // The build.rs file compiles the generated C header just as a test, which
+ // tricks cargo_embargo into thinking there is a library dependency that
+ // doesn't actually exist.
+ //
+ // static_libs: ["libcrosvm_control_test"],
}
rust_ffi_static {
@@ -43,5 +47,9 @@ rust_ffi_static {
"liblibc",
"libvm_control",
],
- static_libs: ["libcrosvm_control_test"],
+ // The build.rs file compiles the generated C header just as a test, which
+ // tricks cargo_embargo into thinking there is a library dependency that
+ // doesn't actually exist.
+ //
+ // static_libs: ["libcrosvm_control_test"],
}