diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-02-17 03:15:17 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-02-17 03:15:17 +0000 |
commit | 630f37569e619aded5cc2f500d81a0ca85df1dd8 (patch) | |
tree | d43cc7d1b5390f76e05199a24ed646c2cb8366c6 | |
parent | 262de363146ca7daea69d254c6d296e23757044e (diff) | |
parent | 2fc37ab9581f814997930985eb8c329f6de0a116 (diff) | |
download | libbrillo-630f37569e619aded5cc2f500d81a0ca85df1dd8.tar.gz |
Snap for 7149879 from 2fc37ab9581f814997930985eb8c329f6de0a116 to sc-v2-release
Change-Id: I350c08b6d025739f98609817b3ed6077067e42ca
-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", |