Migrate to cargo_embargo. am: 3cb9189771
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/googletest/+/2824500
Change-Id: I5b2210345d6e95a3be9cdca6923f25c3eef9a78c
Signed-off-by: Automerger Merge Worker <[email protected]>
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
+}