aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-02-18 06:24:51 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-02-18 06:24:51 +0000
commit735829d6c0bbdb31c2dc5a017a0918fae8c83876 (patch)
treefca6e46b70bad6ee4fb8ad4463affed590fb6d63 /Android.bp
parentf2a855ee56dbbf62fe18c7aab00d44506a3610ea (diff)
parentb28e5bc0e94741dd46983276586fdf08ebb3bace (diff)
downloadthread_local-735829d6c0bbdb31c2dc5a017a0918fae8c83876.tar.gz
Snap for 9626528 from b28e5bc0e94741dd46983276586fdf08ebb3bace to udc-release
Change-Id: Iba9bcb81f0744278806450aece4f2aec06650cff
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp15
1 files changed, 11 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index 223fd47..d6736e4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -42,12 +42,17 @@ rust_library {
host_supported: true,
crate_name: "thread_local",
cargo_env_compat: true,
- cargo_pkg_version: "1.1.4",
+ cargo_pkg_version: "1.1.7",
srcs: ["src/lib.rs"],
- edition: "2018",
+ edition: "2021",
rustlibs: [
+ "libcfg_if",
"libonce_cell",
],
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
}
rust_test {
@@ -55,15 +60,17 @@ rust_test {
host_supported: true,
crate_name: "thread_local",
cargo_env_compat: true,
- cargo_pkg_version: "1.1.4",
+ cargo_pkg_version: "1.1.7",
srcs: ["src/lib.rs"],
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
unit_test: true,
},
- edition: "2018",
+ edition: "2021",
rustlibs: [
+ "libcfg_if",
+ "libcriterion",
"libonce_cell",
],
}