diff options
author | Bob Badour <bbadour@google.com> | 2021-02-12 15:50:44 -0800 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-02-12 15:50:44 -0800 |
commit | 735107e4e3f4883388d6945123fd1348c1996e23 (patch) | |
tree | 9facdce8aba5db60d6f4007c02290daf066d9a24 | |
parent | 31e0e70b54339a4bb5f92b6b241a42d30a7067cc (diff) | |
download | libdivsufsort-735107e4e3f4883388d6945123fd1348c1996e23.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/libdivsufsortandroid-s-preview-1
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ic19a1ac9f6504047961be594fe745e607827a576
-rw-r--r-- | Android.bp | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -14,6 +14,36 @@ // limitations under the License. // +package { + default_applicable_licenses: ["external_libdivsufsort_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_libdivsufsort_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-MIT", + ], + license_text: [ + "LICENSE", + ], +} + cc_defaults { name: "libdivsufsort_defaults", host_supported: true, |