Migrate 25 crates to monorepo. am: 9e1d8e6279
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/hashbrown/+/3245201
Change-Id: I5bfdb1a23076ee5570a5e5c3426539a247f59cd8
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/Android.bp b/Android.bp
index 4412b24..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,125 +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_hashbrown_license"],
-}
-
-license {
- name: "external_rust_crates_hashbrown_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_test {
- name: "hashbrown_test_src_lib",
- host_supported: true,
- crate_name: "hashbrown",
- cargo_env_compat: true,
- cargo_pkg_version: "0.12.3",
- crate_root: "src/lib.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2021",
- features: [
- "ahash",
- "default",
- "inline-more",
- "raw",
- ],
- rustlibs: [
- "libahash",
- "libfnv",
- "liblazy_static",
- "librand",
- "librayon",
- "libserde_test",
- ],
-}
-
-rust_test {
- name: "hashbrown_test_tests_hasher",
- host_supported: true,
- crate_name: "hasher",
- cargo_env_compat: true,
- cargo_pkg_version: "0.12.3",
- crate_root: "tests/hasher.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2021",
- features: [
- "ahash",
- "default",
- "inline-more",
- "raw",
- ],
- rustlibs: [
- "libahash",
- "libfnv",
- "libhashbrown",
- "liblazy_static",
- "librand",
- "librayon",
- "libserde_test",
- ],
-}
-
-rust_test {
- name: "hashbrown_test_tests_set",
- host_supported: true,
- crate_name: "set",
- cargo_env_compat: true,
- cargo_pkg_version: "0.12.3",
- crate_root: "tests/set.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2021",
- features: [
- "ahash",
- "default",
- "inline-more",
- "raw",
- ],
- rustlibs: [
- "libahash",
- "libfnv",
- "libhashbrown",
- "liblazy_static",
- "librand",
- "librayon",
- "libserde_test",
- ],
-}
-
-rust_library {
- name: "libhashbrown",
- host_supported: true,
- crate_name: "hashbrown",
- cargo_env_compat: true,
- cargo_pkg_version: "0.12.3",
- crate_root: "src/lib.rs",
- edition: "2021",
- features: [
- "ahash",
- "default",
- "inline-more",
- "raw",
- ],
- rustlibs: ["libahash"],
- 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 cac4f02..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,36 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/rust/crates/hashlink"
- },
- {
- "path": "system/security/keystore2"
- },
- {
- "path": "system/security/keystore2/legacykeystore"
- }
- ],
- "presubmit": [
- {
- "name": "hashbrown_test_src_lib"
- },
- {
- "name": "hashbrown_test_tests_hasher"
- },
- {
- "name": "hashbrown_test_tests_set"
- }
- ],
- "presubmit-rust": [
- {
- "name": "hashbrown_test_src_lib"
- },
- {
- "name": "hashbrown_test_tests_hasher"
- },
- {
- "name": "hashbrown_test_tests_set"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 88a26ce..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "features": [
- "ahash",
- "default",
- "inline-more",
- "raw"
- ],
- "package": {
- "hashbrown": {
- "dep_blocklist": [
- "libdoc_comment"
- ]
- }
- },
- "tests": true
-}