1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
diff --git a/Android.bp b/Android.bp
index eb63f7c..efa8362 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13,6 +13,10 @@ rust_library {
"--cfg maybe_uninit",
"--cfg tuple_ty",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.virt",
+ ],
}
rust_defaults {
@@ -30,7 +34,8 @@ rust_defaults {
"--cfg tuple_ty",
],
rustlibs: [
- "libdoc_comment",
+ // ANDROID: disable for now just to avoid another dependency.
+ //"libdoc_comment",
],
}
|