Snap for 6877830 from 2972d1df1f1e24830243ad0366b2f922a8e72cb4 to sdk-release

Change-Id: Ie2c47e874d81a5c7c2358263cda7b582b2c3fdf9
diff --git a/Android.bp b/Android.bp
index a80bdb9..df09755 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --dependencies.
+// This file is generated by cargo2android.py --run --dependencies --tests.
 
 rust_library_host {
     name: "libshlex",
@@ -6,3 +6,12 @@
     srcs: ["src/lib.rs"],
     edition: "2015",
 }
+
+rust_test_host {
+    name: "shlex_host_test_src_lib",
+    crate_name: "shlex",
+    srcs: ["src/lib.rs"],
+    test_suites: ["general-tests"],
+    auto_gen_config: true,
+    edition: "2015",
+}
diff --git a/METADATA b/METADATA
index 90cc35d..ada5e8d 100644
--- a/METADATA
+++ b/METADATA
@@ -6,8 +6,8 @@
     value: "https://crates.io/crates/shlex"
   }
   url {
-    type: GIT
-    value: "https://github.com/comex/rust-shlex"
+    type: ARCHIVE
+    value: "https://static.crates.io/crates/shlex/shlex-0.1.1.crate"
   }
   version: "0.1.1"
   license_type: NOTICE
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..8f317d7
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,9 @@
+// Generated by cargo2android.py for tests in Android.bp
+{
+  "presubmit": [
+    {
+      "name": "shlex_host_test_src_lib",
+      "host": true
+    }
+  ]
+}