aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-16 18:48:28 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-16 18:48:28 +0000
commitada5bcbf9f4d66edbcd34d2ef393fc2ecfd0e2f8 (patch)
treee946ce3f3ac1e2ab96c67800a9fcdf09e622a173
parent082f381f35389e623a807dc327781e70004ca666 (diff)
parent2c7475185e3e0fb4db15e18e41fa1f0e51006494 (diff)
downloadSPIRV-Headers-ada5bcbf9f4d66edbcd34d2ef393fc2ecfd0e2f8.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/deqp-deps/SPIRV-Headers am: a56b319717 am: 2c7475185e
Original change: https://android-review.googlesource.com/c/platform/external/deqp-deps/SPIRV-Headers/+/1588944 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I5fed52d8b409ea3ec9d19c3d5bac6b755dc1ae6c
-rw-r--r--Android.bp31
1 files changed, 31 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 60f5a07..b0e7172 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,35 @@
+package {
+ default_applicable_licenses: ["external_deqp-deps_SPIRV-Headers_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_deqp-deps_SPIRV-Headers_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-MIT",
+ "legacy_unencumbered",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
filegroup {
name: "deqp_spirv_headers_unified1_spirv.core.grammar.json",
srcs: ["include/spirv/unified1/spirv.core.grammar.json"],