Migrate 3 crates to monorepo.
etherparse
memmap2
static_assertions
Bug: http://b/339424309
Test: treehugger
Change-Id: Ie5986357668c3d3a63defeaac1e670bc3a966b66
diff --git a/Android.bp b/Android.bp
index 68fb5c8..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_static_assertions_license"],
- default_team: "trendy_team_android_rust",
-}
-
-license {
- name: "external_rust_crates_static_assertions_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libstatic_assertions",
- host_supported: true,
- crate_name: "static_assertions",
- cargo_env_compat: true,
- cargo_pkg_version: "1.1.0",
- crate_root: "src/lib.rs",
- edition: "2015",
- apex_available: [
- "//apex_available:platform",
- "//apex_available:anyapex",
- ],
- product_available: true,
- vendor_available: true,
- min_sdk_version: "29",
-}
-
-dirgroup {
- name: "trusty_dirgroup_external_rust_crates_static_assertions",
- visibility: ["//trusty/vendor/google/aosp/scripts"],
- dirs: ["."],
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index 10e0efb..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,47 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/rust/crates/tokio"
- },
- {
- "path": "packages/modules/Virtualization/apkdmverity"
- },
- {
- "path": "packages/modules/Virtualization/authfs"
- },
- {
- "path": "packages/modules/Virtualization/encryptedstore"
- },
- {
- "path": "packages/modules/Virtualization/libs/capabilities"
- },
- {
- "path": "packages/modules/Virtualization/libs/devicemapper"
- },
- {
- "path": "packages/modules/Virtualization/microdroid_manager"
- },
- {
- "path": "packages/modules/Virtualization/virtualizationmanager"
- },
- {
- "path": "packages/modules/Virtualization/vm"
- },
- {
- "path": "packages/modules/Virtualization/zipfuse"
- },
- {
- "path": "system/security/diced"
- },
- {
- "path": "system/security/keystore2"
- },
- {
- "path": "system/security/keystore2/legacykeystore"
- },
- {
- "path": "system/security/keystore2/src/crypto"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 5dfe7da..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "min_sdk_version": "29",
- "module_blocklist": ["libproc_static_assertions"],
- "run_cargo": false,
- "generate_rulesmk": true
-}