diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-02-17 03:17:29 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-02-17 03:17:29 +0000 |
commit | fc12b9cc42c8467eed99b707862c608661db4f58 (patch) | |
tree | fdc7e326e6ac99b2dfdeec1f0b61859756ffe3b6 | |
parent | 557f3408440dee541ca0ff98050ac1ced8e42385 (diff) | |
parent | 8d339783a98fa78a7249822500dc392fef282eff (diff) | |
download | testng-android12-d1-s2-release.tar.gz |
Snap for 7149879 from 8d339783a98fa78a7249822500dc392fef282eff to sc-d1-releaseandroid-12.0.0_r7android-12.0.0_r6android-12.0.0_r5android-12.0.0_r4android-12.0.0_r15android-12.0.0_r14android-12.0.0_r13android-12.0.0_r12android12-d1-s6-releaseandroid12-d1-s5-releaseandroid12-d1-s4-releaseandroid12-d1-s3-releaseandroid12-d1-s2-releaseandroid12-d1-s1-releaseandroid12-d1-release
Change-Id: I95c7651b996869e19654acd05b444ebcb8354257
-rw-r--r-- | Android.bp | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -26,6 +26,42 @@ // by whichever app/library is also including testng. // These files don't exist in the source tree, they need to be generated during the build. +package { + default_applicable_licenses: ["external_testng_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. +// +// large-scale-change included anything that looked like it might be a license +// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. +// +// Please consider removing redundant or irrelevant files from 'license_text:'. +// See: http://go/android-license-faq +license { + name: "external_testng_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-CPL-1.0", + ], + license_text: [ + "LICENSE.txt", + "NOTICE", + ], +} + genrule { name: "testng-generated-srcs", tool_files: [ |