Migrate 8 crates to monorepo
unicode-xid
uniffi_core
uniffi_macros
vhost
vhost-user-backend
vm-memory
vmm-sys-util
yaml-rust
Bug: http://b/339424309
Test: treehugger
Change-Id: I711d639a68b37afd3ca8ea08117ce7c86177395c
diff --git a/Android.bp b/Android.bp
index 030e264..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,35 +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_vm-memory_license"],
- default_team: "trendy_team_android_rust",
-}
-
-license {
- name: "external_rust_crates_vm-memory_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_library_host {
- name: "libvm_memory_android",
- crate_name: "vm_memory",
- cargo_env_compat: true,
- cargo_pkg_version: "0.12.2",
- crate_root: "src/lib.rs",
- edition: "2021",
- features: [
- "arc-swap",
- "backend-atomic",
- "backend-bitmap",
- "backend-mmap",
- "default",
- ],
- rustlibs: [
- "libarc_swap",
- "liblibc",
- "libthiserror",
- ],
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 087fd61..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "features": [
- "default",
- "backend-bitmap",
- "backend-mmap",
- "backend-atomic",
- "arc-swap"
- ],
- "module_name_overrides": {
- "libvm_memory": "libvm_memory_android"
- },
- "package": {
- "vm-memory": {
- "device_supported": false
- }
- },
- "run_cargo": false
-}