Snap for 12503729 from 9b3825e6e31b4dd90ccb247f27059422ec5d90a8 to sdk-release
Change-Id: Ie242abdeb81cd59d75e3a1939a8c70247483d28a
diff --git a/Android.bp b/Android.bp
index ba4b5f5..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,53 +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_bindgen-cli_license"],
-}
-
-license {
- name: "external_rust_crates_bindgen-cli_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-BSD-3-Clause"],
- license_text: ["LICENSE"],
-}
-
-rust_binary_host {
- name: "bindgen",
- host_cross_supported: false,
- crate_name: "bindgen",
- cargo_env_compat: true,
- cargo_pkg_version: "0.69.2",
- crate_root: "main.rs",
- edition: "2018",
- features: [
- "default",
- "logging",
- "runtime",
- "which-rustfmt",
- ],
- rustlibs: [
- "libbindgen",
- "libclap",
- "libclap_complete",
- "libenv_logger",
- "liblog_rust",
- "libshlex",
- ],
- compile_multilib: "first",
-}
-
-rust_library_host {
- name: "libbindgen_cli",
- host_cross_supported: false,
- crate_name: "bindgen_cli",
- srcs: ["options.rs"],
- edition: "2018",
- rustlibs: [
- "libbindgen",
- "libclap",
- "libclap_complete",
- "libenv_logger",
- ],
- compile_multilib: "first",
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index 23bbdf9..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,14 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/rust/crates/libsqlite3-sys"
- },
- {
- "path": "system/security/keystore2"
- },
- {
- "path": "system/security/keystore2/legacykeystore"
- }
- ]
-}
diff --git a/cargo2android-extra-module.bp b/cargo2android-extra-module.bp
deleted file mode 100644
index 37311aa..0000000
--- a/cargo2android-extra-module.bp
+++ /dev/null
@@ -1,14 +0,0 @@
-rust_library_host {
- name: "libbindgen_cli",
- host_cross_supported: false,
- crate_name: "bindgen_cli",
- srcs: ["options.rs"],
- edition: "2018",
- rustlibs: [
- "libbindgen",
- "libclap",
- "libclap_complete",
- "libenv_logger",
- ],
- compile_multilib: "first",
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 82909f3..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "package": {
- "bindgen-cli": {
- "device_supported": false,
- "host_first_multilib": true,
- "host_cross_supported": false,
- "add_toplevel_block": "cargo2android-extra-module.bp"
- }
- },
- "run_cargo": false
-}