diff options
author | Bob Badour <bbadour@google.com> | 2021-02-17 19:41:32 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-17 19:41:32 +0000 |
commit | 3ed6823af6c468621f16ef729beda41705a82ac8 (patch) | |
tree | 6702e722773c4faecc6c4d7d35481429ecd1f797 | |
parent | 034d22c1cfed93c8142b68f0db86299fbb9613c4 (diff) | |
parent | 8612b8937d1dde47f0078918ccda945310a65bdc (diff) | |
download | google-java-format-3ed6823af6c468621f16ef729beda41705a82ac8.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/google-java-format am: 979b4da1fb am: a221d169c2 am: f84a9c40b0 am: 8612b8937d
Original change: https://android-review.googlesource.com/c/platform/external/google-java-format/+/1588859
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id07dc591ba90e5ff4b4dc951276cae5c8eddd89e
-rw-r--r-- | Android.bp | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -1,3 +1,35 @@ +package { + default_applicable_licenses: ["external_google-java-format_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_google-java-format_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-MIT", + "SPDX-license-identifier-NCSA", + ], + license_text: [ + "LICENSE", + ], +} + java_library_host { name: "google_java_format_android_annotation_stubs", srcs: ["android-annotation-stubs/src/**/*.java"], |