Migrate 9 newly imported crates to monorepo am: 33d92c4382
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/uefi-raw/+/3388104
Change-Id: I84df25de72b1e9df852fcd72e59db75dd526b9ac
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/Android.bp b/Android.bp
index 72bf3c7..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,40 +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_uefi-raw_license"],
- default_team: "trendy_team_android_rust",
-}
-
-license {
- name: "external_rust_crates_uefi-raw_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-MPL-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_library_rlib {
- name: "libuefi_raw_nostd",
- crate_name: "uefi_raw",
- cargo_env_compat: true,
- cargo_pkg_version: "0.9.0",
- crate_root: "src/lib.rs",
- edition: "2021",
- rustlibs: [
- "libbitflags",
- "libptr_meta_nostd",
- "libuguid_nostd",
- ],
- apex_available: [
- "//apex_available:platform",
- "//apex_available:anyapex",
- ],
- prefer_rlib: true,
- no_stdlibs: true,
- stdlibs: [
- "libcompiler_builtins.rust_sysroot",
- "libcore.rust_sysroot",
- ],
- product_available: true,
- vendor_available: true,
-}
+// 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 5dd7165..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "run_cargo": false,
- "module_name_overrides": {
- "libuefi_raw": "libuefi_raw_nostd",
- "libuguid": "libuguid_nostd",
- "libptr_meta": "libptr_meta_nostd"
- },
- "package": {
- "uefi-raw": {
- "force_rlib": true,
- "host_supported": false,
- "no_std": true
- }
- }
-}