diff options
author | Bob Badour <bbadour@google.com> | 2021-02-19 00:58:31 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-19 00:58:31 +0000 |
commit | ebcc68b19c009ba64bf5fdea9d6126117dbb926f (patch) | |
tree | 855afe3ae24084a47657a09047c94edde91262e6 | |
parent | 5a184b6ced9e9177ecada9a6453480dfd4a9bc26 (diff) | |
parent | 6ec4a0cdb1d4158660e588cc450df87061660071 (diff) | |
download | tests-ebcc68b19c009ba64bf5fdea9d6126117dbb926f.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to kernel/tests am: 6ec4a0cdb1
Original change: https://android-review.googlesource.com/c/kernel/tests/+/1588395
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I42910758c6a1261e585cb3063225c8f3cb489896
-rw-r--r-- | Android.bp | 28 | ||||
-rw-r--r-- | devicetree/early_mount/Android.bp | 9 | ||||
-rw-r--r-- | net/test/Android.bp | 10 |
3 files changed, 47 insertions, 0 deletions
@@ -1,3 +1,31 @@ +package { + default_applicable_licenses: ["kernel_tests_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: "kernel_tests_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-OpenSSL", + ], + // large-scale-change unable to identify any license_text files +} + python_defaults { name: "kernel_tests_defaults", version: { diff --git a/devicetree/early_mount/Android.bp b/devicetree/early_mount/Android.bp index 63131c6..6c60e91 100644 --- a/devicetree/early_mount/Android.bp +++ b/devicetree/early_mount/Android.bp @@ -12,6 +12,15 @@ // See the License for the specific language governing permissions and // limitations under the License. +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "kernel_tests_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["kernel_tests_license"], +} + python_test { name: "dt_early_mount_test", srcs: [ diff --git a/net/test/Android.bp b/net/test/Android.bp index 6c4a75f..2ecef87 100644 --- a/net/test/Android.bp +++ b/net/test/Android.bp @@ -1,3 +1,13 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "kernel_tests_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + // SPDX-license-identifier-OpenSSL + default_applicable_licenses: ["kernel_tests_license"], +} + python_defaults { name: "kernel_net_tests_defaults", srcs: [ |