diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-02-17 03:14:21 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-02-17 03:14:21 +0000 |
commit | f1831ec6e97bf09ae7de267851a372b16cf92471 (patch) | |
tree | a9b202b5b6992426c1505701ae6dd7c2bcec14b8 | |
parent | 2d6c831da0d728041116931dff6288f66480ae62 (diff) | |
parent | c34d4375c04ebda3c40402581518deae34c805e8 (diff) | |
download | crcalc-android12L-s1-release.tar.gz |
Snap for 7149879 from c34d4375c04ebda3c40402581518deae34c805e8 to sc-v2-releaseandroid-vts-12.1_r9android-vts-12.1_r8android-vts-12.1_r7android-vts-12.1_r6android-vts-12.1_r5android-vts-12.1_r4android-vts-12.1_r3android-vts-12.1_r2android-vts-12.1_r10android-vts-12.1_r1android-platform-12.1.0_r9android-platform-12.1.0_r8android-platform-12.1.0_r7android-platform-12.1.0_r6android-platform-12.1.0_r5android-platform-12.1.0_r4android-platform-12.1.0_r3android-platform-12.1.0_r27android-platform-12.1.0_r26android-platform-12.1.0_r25android-platform-12.1.0_r24android-platform-12.1.0_r23android-platform-12.1.0_r22android-platform-12.1.0_r21android-platform-12.1.0_r20android-platform-12.1.0_r2android-platform-12.1.0_r19android-platform-12.1.0_r18android-platform-12.1.0_r17android-platform-12.1.0_r16android-platform-12.1.0_r15android-platform-12.1.0_r14android-platform-12.1.0_r13android-platform-12.1.0_r12android-platform-12.1.0_r11android-platform-12.1.0_r10android-platform-12.1.0_r1android-cts-12.1_r9android-cts-12.1_r8android-cts-12.1_r7android-cts-12.1_r6android-cts-12.1_r5android-cts-12.1_r4android-cts-12.1_r3android-cts-12.1_r2android-cts-12.1_r10android-cts-12.1_r1android-12.1.0_r6android-12.1.0_r5android-12.1.0_r4android-12.1.0_r3android-12.1.0_r27android-12.1.0_r2android-12.1.0_r1android12L-tests-releaseandroid12L-s1-releaseandroid12L-releaseandroid12L-platform-releaseandroid12L-gsi
Change-Id: Iaba10caf381b4340548faded6398e1111c045f77
-rw-r--r-- | Android.bp | 36 | ||||
-rw-r--r-- | tests/Android.bp | 9 |
2 files changed, 45 insertions, 0 deletions
@@ -16,6 +16,42 @@ // build the client library //------------------------------- +package { + default_applicable_licenses: ["external_crcalc_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_crcalc_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "legacy_notice", + ], + license_text: [ + "COPYRIGHT.txt", + "LICENSE", + ], +} + java_library { name: "cr", diff --git a/tests/Android.bp b/tests/Android.bp index c8e308c..2dee7dc 100644 --- a/tests/Android.bp +++ b/tests/Android.bp @@ -16,6 +16,15 @@ // build the test apk //------------------------------- +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "external_crcalc_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["external_crcalc_license"], +} + android_test { name: "CRTests", sdk_version: "19", |