diff options
author | Bob Badour <bbadour@google.com> | 2021-02-12 17:53:42 -0800 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-02-12 17:53:42 -0800 |
commit | a40b7ac895353569f2007f0c2de283b8fccef85f (patch) | |
tree | d43cc7d1b5390f76e05199a24ed646c2cb8366c6 | |
parent | ce54b28e3f43f20294c491e5e96c13f757958b2f (diff) | |
download | libbrillo-a40b7ac895353569f2007f0c2de283b8fccef85f.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/libbrilloandroid-s-preview-1
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ib9f0626167e657ffbb257116da65f7d145cc0e41
-rw-r--r-- | Android.bp | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -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", |