diff options
author | Bob Badour <bbadour@google.com> | 2021-02-17 18:11:20 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-17 18:11:20 +0000 |
commit | e99cd60a349f9a0830d4ded68f52ace16f27a353 (patch) | |
tree | 8ddda93848e988d7db8515e7cf22377b2576e2d4 | |
parent | 02c953fe414a7d8445ad056bc0311d397b36dff0 (diff) | |
parent | 7950572e08b84400007a0905fdab11ea8bcf91f8 (diff) | |
download | igt-gpu-tools-e99cd60a349f9a0830d4ded68f52ace16f27a353.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/igt-gpu-tools am: 77886faa51 am: b6bee3d6bd am: 8d3b9138fb am: 7950572e08
Original change: https://android-review.googlesource.com/c/platform/external/igt-gpu-tools/+/1588586
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I790f24ae8ffec9bf70cce693e15717413bc39871
-rw-r--r-- | Android.bp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index 42916668b..f11c4e7f9 100644 --- a/Android.bp +++ b/Android.bp @@ -1,3 +1,37 @@ +package { + default_applicable_licenses: ["external_igt-gpu-tools_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_igt-gpu-tools_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-GPL", + "SPDX-license-identifier-GPL-2.0", + "SPDX-license-identifier-ISC", + "SPDX-license-identifier-LGPL", + "SPDX-license-identifier-MIT", + ], + license_text: [ + "COPYING", + ], +} + cc_defaults { name: "igt-gpu-tools-defaults", cflags: [ |