diff options
author | Bob Badour <bbadour@google.com> | 2021-02-12 15:19:28 -0800 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-02-12 15:19:28 -0800 |
commit | a9989f4060075392e7750c04cb9faab7d72af19e (patch) | |
tree | 4eb0655273eaa2e6a26d41de780d966c5123c9b5 | |
parent | f2eea96cadabdc7128a8e598b9f382835efc371f (diff) | |
download | fat32lib-a9989f4060075392e7750c04cb9faab7d72af19e.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to tools/external/fat32lib
Added SPDX-license-identifier-LGPL SPDX-license-identifier-LGPL-2.1
SPDX-license-identifier-LGPL-3.0
to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I4ca495b14dccc2a0354c7a6b27d71f5957928a42
-rw-r--r-- | Android.bp | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -13,6 +13,37 @@ // limitations under the License. // Build a host-side library +package { + default_applicable_licenses: ["tools_external_fat32lib_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: "tools_external_fat32lib_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-LGPL", + "SPDX-license-identifier-LGPL-2.1", + "SPDX-license-identifier-LGPL-3.0", + ], + license_text: [ + "NOTICE", + ], +} + java_library_host { name: "fat32lib", srcs: ["src/main/java/**/*.java"], |