aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-17 15:54:05 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-17 15:54:05 +0000
commitfc9de70447939ab364397d1816aef72446f05cf5 (patch)
treeb29b1e8044243877310f02c5548ab9ab3d0c3984
parent7be9224aa0a79751d1291dba71a53a1b4dda607a (diff)
parenta8ea3aab7add51a615c1d2e5152f0868823b07b4 (diff)
downloadnanohttpd-fc9de70447939ab364397d1816aef72446f05cf5.tar.gz
Original change: https://android-review.googlesource.com/c/platform/external/nanohttpd/+/1588624 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1794586a39e55b7566dd3bb8c80717cc8f79aaee
-rw-r--r--Android.bp23
1 files changed, 23 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 5ffcbc9..16b274c 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"],