Migrate 25 crates to monorepo. am: 871773ad65 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/slab/+/3248841 Change-Id: Ib197ca576a10ca9bf2bcd1d952a1f73214e2c4bb Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/Android.bp b/Android.bp index b35dc25..96beb97 100644 --- a/Android.bp +++ b/Android.bp
@@ -1,59 +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_slab_license"], -} - -license { - name: "external_rust_crates_slab_license", - visibility: [":__subpackages__"], - license_kinds: ["SPDX-license-identifier-MIT"], - license_text: ["LICENSE"], -} - -rust_library { - name: "libslab", - host_supported: true, - crate_name: "slab", - cargo_env_compat: true, - cargo_pkg_version: "0.4.9", - crate_root: "src/lib.rs", - edition: "2018", - features: [ - "default", - "std", - ], - apex_available: [ - "//apex_available:platform", - "//apex_available:anyapex", - ], - product_available: true, - vendor_available: true, - min_sdk_version: "29", -} - -rust_test { - name: "slab_test_tests_slab", - host_supported: true, - crate_name: "slab", - cargo_env_compat: true, - cargo_pkg_version: "0.4.9", - crate_root: "tests/slab.rs", - test_suites: ["general-tests"], - auto_gen_config: true, - test_options: { - unit_test: true, - }, - edition: "2018", - features: [ - "default", - "std", - ], - rustlibs: [ - "libserde", - "libserde_test", - "libslab", - ], - proc_macros: ["librustversion"], -} +// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING deleted file mode 100644 index b755779..0000000 --- a/TEST_MAPPING +++ /dev/null
@@ -1,57 +0,0 @@ -// Generated by update_crate_tests.py for tests that depend on this crate. -{ - "imports": [ - { - "path": "external/rust/crates/anyhow" - }, - { - "path": "external/rust/crates/async-stream" - }, - { - "path": "external/rust/crates/futures-channel" - }, - { - "path": "external/rust/crates/futures-executor" - }, - { - "path": "external/rust/crates/futures-test" - }, - { - "path": "external/rust/crates/futures-util" - }, - { - "path": "external/rust/crates/tokio" - }, - { - "path": "external/rust/crates/tokio-test" - }, - { - "path": "packages/modules/DnsResolver" - }, - { - "path": "packages/modules/Virtualization/authfs" - }, - { - "path": "packages/modules/Virtualization/virtualizationmanager" - }, - { - "path": "packages/modules/Virtualization/zipfuse" - }, - { - "path": "system/security/keystore2" - }, - { - "path": "system/security/keystore2/legacykeystore" - } - ], - "presubmit": [ - { - "name": "slab_test_tests_slab" - } - ], - "presubmit-rust": [ - { - "name": "slab_test_tests_slab" - } - ] -}
diff --git a/cargo_embargo.json b/cargo_embargo.json deleted file mode 100644 index db1aaad..0000000 --- a/cargo_embargo.json +++ /dev/null
@@ -1,4 +0,0 @@ -{ - "min_sdk_version": "29", - "tests": true -}