Snap for 8006021 from 063e3bea92d73e862ee9271415ae1871214649ae to tm-release

Change-Id: I8f1f2d81d6dad9ea492e26cc456a89e4ec4e94a9
diff --git a/Android.bp b/Android.bp
index f9fca18..051fb49 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --dependencies --tests.
+// This file is generated by cargo2android.py --config cargo2android.json.
 // Do not modify this file as changes will be overridden on upgrade.
 
 package {
@@ -42,6 +42,8 @@
 rust_proc_macro {
     name: "libpin_project_internal",
     crate_name: "pin_project_internal",
+    cargo_env_compat: true,
+    cargo_pkg_version: "1.0.8",
     srcs: ["src/lib.rs"],
     edition: "2018",
     rustlibs: [
@@ -50,26 +52,3 @@
         "libsyn",
     ],
 }
-
-rust_test_host {
-    name: "pin-project-internal_host_test_src_lib",
-    crate_name: "pin_project_internal",
-    srcs: ["src/lib.rs"],
-    test_suites: ["general-tests"],
-    auto_gen_config: true,
-    test_options: {
-        unit_test: true,
-    },
-    edition: "2018",
-    rustlibs: [
-        "libproc_macro2",
-        "libquote",
-        "libsyn",
-    ],
-}
-
-// dependent_library ["feature_list"]
-//   proc-macro2-1.0.28 "default,proc-macro"
-//   quote-1.0.9 "default,proc-macro"
-//   syn-1.0.74 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote,visit-mut"
-//   unicode-xid-0.2.2 "default"
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index 7e10dd0..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,8 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
-  "presubmit": [
-    {
-      "name": "futures-util_device_test_src_lib"
-    }
-  ]
-}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..341300b
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,4 @@
+{
+  "run": true,
+  "tests": true
+}
\ No newline at end of file