aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-16 18:18:32 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-16 18:18:32 +0000
commit436b555839fe6e57c659755a60ed9f3d7a1ec7bd (patch)
treed43cc7d1b5390f76e05199a24ed646c2cb8366c6
parentce54b28e3f43f20294c491e5e96c13f757958b2f (diff)
parenta40b7ac895353569f2007f0c2de283b8fccef85f (diff)
downloadlibbrillo-436b555839fe6e57c659755a60ed9f3d7a1ec7bd.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/libbrillo am: a40b7ac895
Original change: https://android-review.googlesource.com/c/platform/external/libbrillo/+/1589001 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I065c9658b1e782bc07af8ec63f3956cceba52968
-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",