diff options
author | Bob Badour <bbadour@google.com> | 2021-02-12 14:41:13 -0800 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-02-16 17:03:15 -0800 |
commit | f84756c0d510331c43ce2dc8b76c479c9ceb0f6e (patch) | |
tree | e91460970fb80db6cd9b5cceab96d2f650a50c7e /abseil-cpp | |
parent | 75e0044b0f0e961bcec91e3fcfd6acbf22be4e04 (diff) | |
download | libtextclassifier-f84756c0d510331c43ce2dc8b76c479c9ceb0f6e.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/libtextclassifierandroid-s-preview-1
Added SPDX-license-identifier-Apache-2.0 to:
java/Android.bp
java/tests/instrumentation/Android.bp
jni/Android.bp
native/Android.bp
notification/Android.bp
notification/tests/Android.bp
Added SPDX-license-identifier-Apache-2.0 legacy_unencumbered to:
Android.bp
abseil-cpp/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Iffb38a0ae9d3ed38efd07b9c8b1f9b2742a2fb04
Merged-in: I90241274220cf1dbad3c5be6e13ba40a1ead8619
Merged-in: I2007c55451f3ad146ba8892f9e0eb4cae5a01750
Diffstat (limited to 'abseil-cpp')
-rw-r--r-- | abseil-cpp/Android.bp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/abseil-cpp/Android.bp b/abseil-cpp/Android.bp index 8e3c3a4..659a825 100644 --- a/abseil-cpp/Android.bp +++ b/abseil-cpp/Android.bp @@ -1,3 +1,35 @@ +package { + default_applicable_licenses: [ + "external_libtextclassifier_abseil-cpp_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_libtextclassifier_abseil-cpp_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "legacy_unencumbered", + ], + license_text: [ + "LICENSE", + ], +} + cc_library_static { name: "libtextclassifier_abseil", export_include_dirs: ["."], |