[LSC] Add LOCAL_LICENSE_KINDS to external/golang-protobuf am: 971ace8adf am: 36730171d1 am: 2634ea48be am: f5f949a358

Original change: https://android-review.googlesource.com/c/platform/external/golang-protobuf/+/1588599

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia5ab7ea54c7f3332233e060875468408f90d5b2e
diff --git a/Android.bp b/Android.bp
index 8fc8e6d..2213d5b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,23 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+package {
+    default_applicable_licenses: ["external_golang-protobuf_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+    name: "external_golang-protobuf_license",
+    visibility: [":__subpackages__"],
+    license_kinds: [
+        "SPDX-license-identifier-BSD",
+    ],
+    license_text: [
+        "LICENSE",
+    ],
+}
+
 bootstrap_go_package {
     name: "protoc-gen-go_descriptor",
     pkgPath: "github.com/golang/protobuf/protoc-gen-go/descriptor",