Migrate zeroize to crate monorepo
Bug: http://b/339424309
Test: treehugger
Change-Id: Iaa625997f7a48413fc6a7f072feba77b5818478c
diff --git a/Android.bp b/Android.bp
index 3be9997..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,48 +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_zeroize_derive_license"],
-}
-
-license {
- name: "external_rust_crates_zeroize_derive_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_proc_macro {
- name: "libzeroize_derive",
- crate_name: "zeroize_derive",
- cargo_env_compat: true,
- cargo_pkg_version: "1.4.2",
- crate_root: "src/lib.rs",
- edition: "2021",
- rustlibs: [
- "libproc_macro2",
- "libquote",
- "libsyn",
- ],
- compile_multilib: "first",
-}
-
-rust_test_host {
- name: "zeroize_derive_test_src_lib",
- host_cross_supported: false,
- crate_name: "zeroize_derive",
- cargo_env_compat: true,
- cargo_pkg_version: "1.4.2",
- crate_root: "src/lib.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2021",
- rustlibs: [
- "libproc_macro2",
- "libquote",
- "libsyn",
- ],
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index 5f54cfa..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,17 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/rust/crates/zeroize"
- },
- {
- "path": "external/uwb/src"
- },
- {
- "path": "system/keymint/derive"
- },
- {
- "path": "system/keymint/hal"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index b048231..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "package": {
- "zeroize_derive": {
- "device_supported": false,
- "host_first_multilib": true
- }
- },
- "run_cargo": false,
- "tests": true
-}