Snap for 6877830 from f7af03948a244677998013b4cd904fb970c7babb to sdk-release

Change-Id: If010949e4396d8d3cdec3334dd622e0caea332c5
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..9074bac
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,43 @@
+// This file is generated by cargo2android.py --run --device --tests --dependencies.
+
+rust_proc_macro {
+    name: "libstructopt_derive",
+    crate_name: "structopt_derive",
+    srcs: ["src/lib.rs"],
+    edition: "2018",
+    rustlibs: [
+        "libheck",
+        "libproc_macro2",
+        "libproc_macro_error",
+        "libquote",
+        "libsyn",
+    ],
+}
+
+rust_test_host {
+    name: "structopt-derive_host_test_src_lib",
+    crate_name: "structopt_derive",
+    srcs: ["src/lib.rs"],
+    test_suites: ["general-tests"],
+    auto_gen_config: true,
+    edition: "2018",
+    rustlibs: [
+        "libheck",
+        "libproc_macro2",
+        "libproc_macro_error",
+        "libquote",
+        "libsyn",
+    ],
+}
+
+// dependent_library ["feature_list"]
+//   heck-0.3.1
+//   proc-macro-error-1.0.3
+//   proc-macro-error-attr-1.0.3
+//   proc-macro2-1.0.19 "default,proc-macro"
+//   quote-1.0.7 "default,proc-macro"
+//   syn-1.0.36 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote"
+//   syn-mid-0.5.0
+//   unicode-segmentation-1.6.0
+//   unicode-xid-0.2.1 "default"
+//   version_check-0.9.2
diff --git a/METADATA b/METADATA
index bb03db3..bbf085b 100644
--- a/METADATA
+++ b/METADATA
@@ -1,4 +1,4 @@
-name: structopt-derive
+name: "structopt-derive"
 description: "Parse command line argument by defining a struct, derive crate."
 third_party {
   url {
@@ -6,8 +6,8 @@
     value: "https://crates.io/crates/structopt-derive"
   }
   url {
-    type: GIT
-    value: "https://github.com/TeXitoi/structopt"
+    type: ARCHIVE
+    value: "https://static.crates.io/crates/structopt-derive/structopt-derive-0.4.7.crate"
   }
   version: "0.4.7"
   license_type: NOTICE
@@ -16,4 +16,4 @@
     month: 5
     day: 6
   }
-}
\ No newline at end of file
+}
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..1c512e3
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,9 @@
+// Generated by cargo2android.py for tests in Android.bp
+{
+  "presubmit": [
+    {
+      "name": "structopt-derive_host_test_src_lib",
+      "host": true
+    }
+  ]
+}