aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanis Danisevskis <jdanis@google.com>2021-11-10 09:39:38 -0800
committerJanis Danisevskis <jdanis@google.com>2021-11-10 13:01:14 -0800
commitac143026cbca44464bec4c0d2174f8bd6d39dff7 (patch)
treea4dbb56bbec061160cd96db6de62feb6e4225e1d
parent59af4e0f5755918305cce8620a1a73432f091002 (diff)
downloadlazy_static-ac143026cbca44464bec4c0d2174f8bd6d39dff7.tar.gz
Make vendor available.
Bug: 198197213 Test: N/A Change-Id: I613f7e6090022d0e2554263bb7bb759bd4e1c638
-rw-r--r--Android.bp1
-rw-r--r--cargo2android.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 9f572a9..5436a77 100644
--- a/Android.bp
+++ b/Android.bp
@@ -69,6 +69,7 @@ rust_library {
name: "liblazy_static",
// has rustc warnings
host_supported: true,
+ vendor_available: true,
crate_name: "lazy_static",
cargo_env_compat: true,
cargo_pkg_version: "1.4.0",
diff --git a/cargo2android.json b/cargo2android.json
index 091119e..63c1f22 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -11,9 +11,10 @@
],
"device": true,
"min-sdk-version": "29",
+ "vendor_available": true,
"run": true,
"test-blocklist": [
"tests/no_std.rs"
],
"tests": true
-} \ No newline at end of file
+}