Migrate to cargo_embargo. am: 3e917872c2

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/quickcheck/+/2823213

Change-Id: I57b9063419f2acc73fbeb6b0eca43b21c568ec52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index a0a56ce..1e48265 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --config cargo2android.json.
+// This file is generated by cargo_embargo.
 // Do not modify this file as changes will be overridden on upgrade.
 
 package {
@@ -40,7 +40,6 @@
 
 rust_library {
     name: "libquickcheck",
-    // has rustc warnings
     host_supported: true,
     crate_name: "quickcheck",
     cargo_env_compat: true,
@@ -69,7 +68,6 @@
 
 rust_test {
     name: "quickcheck_test_src_lib",
-    // has rustc warnings
     host_supported: true,
     crate_name: "quickcheck",
     cargo_env_compat: true,
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index cf6ca9c..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-  "dependencies": true,
-  "device": true,
-  "run": true,
-  "tests": true
-}
\ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..c8842d1
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,4 @@
+{
+  "run_cargo": false,
+  "tests": true
+}