Migrate 25 crates to monorepo. am: b46ad949f4
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/gbm/+/3242568
Change-Id: Ie9b77a9f516d28c87daf3ebbe453dec3eacf0093
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index 7787824..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_gbm_license"],
-}
-
-license {
- name: "external_rust_crates_gbm_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-MIT"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libgbm_rust",
- host_supported: true,
- crate_name: "gbm",
- cargo_env_compat: true,
- cargo_pkg_version: "0.14.2",
- crate_root: "src/lib.rs",
- edition: "2021",
- features: [
- "drm",
- "drm-support",
- ],
- rustlibs: [
- "libbitflags",
- "libdrm_fourcc",
- "libdrm_rust",
- "libgbm_sys",
- "liblibc",
- ],
- apex_available: [
- "//apex_available:platform",
- "//apex_available:anyapex",
- ],
- 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 6744c1e..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "package": {
- "gbm": {
- "license_text": "LICENSE"
- }
- },
- "run_cargo": false,
- "module_name_overrides": {
- "libdrm": "libdrm_rust",
- "libgbm": "libgbm_rust"
- },
- "features": [
- "drm-support"
- ]
-}