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", }