From c5343dd83d21d0d6a4277cb1c1b5f5cd26dfb6a8 Mon Sep 17 00:00:00 2001 From: David Drysdale Date: Tue, 5 Apr 2022 18:03:51 +0100 Subject: Make crate vendor_available Bug: 195310053 Test: build, TreeHugger Change-Id: I3d21652576ab1577243bfc1d10772af46aa4d455 --- Android.bp | 3 +++ cargo2android.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index ed19984..9cfd02c 100644 --- a/Android.bp +++ b/Android.bp @@ -40,6 +40,7 @@ license { rust_test { name: "aho-corasick_test_src_lib", + // has rustc warnings host_supported: true, crate_name: "aho_corasick", cargo_env_compat: true, @@ -62,6 +63,7 @@ rust_test { rust_library { name: "libaho_corasick", + // has rustc warnings host_supported: true, crate_name: "aho_corasick", cargo_env_compat: true, @@ -80,4 +82,5 @@ rust_library { "com.android.compos", "com.android.virt", ], + vendor_available: true, } diff --git a/cargo2android.json b/cargo2android.json index 0e54308..bef74ca 100644 --- a/cargo2android.json +++ b/cargo2android.json @@ -7,5 +7,6 @@ "dependencies": true, "device": true, "run": true, - "tests": true + "tests": true, + "vendor-available": true } -- cgit v1.2.3