Migrate v2.27 of protobuf and protobuf-codegen to monorepo.

These go in the "extra versions" managed repo.

Bug: http://b/339424309
Test: treehugger
Change-Id: I664819b645f35dbac58965f13eb1c7440a851b62
diff --git a/2.27.1/Android.bp b/2.27.1/Android.bp
index dafe0c4..5a11914 100644
--- a/2.27.1/Android.bp
+++ b/2.27.1/Android.bp
@@ -1,43 +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_protobuf-2.27.1_license"],
-    default_team: "trendy_team_android_rust",
-}
-
-license {
-    name: "external_rust_crates_protobuf-2.27.1_license",
-    visibility: [":__subpackages__"],
-    license_kinds: ["SPDX-license-identifier-MIT"],
-    license_text: ["LICENSE"],
-}
-
-genrule {
-    name: "copy_protobuf_deprecated_build_out",
-    srcs: ["out/*"],
-    cmd: "cp $(in) $(genDir)",
-    out: ["version.rs"],
-}
-
-rust_library {
-    name: "libprotobuf_deprecated",
-    host_supported: true,
-    crate_name: "protobuf",
-    cargo_env_compat: true,
-    cargo_pkg_version: "2.27.1",
-    crate_root: "src/lib.rs",
-    srcs: [":copy_protobuf_deprecated_build_out"],
-    edition: "2018",
-    features: ["bytes"],
-    rustlibs: ["libbytes"],
-    apex_available: [
-        "//apex_available:platform",
-        "com.android.btservices",
-        "com.android.compos",
-        "com.android.virt",
-    ],
-    product_available: true,
-    vendor_available: true,
-    min_sdk_version: "29",
-}
+// This crate has been migrated to external/rust/android-crates-io/extra_versions.
diff --git a/2.27.1/TEST_MAPPING b/2.27.1/TEST_MAPPING
deleted file mode 100644
index 0225a59..0000000
--- a/2.27.1/TEST_MAPPING
+++ /dev/null
@@ -1,14 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
-  "imports": [
-    {
-      "path": "packages/modules/Virtualization/authfs"
-    },
-    {
-      "path": "packages/modules/Virtualization/microdroid_manager"
-    },
-    {
-      "path": "packages/modules/Virtualization/virtualizationmanager"
-    }
-  ]
-}
diff --git a/2.27.1/cargo_embargo.json b/2.27.1/cargo_embargo.json
deleted file mode 100644
index 27331f7..0000000
--- a/2.27.1/cargo_embargo.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-  "apex_available": [
-    "//apex_available:platform",
-    "com.android.btservices",
-    "com.android.compos",
-    "com.android.virt"
-  ],
-  "features": [
-    "bytes"
-  ],
-  "min_sdk_version": "29",
-  "module_name_overrides": {
-    "copy_protobuf_build_out": "copy_protobuf_deprecated_build_out",
-    "libprotobuf": "libprotobuf_deprecated",
-    "external_rust_crates_protobuf_license": "external_rust_crates_protobuf-2.27.1_license"
-  },
-  "package": {
-    "protobuf": {
-      "copy_out": true
-    }
-  }
-}