diff options
author | Bob Badour <bbadour@google.com> | 2021-02-12 18:20:20 -0800 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-02-12 18:20:20 -0800 |
commit | 0351203a02a03564efdfd7e105e6f3b0ace5dc85 (patch) | |
tree | 87767b72e2d7897124dd22d55ab4d7da96a04af2 /Android.bp | |
parent | 3bac8fd9b3f12c1c59fd804a20e0f675facfa5ae (diff) | |
download | robolectric-shadows-0351203a02a03564efdfd7e105e6f3b0ace5dc85.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/robolectric-shadows
Added SPDX-license-identifier-Apache-2.0 to:
resources/Android.bp
resources/Android.mk
robolectric/Android.bp
robolectric/Android.mk
sandbox/Android.bp
sandbox/Android.mk
shadowapi/Android.bp
shadowapi/Android.mk
shadows/framework/Android.bp
shadows/httpclient/Android.bp
shadows/httpclient/Android.mk
soong/Android.bp
utils/Android.bp
utils/Android.mk
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to:
Android.bp
processor/Android.bp
processor/Android.mk
Added SPDX-license-identifier-MIT to:
annotations/Android.bp
junit/Android.bp
shadows/androidx/fragment/Android.bp
shadows/androidx/fragment/Android.mk
shadows/multidex/Android.bp
shadows/playservices/Android.bp
shadows/supportv4/Android.bp
shadows/supportv4/Android.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: If7b0881cb963256e2d2b383e734b14394029567a
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index f1dda073e..0fa45fc65 100644 --- a/Android.bp +++ b/Android.bp @@ -14,6 +14,33 @@ package { default_visibility: [":__subpackages__"], + default_applicable_licenses: ["external_robolectric-shadows_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_robolectric-shadows_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-MIT", + ], + license_text: [ + "LICENSE", + ], } // Empty library. Should be removed |