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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
diff --git a/Android.bp b/Android.bp
index 5033c27..843fa1c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -71,23 +71,6 @@ rust_defaults {
],
}
-rust_test_host {
- name: "lazy_static_host_test_tests_no_std",
- defaults: ["lazy_static_defaults_lazy_static"],
- // has rustc warnings
- srcs: ["tests/no_std.rs"],
- test_options: {
- unit_test: true,
- },
-}
-
-rust_test {
- name: "lazy_static_device_test_tests_no_std",
- defaults: ["lazy_static_defaults_lazy_static"],
- // has rustc warnings
- srcs: ["tests/no_std.rs"],
-}
-
rust_test_host {
name: "lazy_static_host_test_tests_test",
defaults: ["lazy_static_defaults_lazy_static"],
@@ -112,4 +95,9 @@ rust_library {
crate_name: "lazy_static",
srcs: ["src/lib.rs"],
edition: "2015",
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.resolv",
+ "com.android.virt",
+ ],
+ min_sdk_version: "29",
}
|