Migrate 5 crates to monorepo.
acpi
bit_field
libbpf-rs
matches
poll_token_derive
Bug: http://b/339424309
Test: treehugger
Change-Id: I3d3c0c2e6be098ce4ee81f5c6337998a3d86899a
diff --git a/Android.bp b/Android.bp
index d084001..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,38 +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_libbpf-rs_license"],
- default_team: "trendy_team_android_rust",
-}
-
-license {
- name: "external_rust_crates_libbpf-rs_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-BSD-2-Clause"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "liblibbpf_rs",
- crate_name: "libbpf_rs",
- cargo_env_compat: true,
- cargo_pkg_version: "0.24.2",
- crate_root: "src/lib.rs",
- edition: "2021",
- features: [
- "default",
- "libbpf-sys",
- ],
- rustlibs: [
- "libbitflags",
- "liblibbpf_sys",
- "liblibc",
- "libvsprintf",
- ],
- apex_available: [
- "//apex_available:platform",
- "//apex_available:anyapex",
- ],
- shared_libs: ["libbpf"],
-}
+// 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 fef2958..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "run_cargo": false,
- "package": {
- "libbpf-rs": {
- "host_supported": false,
- "patch": "patches/Android.bp.patch"
- }
- },
- "product_available": false,
- "vendor_available": false
-}