aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-16 20:11:26 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-16 20:11:26 +0000
commit59b3fd524b0db590e3963289ffee192244f8967a (patch)
treed43cc7d1b5390f76e05199a24ed646c2cb8366c6
parent262de363146ca7daea69d254c6d296e23757044e (diff)
parent2fc37ab9581f814997930985eb8c329f6de0a116 (diff)
downloadlibbrillo-59b3fd524b0db590e3963289ffee192244f8967a.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/libbrillo am: a40b7ac895 am: 436b555839 am: 74db6fcf21 am: 2fc37ab958
Original change: https://android-review.googlesource.com/c/platform/external/libbrillo/+/1589001 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8c848bb98497f4daf09ffefbaef587b213b1b5e0
-rw-r--r--Android.bp30
1 files changed, 30 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 01d8747..7f4d5be 100644
--- a/Android.bp
+++ b/Android.bp
@@ -16,6 +16,36 @@
// by setting BRILLO_USE_* values. Note that we define local variables like
// local_use_* to prevent leaking our default setting for other packages.
+package {
+ default_applicable_licenses: ["external_libbrillo_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_libbrillo_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
libbrillo_core_sources = [
"brillo/backoff_entry.cc",
"brillo/data_encoding.cc",