summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-12-15 16:43:08 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-12-15 16:43:08 +0000
commit2909f09db19384c7fc515c219ef684ebf34cffdd (patch)
tree30213169e4773c9fe221936a65ae5a689056b021
parent20d6856b66ac6df80f8de07f267fb3f036cd0755 (diff)
parent220298c4a762e7da721f6ba48c1c77892c4f6fb2 (diff)
downloadpercent-encoding-2909f09db19384c7fc515c219ef684ebf34cffdd.tar.gz
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." am: e5ca9e6204 am: 220298c4a7
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/percent-encoding/+/1912483 Change-Id: Iad0384133106620b80629d39ac54b593891041c6
-rw-r--r--Android.bp2
-rw-r--r--TEST_MAPPING21
2 files changed, 13 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index 1d2ef2f..58d499f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -44,6 +44,8 @@ rust_library {
name: "libpercent_encoding",
host_supported: true,
crate_name: "percent_encoding",
+ cargo_env_compat: true,
+ cargo_pkg_version: "2.1.0",
srcs: ["lib.rs"],
edition: "2015",
apex_available: [
diff --git a/TEST_MAPPING b/TEST_MAPPING
index be39865..407ec5c 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -1,20 +1,21 @@
// Generated by update_crate_tests.py for tests that depend on this crate.
{
- "presubmit": [
- {
- "name": "doh_unit_test"
- },
+ "imports": [
{
- "name": "quiche_device_test_src_lib"
+ "path": "external/rust/crates/quiche"
},
{
- "name": "url_device_test_src_lib"
- },
+ "path": "external/rust/crates/url"
+ }
+ ],
+ "presubmit": [
{
- "name": "url_device_test_tests_data"
- },
+ "name": "doh_unit_test"
+ }
+ ],
+ "presubmit-rust": [
{
- "name": "url_device_test_tests_unit"
+ "name": "doh_unit_test"
}
]
}