Migrate 3 crates to monorepo.

num-bigint
bindgen
userfaultfd-sys

Bug: http://b/339424309
Test: treehugger
Change-Id: I22046b037fd33a193c5fe7351455b923dad2045f
diff --git a/Android.bp b/Android.bp
index 4b239f6..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,55 +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_license"],
-    default_team: "trendy_team_android_rust",
-}
-
-license {
-    name: "external_rust_crates_bindgen_license",
-    visibility: [":__subpackages__"],
-    license_kinds: ["SPDX-license-identifier-BSD-3-Clause"],
-    license_text: ["LICENSE"],
-}
-
-genrule {
-    name: "copy_bindgen_build_out",
-    srcs: ["out/*"],
-    cmd: "cp $(in) $(genDir)",
-    out: ["host-target.txt"],
-}
-
-rust_library_host {
-    name: "libbindgen",
-    host_cross_supported: false,
-    crate_name: "bindgen",
-    cargo_env_compat: true,
-    cargo_pkg_version: "0.69.5",
-    crate_root: "lib.rs",
-    srcs: [":copy_bindgen_build_out"],
-    edition: "2018",
-    features: [
-        "__cli",
-        "experimental",
-        "runtime",
-        "which-rustfmt",
-    ],
-    rustlibs: [
-        "libannotate_snippets",
-        "libbitflags",
-        "libcexpr",
-        "libclang_sys",
-        "libitertools",
-        "liblazy_static",
-        "liblazycell",
-        "libproc_macro2",
-        "libquote",
-        "libregex",
-        "librustc_hash",
-        "libshlex",
-        "libsyn",
-        "libwhich",
-    ],
-    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/android/bindgen_cmd/Android.bp b/android/bindgen_cmd/Android.bp
deleted file mode 100644
index 9189742..0000000
--- a/android/bindgen_cmd/Android.bp
+++ /dev/null
@@ -1,29 +0,0 @@
-package {
-    // See: http://go/android-license-faq
-    // A large-scale-change added 'default_applicable_licenses' to import
-    // all of the 'license_kinds' from "external_rust_crates_bindgen_license"
-    // to get the below license kinds:
-    //   SPDX-license-identifier-Apache-2.0
-    default_applicable_licenses: ["external_rust_crates_bindgen_license"],
-}
-
-rust_library_host {
-    name: "libbindgen_cmd",
-    host_cross_supported: false,
-    crate_name: "bindgen_cmd",
-    srcs: ["src/lib.rs"],
-    edition: "2018",
-    features: [
-        "clap",
-        "runtime",
-        "which",
-        "which-rustfmt",
-    ],
-    rustlibs: [
-        "libbindgen",
-        "libbindgen_cli",
-        "libclap",
-        "libenv_logger",
-    ],
-    compile_multilib: "first",
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 3ffb84d..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-  "features": [
-    "__cli",
-    "experimental",
-    "runtime",
-    "which-rustfmt"
-  ],
-  "package": {
-    "bindgen": {
-      "copy_out": true,
-      "device_supported": false,
-      "host_first_multilib": true
-    }
-  }
-}