Migrate 8 crates to monorepo
quiche
virtio-drivers
aarch64-paging
libm
miette-derive
tokio
grpcio
serde-xml-rs
Bug: http://b/339424309
Test: treehugger
Change-Id: I481f975f287baf3263464c8be4a12758a6324185
diff --git a/Android.bp b/Android.bp
index d658258..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,74 +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_aarch64-paging_license"],
- default_team: "trendy_team_android_rust",
-}
-
-license {
- name: "external_rust_crates_aarch64-paging_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE-APACHE"],
-}
-
-rust_test {
- name: "aarch64-paging_test_src_lib",
- host_supported: true,
- crate_name: "aarch64_paging",
- cargo_env_compat: true,
- cargo_pkg_version: "0.7.0",
- crate_root: "src/lib.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2021",
- features: [
- "alloc",
- "default",
- ],
- rustlibs: ["libbitflags"],
- enabled: false,
- arch: {
- arm64: {
- enabled: true,
- },
- },
-}
-
-rust_library_rlib {
- name: "libaarch64_paging",
- host_supported: true,
- crate_name: "aarch64_paging",
- cargo_env_compat: true,
- cargo_pkg_version: "0.7.0",
- crate_root: "src/lib.rs",
- edition: "2021",
- features: [
- "alloc",
- "default",
- ],
- rustlibs: ["libbitflags"],
- apex_available: [
- "//apex_available:platform",
- "com.android.virt",
- ],
- prefer_rlib: true,
- no_stdlibs: true,
- stdlibs: [
- "liballoc.rust_sysroot",
- "libcompiler_builtins.rust_sysroot",
- "libcore.rust_sysroot",
- ],
- product_available: true,
- vendor_available: true,
- enabled: false,
- arch: {
- arm64: {
- enabled: true,
- },
- },
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/cargo2android_module.bp b/cargo2android_module.bp
deleted file mode 100644
index da8df21..0000000
--- a/cargo2android_module.bp
+++ /dev/null
@@ -1,6 +0,0 @@
-enabled: false,
-arch: {
- arm64: {
- enabled: true,
- },
-}
\ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index a83468e..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "tests": true,
- "apex_available": [
- "//apex_available:platform",
- "com.android.virt"
- ],
- "package": {
- "aarch64-paging": {
- "alloc": true,
- "no_std": true,
- "force_rlib": true,
- "add_module_block": "cargo2android_module.bp",
- "license_text": "LICENSE-APACHE"
- }
- },
- "run_cargo": false
-}