Remove patch.
This patch simply adds a TODO to the Android.bp file. I've filed a
bug for that, which is probably a better way to track it anyway.
Bug: 190415778
Test: Run cargo2android.py.
Change-Id: I4cc9888c7b91cb694e6cf881d6d1511255319a43
diff --git a/Android.bp b/Android.bp
index ac11512..15f699c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,7 +1,5 @@
// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
-// TODO(victorhsieh): Add --test. The test in the current version depends on an older rand crate
-// (pre 0.8) to compile due to several API changes. However, Android's rand is already newer.
package {
default_applicable_licenses: [
diff --git a/cargo2android.json b/cargo2android.json
index 623aa56..42b7833 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -5,6 +5,5 @@
],
"dependencies": true,
"device": true,
- "patch": "patches/Android.bp.patch",
"run": true
}
\ No newline at end of file
diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch
deleted file mode 100644
index f0c7569..0000000
--- a/patches/Android.bp.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/Android.bp b/Android.bp
-index 9e3c084..d4334b6 100644
---- a/Android.bp
-+++ b/Android.bp
-@@ -1,5 +1,7 @@
- // This file is generated by cargo2android.py --config cargo2android.json.
- // Do not modify this file as changes will be overridden on upgrade.
-+// TODO(victorhsieh): Add --test. The test in the current version depends on an older rand crate
-+// (pre 0.8) to compile due to several API changes. However, Android's rand is already newer.
-
- package {
- default_applicable_licenses: [