Cleanup cargo2android configs and patches
Use name-suffix and dep-suffixes (aosp/2751102) and remove patches no longer needed as a result. Other minor cleanups to eliminate diffs in Android.bp files
Test: Ran cargo2android
Change-Id: I103ac2581607d1174b8066a8ce24a8ee5e7d0be5
diff --git a/2.27.1/cargo2android.json b/2.27.1/cargo2android.json
index 341300b..de731c4 100644
--- a/2.27.1/cargo2android.json
+++ b/2.27.1/cargo2android.json
@@ -1,4 +1,9 @@
{
"run": true,
- "tests": true
-}
\ No newline at end of file
+ "tests": true,
+ "name-suffix": "_deprecated",
+ "dep-suffixes": {
+ "protobuf": "_deprecated",
+ "protobuf_codegen": "_deprecated"
+ }
+}