diff options
author | Bob Badour <bbadour@google.com> | 2021-02-17 20:30:55 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-17 20:30:55 +0000 |
commit | f63a585f9d0123cffb078add1e64e2970dc86b9a (patch) | |
tree | 90b2363e73cdadae0dbdfc89a6a9a4fbc7d7c775 | |
parent | d476b365a211fdcd72354f99ab4de565301300f1 (diff) | |
parent | 220cc312538874a582dd473938da9967c6331609 (diff) | |
download | doclava-f63a585f9d0123cffb078add1e64e2970dc86b9a.tar.gz |
Merge "[LSC] Add LOCAL_LICENSE_KINDS to external/doclava" am: c6a2f85b20 am: 7e3641a9cf am: ea5f6c5152 am: 220cc31253
Original change: https://android-review.googlesource.com/c/platform/external/doclava/+/1588875
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie56e154c5eb95f365ce9e8335942e42afec4b9b1
-rw-r--r-- | Android.bp | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -12,6 +12,41 @@ // See the License for the specific language governing permissions and // limitations under the License. +package { + default_applicable_licenses: ["external_doclava_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_doclava_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-CC-BY", + "SPDX-license-identifier-GPL", + "SPDX-license-identifier-GPL-2.0", + "SPDX-license-identifier-LGPL", + "SPDX-license-identifier-MIT", + ], + license_text: [ + "NOTICE", + ], +} + droiddoc_exported_dir { name: "droiddoc-templates-sdk", path: "res/assets/templates-sdk", |