aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-17 18:11:27 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-17 18:11:27 +0000
commit81b4443c6d7b888458ceaa306bdb68e807d71c81 (patch)
treeb8f8f988ccda09f844ee3f15de0c535f23c81930
parentf978119ea2574a5a858fcafec798982117812242 (diff)
parent7ebff1b1e4f44263d6479d7cf49ec74da62445fb (diff)
downloadnanohttpd-81b4443c6d7b888458ceaa306bdb68e807d71c81.tar.gz
Original change: https://android-review.googlesource.com/c/platform/external/nanohttpd/+/1588624 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I88990bfd3424394845e5551d9630f6561fdb83b9
-rw-r--r--Android.bp23
1 files changed, 23 insertions, 0 deletions
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"],