[LSC] Add LOCAL_LICENSE_KINDS to external/nanohttpd am: a8ea3aab7a am: fc9de70447 am: 12e78a0121

Original change: https://android-review.googlesource.com/c/platform/external/nanohttpd/+/1588624

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib5ab196079c9e81e961d5994ea8de3e05bf45b20
diff --git a/Android.bp b/Android.bp
index ddaf1e9..d612612 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,6 +1,29 @@
 // This module target includes just the single core file: NanoHTTPD.java, which
 // is enough for HTTP 1.1 support and nothing else.
 // ============================================================================
+package {
+    default_applicable_licenses: ["external_nanohttpd_license"],
+}
+
+// Added automatically by a large-scale-change
+//
+// large-scale-change included anything that looked like it might be a license
+// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
+//
+// Please consider removing redundant or irrelevant files from 'license_text:'.
+// See: http://go/android-license-faq
+license {
+    name: "external_nanohttpd_license",
+    visibility: [":__subpackages__"],
+    license_kinds: [
+        "SPDX-license-identifier-BSD",
+    ],
+    license_text: [
+        "LICENSE.md",
+        "NOTICE",
+    ],
+}
+
 java_library {
     name: "libnanohttpd",
     srcs: ["core/src/main/**/*.java"],