aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-17 18:08:11 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-17 18:08:11 +0000
commit51a5d47896587045456c079707b8e2f31c0e20fc (patch)
tree53bf638cf621c1e1aa83a609be1a2e2343e41623
parentee3824d188cf69a43a652041cf4f39e5428a85c6 (diff)
parentb3a7c844a4449e8c13d8f77a554b7aaa01a29140 (diff)
downloadjsoncpp-51a5d47896587045456c079707b8e2f31c0e20fc.tar.gz
Merge "[LSC] Add LOCAL_LICENSE_KINDS to external/jsoncpp" am: 839c129ec5 am: 5439e3a1b4 am: 3fb87af73f am: b3a7c844a4
Original change: https://android-review.googlesource.com/c/platform/external/jsoncpp/+/1588526 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I3d77378f1f784e7cfa37fb4dcd9e2721a18bb308
-rw-r--r--Android.bp30
1 files changed, 30 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 834ef6f..86394cf 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,33 @@
+package {
+ default_applicable_licenses: ["external_jsoncpp_license"],
+}
+
+// Added automatically by a large-scale-change that took the approach of
+// 'apply every license found to every target'. While this makes sure we respect
+// every license restriction, it may not be entirely correct.
+//
+// e.g. GPL in an MIT project might only apply to the contrib/ directory.
+//
+// Please consider splitting the single license below into multiple licenses,
+// taking care not to lose any license_kind information, and overriding the
+// default license using the 'licenses: [...]' property on targets as needed.
+//
+// For unused files, consider creating a 'fileGroup' with "//visibility:private"
+// to attach the license to, and including a comment whether the files may be
+// used in the current project.
+// See: http://go/android-license-faq
+license {
+ name: "external_jsoncpp_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-MIT",
+ "legacy_unencumbered",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
cc_defaults {
name: "libjsoncpp_defaults",