Migrate 25 crates to monorepo. am: c4de0c26f8
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/googletest/+/3242976
Change-Id: I66edbf38a34112b93e4142cd11a2a85a0eb0155d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index b849242..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,37 +1 @@
-// This file is generated by cargo_embargo.
-// Do not modify this file because the changes will be overridden on upgrade.
-
-package {
- default_applicable_licenses: ["external_rust_crates_googletest_license"],
-}
-
-license {
- name: "external_rust_crates_googletest_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libgoogletest_rust",
- host_supported: true,
- crate_name: "googletest",
- cargo_env_compat: true,
- cargo_pkg_version: "0.11.0",
- crate_root: "src/lib.rs",
- edition: "2021",
- rustlibs: [
- "libnum_traits",
- "libregex",
- ],
- proc_macros: [
- "libgoogletest_macro",
- "librustversion",
- ],
- apex_available: [
- "//apex_available:platform",
- "//apex_available:anyapex",
- ],
- product_available: true,
- vendor_available: true,
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index ba25625..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "package": {
- "googletest": {
- "license_text": "LICENSE"
- }
- },
- "module_name_overrides": {
- "libgoogletest": "libgoogletest_rust"
- },
- "run_cargo": false
-}