diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-02-21 00:08:15 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-02-21 00:08:15 +0000 |
commit | 5fda9b1cb973e83874d09379f4e04a4011e19c0f (patch) | |
tree | 855afe3ae24084a47657a09047c94edde91262e6 | |
parent | 8bafdf9c79f0804ef987fa19a3b0bb3969f3d603 (diff) | |
parent | e8283b9494adcb06ef71a2d71d76cf41947405d4 (diff) | |
download | tests-5fda9b1cb973e83874d09379f4e04a4011e19c0f.tar.gz |
Snap for 7160059 from e8283b9494adcb06ef71a2d71d76cf41947405d4 to sc-release
Change-Id: Ic69885d84fdbb9e9b29a67a79171e6a91cace71c
-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: [ |