Add license override to cargo_embargo.json for 2.27.1 and regenerate Android.bp.

Bug: http://b/339424309
Test: treehugger
Change-Id: Ifa82d95bcd71cd88a9051a5822d2b0eea1fe2544
diff --git a/2.27.1/Android.bp b/2.27.1/Android.bp
index df37fb7..747919c 100644
--- a/2.27.1/Android.bp
+++ b/2.27.1/Android.bp
@@ -1,25 +1,16 @@
 // This file is generated by cargo_embargo.
-// Do not modify this file after the first "rust_*" or "genrule" module
-// because the changes will be overridden on upgrade.
-// Content before the first "rust_*" or "genrule" module is preserved.
+// Do not modify this file because the changes will be overridden on upgrade.
 
 package {
-    default_applicable_licenses: [
-        "external_rust_crates_protobuf-codegen_2.27.1_license",
-    ],
+    default_applicable_licenses: ["external_rust_crates_protobuf-codegen-2.27.1_license"],
+    default_team: "trendy_team_android_rust",
 }
 
-// Added automatically by a large-scale-change
-// See: http://go/android-license-faq
 license {
-    name: "external_rust_crates_protobuf-codegen_2.27.1_license",
+    name: "external_rust_crates_protobuf-codegen-2.27.1_license",
     visibility: [":__subpackages__"],
-    license_kinds: [
-        "SPDX-license-identifier-MIT",
-    ],
-    license_text: [
-        "LICENSE.txt",
-    ],
+    license_kinds: ["SPDX-license-identifier-MIT"],
+    license_text: ["LICENSE"],
 }
 
 rust_library_host {
diff --git a/2.27.1/cargo_embargo.json b/2.27.1/cargo_embargo.json
index 14de05c..9489eb6 100644
--- a/2.27.1/cargo_embargo.json
+++ b/2.27.1/cargo_embargo.json
@@ -6,7 +6,8 @@
     "libprotobuf": "libprotobuf_deprecated",
     "libprotobuf_codegen": "libprotobuf_codegen_deprecated",
     "protobuf-codegen_test_src_lib": "protobuf-codegen_deprecated_test_src_lib",
-    "protoc_gen_rust": "protoc-gen-rust-deprecated"
+    "protoc_gen_rust": "protoc-gen-rust-deprecated",
+    "external_rust_crates_protobuf-codegen_license": "external_rust_crates_protobuf-codegen-2.27.1_license"
   },
   "package": {
     "protobuf-codegen": {