Migrate 25 crates to monorepo. am: 9fab44c3c5
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/mio/+/3248335
Change-Id: I4e153e9c0853c7ad85e083a8357dd82b7d3298a5
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/Android.bp b/Android.bp
index 65078cc..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,65 +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_mio_license"],
-}
-
-license {
- name: "external_rust_crates_mio_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-MIT"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libmio",
- host_supported: true,
- crate_name: "mio",
- cargo_env_compat: true,
- cargo_pkg_version: "0.8.6",
- crate_root: "src/lib.rs",
- edition: "2018",
- features: [
- "net",
- "os-ext",
- "os-poll",
- ],
- rustlibs: [
- "liblibc",
- "liblog_rust",
- ],
- apex_available: [
- "//apex_available:platform",
- "//apex_available:anyapex",
- ],
- product_available: true,
- vendor_available: true,
- min_sdk_version: "29",
-}
-
-rust_test {
- name: "mio_test_src_lib",
- host_supported: true,
- crate_name: "mio",
- cargo_env_compat: true,
- cargo_pkg_version: "0.8.6",
- crate_root: "src/lib.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- features: [
- "net",
- "os-ext",
- "os-poll",
- ],
- rustlibs: [
- "libenv_logger",
- "liblibc",
- "liblog_rust",
- "librand",
- ],
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index 2614fcb..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/async-stream"
- },
- {
- "path": "external/rust/crates/futures-util"
- },
- {
- "path": "external/rust/crates/quiche"
- },
- {
- "path": "external/rust/crates/tokio"
- },
- {
- "path": "external/rust/crates/tokio-test"
- },
- {
- "path": "external/uwb/src"
- },
- {
- "path": "packages/modules/DnsResolver"
- }
- ],
- "presubmit": [
- {
- "name": "mio_test_src_lib"
- }
- ],
- "presubmit-rust": [
- {
- "name": "mio_test_src_lib"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 203f7fc..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "features": [
- "net",
- "os-ext",
- "os-poll"
- ],
- "min_sdk_version": "29",
- "run_cargo": false,
- "tests": true
-}