• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/crosvm_control/Android.bp b/crosvm_control/Android.bp
2index 1bce61cdd..ea437fc59 100644
3--- a/crosvm_control/Android.bp
4+++ b/crosvm_control/Android.bp
5@@ -25,7 +25,11 @@ rust_ffi_shared {
6         "liblibc",
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 }
16
17 rust_ffi_static {
18@@ -43,5 +47,9 @@ rust_ffi_static {
19         "liblibc",
20         "libvm_control",
21     ],
22-    static_libs: ["libcrosvm_control_test"],
23+    // The build.rs file compiles the generated C header just as a test, which
24+    // tricks cargo_embargo into thinking there is a library dependency that
25+    // doesn't actually exist.
26+    //
27+    // static_libs: ["libcrosvm_control_test"],
28 }
29