• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/crosvm_control/Android.bp b/crosvm_control/Android.bp
2index 34e77e142..d73c7ec15 100644
3--- a/crosvm_control/Android.bp
4+++ b/crosvm_control/Android.bp
5@@ -28,8 +28,12 @@ rust_ffi_shared {
6         "libswap",
7         "libvm_control",
8     ],
9-    static_libs: ["libcrosvm_control_test"],
10+    // The build.rs file compiles the generated C header just as a test, which
11+    // tricks cargo_embargo into thinking there is a library dependency that
12+    // doesn't actually exist.
13+    //
14+    // static_libs: ["libcrosvm_control_test"],
15     apex_available: ["com.android.virt"],
16 }
17
18 rust_ffi_static {
19@@ -47,7 +51,11 @@ rust_ffi_static {
20         "libswap",
21         "libvm_control",
22     ],
23-    static_libs: ["libcrosvm_control_test"],
24+    // The build.rs file compiles the generated C header just as a test, which
25+    // tricks cargo_embargo into thinking there is a library dependency that
26+    // doesn't actually exist.
27+    //
28+    // static_libs: ["libcrosvm_control_test"],
29     apex_available: ["com.android.virt"],
30     visibility: ["//packages/modules/Virtualization/android/virtmgr"],
31 }
32