aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp15
1 files changed, 9 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index bd3c978..a05ed8f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -44,7 +44,7 @@ rust_test {
host_supported: true,
crate_name: "crossbeam_epoch",
cargo_env_compat: true,
- cargo_pkg_version: "0.9.7",
+ cargo_pkg_version: "0.9.14",
srcs: ["src/lib.rs"],
test_suites: ["general-tests"],
auto_gen_config: true,
@@ -55,17 +55,16 @@ rust_test {
features: [
"alloc",
"default",
- "lazy_static",
"std",
],
rustlibs: [
"libcfg_if",
"libcrossbeam_utils",
- "liblazy_static",
"libmemoffset",
"librand",
"libscopeguard",
],
+ proc_macros: ["librustversion"],
}
rust_library {
@@ -73,20 +72,24 @@ rust_library {
host_supported: true,
crate_name: "crossbeam_epoch",
cargo_env_compat: true,
- cargo_pkg_version: "0.9.7",
+ cargo_pkg_version: "0.9.14",
srcs: ["src/lib.rs"],
edition: "2018",
features: [
"alloc",
"default",
- "lazy_static",
"std",
],
rustlibs: [
"libcfg_if",
"libcrossbeam_utils",
- "liblazy_static",
"libmemoffset",
"libscopeguard",
],
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+ product_available: true,
+ vendor_available: true,
}