Snap for 11084970 from 064fa13ea3898f8cc10d5a8eeddefa34cbad8210 to 24Q1-release
Change-Id: I9346dff350973093bf88d96f8e483139d17ab15f
diff --git a/Android.bp b/Android.bp
index 9f2e45e..d7fe4a6 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,8 +1,6 @@
-// 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.
-
-
rust_library {
name: "libgoogletest_rust",
host_supported: true,
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index c76e391..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "device": true,
- "run": true,
- "suffix": "_rust"
-}
\ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..bccaabe
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,6 @@
+{
+ "module_name_overrides": {
+ "libgoogletest": "libgoogletest_rust"
+ },
+ "run_cargo": false
+}