Refresh Android.bp, cargo2android.json, TEST_MAPPING.
Test: None
Change-Id: Ice3e71a99928de20edb17d17ac68c954cd7ffa6f
diff --git a/Android.bp b/Android.bp
index 27c822e..0661355 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --tests.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -33,7 +33,7 @@
}
rust_test_host {
- name: "protobuf-codegen_host_test_src_lib",
+ name: "protobuf-codegen_test_src_lib",
crate_name: "protobuf_codegen",
cargo_env_compat: true,
cargo_pkg_version: "2.25.1",
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