Migrate 25 crates to monorepo. am: d41918f53e Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/rand_core/+/3248757 Change-Id: Ide9f39af03518b2525b4e4a558438fd6787a4f71 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp index d9103e0..96beb97 100644 --- a/Android.bp +++ b/Android.bp
@@ -1,56 +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_core_license"], -} - -license { - name: "external_rust_crates_rand_core_license", - visibility: [":__subpackages__"], - license_kinds: ["SPDX-license-identifier-Apache-2.0"], - license_text: ["LICENSE"], -} - -rust_library { - name: "librand_core", - host_supported: true, - crate_name: "rand_core", - cargo_env_compat: true, - cargo_pkg_version: "0.6.4", - crate_root: "src/lib.rs", - edition: "2018", - features: [ - "alloc", - "getrandom", - "std", - ], - rustlibs: ["libgetrandom"], - apex_available: [ - "//apex_available:platform", - "//apex_available:anyapex", - ], - product_available: true, - vendor_available: true, -} - -rust_test { - name: "rand_core_test_src_lib", - host_supported: true, - crate_name: "rand_core", - cargo_env_compat: true, - cargo_pkg_version: "0.6.4", - crate_root: "src/lib.rs", - test_suites: ["general-tests"], - auto_gen_config: true, - test_options: { - unit_test: true, - }, - edition: "2018", - features: [ - "alloc", - "getrandom", - "std", - ], - rustlibs: ["libgetrandom"], -} +// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING deleted file mode 100644 index 05d9335..0000000 --- a/TEST_MAPPING +++ /dev/null
@@ -1,99 +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/rand_chacha" - }, - { - "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/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": "rand_core_test_src_lib" - } - ], - "presubmit-rust": [ - { - "name": "rand_core_test_src_lib" - } - ] -}
diff --git a/cargo_embargo.json b/cargo_embargo.json deleted file mode 100644 index 1bf2d8d..0000000 --- a/cargo_embargo.json +++ /dev/null
@@ -1,7 +0,0 @@ -{ - "features": [ - "std" - ], - "run_cargo": false, - "tests": true -}