Migrate 25 crates to monorepo. am: c1e098eba2
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/rand/+/3249331
Change-Id: Ied5e751580891fa235348f2361ca005db7539a49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index e5e705b..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,44 +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_rand_license"],
-}
-
-license {
- name: "external_rust_crates_rand_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "librand",
- host_supported: true,
- crate_name: "rand",
- cargo_env_compat: true,
- cargo_pkg_version: "0.8.5",
- crate_root: "src/lib.rs",
- edition: "2018",
- features: [
- "alloc",
- "default",
- "getrandom",
- "libc",
- "rand_chacha",
- "small_rng",
- "std",
- "std_rng",
- ],
- rustlibs: [
- "liblibc",
- "librand_chacha",
- "librand_core",
- ],
- 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 836f9e6..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,83 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/rust/crates/base64"
- },
- {
- "path": "external/rust/crates/cast"
- },
- {
- "path": "external/rust/crates/crc32fast"
- },
- {
- "path": "external/rust/crates/crossbeam-deque"
- },
- {
- "path": "external/rust/crates/crossbeam-epoch"
- },
- {
- "path": "external/rust/crates/crossbeam-queue"
- },
- {
- "path": "external/rust/crates/crossbeam-utils"
- },
- {
- "path": "external/rust/crates/flate2"
- },
- {
- "path": "external/rust/crates/hashbrown"
- },
- {
- "path": "external/rust/crates/mio"
- },
- {
- "path": "external/rust/crates/quickcheck"
- },
- {
- "path": "external/rust/crates/regex"
- },
- {
- "path": "external/rust/crates/ryu"
- },
- {
- "path": "external/rust/crates/tokio"
- },
- {
- "path": "external/rust/crates/zerocopy"
- },
- {
- "path": "external/uwb/src"
- },
- {
- "path": "packages/modules/Virtualization/apkdmverity"
- },
- {
- "path": "packages/modules/Virtualization/authfs"
- },
- {
- "path": "packages/modules/Virtualization/avmd"
- },
- {
- "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/keystore2"
- },
- {
- "path": "system/security/keystore2/legacykeystore"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 957e0e9..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "features": [
- "default",
- "small_rng"
- ],
- "run_cargo": false
-}