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: I15ee15b584f5eadc75d73d818cdd18daf8200e81
diff --git a/Android.bp b/Android.bp
index bb44824..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,34 +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_vhost_license"],
- default_team: "trendy_team_android_rust",
-}
-
-license {
- name: "external_rust_crates_vhost_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_library_host {
- name: "libvhost_android",
- crate_name: "vhost",
- cargo_env_compat: true,
- cargo_pkg_version: "0.8.1",
- crate_root: "src/lib.rs",
- edition: "2018",
- features: [
- "default",
- "vhost-user",
- "vhost-user-slave",
- ],
- rustlibs: [
- "libbitflags-1.3.2",
- "liblibc",
- "libvm_memory_android",
- "libvmm_sys_util",
- ],
-}
+// 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 3f73d27..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "features": [
- "default",
- "vhost-user",
- "vhost-user-slave"
- ],
- "module_name_overrides": {
- "libbitflags": "libbitflags-1.3.2",
- "libvhost": "libvhost_android",
- "libvm_memory": "libvm_memory_android"
- },
- "package": {
- "vhost": {
- "device_supported": false
- }
- },
- "run_cargo": false
-}