Migrate 10 crates to monorepo
ahash
aho-corasick
android_logger
android_log-sys
anes
annotate-snippets
argh
argh_derive
argh_shared
ash
Bug: 339424309
Test: treehugger
Change-Id: Ieb8e0ea541b7a4a4acccff6fa215671a3db095e9
diff --git a/Android.bp b/Android.bp
index fff6a2d..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,50 +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_ahash_license"],
-}
-
-license {
- name: "external_rust_crates_ahash_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libahash",
- host_supported: true,
- crate_name: "ahash",
- cargo_env_compat: true,
- cargo_pkg_version: "0.8.11",
- crate_root: "src/lib.rs",
- edition: "2018",
- arch: {
- arm64: {
- features: ["folded_multiply"],
- },
- x86_64: {
- features: ["folded_multiply"],
- },
- },
- features: [
- "default",
- "getrandom",
- "runtime-rng",
- "specialize",
- "std",
- ],
- rustlibs: [
- "libcfg_if",
- "libgetrandom",
- "libonce_cell",
- "libzerocopy",
- ],
- 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/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index fe31e08..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/hashbrown"
- },
- {
- "path": "external/rust/crates/hashlink"
- },
- {
- "path": "system/security/keystore2"
- },
- {
- "path": "system/security/keystore2/legacykeystore"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index e4e351c..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "package": {
- "ahash": {
- "patch": "patches/Android.bp.diff"
- }
- }
-}