diff options
author | Bob Badour <bbadour@google.com> | 2021-03-31 12:46:09 -0700 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-03-31 12:46:09 -0700 |
commit | 9dbf0d04f77325b655fe88f04e25ce85292b9bf8 (patch) | |
tree | 8abbab950346d8c319bc0847b328140cc6a64c0b | |
parent | 566ab961b8edd9bd207b85f6f5b326acc30ccf63 (diff) | |
download | beagle-x15-9dbf0d04f77325b655fe88f04e25ce85292b9bf8.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to device/ti/beagle_x15
Added SPDX-license-identifier-Apache-2.0 to:
recovery/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-MIT
to:
Android.bp
gralloc/Android.bp
Added SPDX-license-identifier-BSD SPDX-license-identifier-MIT
to:
gpu/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I6713f4168cf65f270f3fb5d60feb6116c448f671
-rw-r--r-- | Android.bp | 29 | ||||
-rw-r--r-- | MODULE_LICENSE_APACHE2 | 0 | ||||
-rw-r--r-- | MODULE_LICENSE_BSD | 0 | ||||
-rw-r--r-- | MODULE_LICENSE_MIT | 0 | ||||
-rw-r--r-- | gpu/Android.bp | 30 | ||||
-rw-r--r-- | gralloc/Android.bp | 11 | ||||
-rw-r--r-- | recovery/Android.bp | 9 |
7 files changed, 79 insertions, 0 deletions
@@ -13,3 +13,32 @@ // limitations under the License. soong_namespace {} + +package { + default_applicable_licenses: ["device_ti_beagle_x15_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: "device_ti_beagle_x15_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-MIT", + ], + // large-scale-change unable to identify any license_text files +} diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/MODULE_LICENSE_APACHE2 diff --git a/MODULE_LICENSE_BSD b/MODULE_LICENSE_BSD new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/MODULE_LICENSE_BSD diff --git a/MODULE_LICENSE_MIT b/MODULE_LICENSE_MIT new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/MODULE_LICENSE_MIT diff --git a/gpu/Android.bp b/gpu/Android.bp index 0d8941e..e9f04a7 100644 --- a/gpu/Android.bp +++ b/gpu/Android.bp @@ -15,6 +15,36 @@ // Core dependencies +package { + default_applicable_licenses: ["device_ti_beagle_x15_gpu_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: "device_ti_beagle_x15_gpu_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-MIT", + ], + license_text: [ + "NOTICE", + ], +} + cc_prebuilt_library_shared { name: "libIMGegl", srcs: ["libIMGegl.so"], diff --git a/gralloc/Android.bp b/gralloc/Android.bp index 30c0402..64cecff 100644 --- a/gralloc/Android.bp +++ b/gralloc/Android.bp @@ -1,3 +1,14 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "device_ti_beagle_x15_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + // SPDX-license-identifier-BSD + // SPDX-license-identifier-MIT + default_applicable_licenses: ["device_ti_beagle_x15_license"], +} + cc_library_shared { name: "hwcomposer.drm_imagination", defaults: ["hwcomposer.drm_defaults"], diff --git a/recovery/Android.bp b/recovery/Android.bp index b2eab67..373445a 100644 --- a/recovery/Android.bp +++ b/recovery/Android.bp @@ -14,6 +14,15 @@ // 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 "device_ti_beagle_x15_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["device_ti_beagle_x15_license"], +} + cc_library_static { name: "librecovery_ui_beagle_x15", owner: "ti", |