Migrate 25 crates to monorepo.
env_logger
epoll
errno
fallible-iterator
fallible-streaming-iterator
fastrand
flagset
fragile
fs-err
futures
futures-core
futures-executor
futures-io
futures-macro
futures-sink
futures-task
futures-test
futures-util
gbm
getrandom
glob
googletest
googletest_macro
h2
hashbrown
Bug: 339424309
Test: treehugger
Change-Id: Ib7d029bad4d864a065e95ec5f58f4cc7ca1cd035
diff --git a/Android.bp b/Android.bp
index 520632b..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,96 +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_getrandom_license"],
-}
-
-license {
- name: "external_rust_crates_getrandom_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_test {
- name: "getrandom_test_src_lib",
- host_supported: true,
- crate_name: "getrandom",
- cargo_env_compat: true,
- cargo_pkg_version: "0.2.12",
- crate_root: "src/lib.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- features: ["std"],
- rustlibs: [
- "libcfg_if",
- "liblibc",
- ],
-}
-
-rust_test {
- name: "getrandom_test_tests_normal",
- host_supported: true,
- crate_name: "normal",
- cargo_env_compat: true,
- cargo_pkg_version: "0.2.12",
- crate_root: "tests/normal.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- features: ["std"],
- rustlibs: [
- "libcfg_if",
- "libgetrandom",
- "liblibc",
- ],
-}
-
-rust_test {
- name: "getrandom_test_tests_rdrand",
- host_supported: true,
- crate_name: "rdrand",
- cargo_env_compat: true,
- cargo_pkg_version: "0.2.12",
- crate_root: "tests/rdrand.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- features: ["std"],
- rustlibs: [
- "libcfg_if",
- "libgetrandom",
- "liblibc",
- ],
-}
-
-rust_library {
- name: "libgetrandom",
- host_supported: true,
- crate_name: "getrandom",
- cargo_env_compat: true,
- cargo_pkg_version: "0.2.12",
- crate_root: "src/lib.rs",
- edition: "2018",
- features: ["std"],
- rustlibs: [
- "libcfg_if",
- "liblibc",
- ],
- 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 68e252c..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,120 +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/hashlink"
- },
- {
- "path": "external/rust/crates/mio"
- },
- {
- "path": "external/rust/crates/quickcheck"
- },
- {
- "path": "external/rust/crates/rand_chacha"
- },
- {
- "path": "external/rust/crates/rand_core"
- },
- {
- "path": "external/rust/crates/rand_xorshift"
- },
- {
- "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/encryptedstore"
- },
- {
- "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"
- }
- ],
- "presubmit": [
- {
- "name": "getrandom_test_src_lib"
- },
- {
- "name": "getrandom_test_tests_normal"
- },
- {
- "name": "getrandom_test_tests_rdrand"
- }
- ],
- "presubmit-rust": [
- {
- "name": "getrandom_test_src_lib"
- },
- {
- "name": "getrandom_test_tests_normal"
- },
- {
- "name": "getrandom_test_tests_rdrand"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 42d0125..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "package": {
- "getrandom": {
- "license_text": "LICENSE"
- }
- },
- "features": [
- "std"
- ],
- "tests": true
-}