aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-25 15:03:43 -0800
committerBob Badour <bbadour@google.com>2021-02-25 15:03:43 -0800
commitab735f06f716da51fdd1b7e91af25d4737945ced (patch)
treeccceda236e9794302ab1959acf948a732de3eaf8
parent9f3f14ee1bc1f3fb211e42ef32c3dd4bbf630181 (diff)
downloadSPIRV-Tools-ab735f06f716da51fdd1b7e91af25d4737945ced.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/deqp-deps/SPIRV-Tools
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-MIT to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ic763bb4f628aa2907c459b4ddcdedab974f840ea
-rw-r--r--Android.bp31
1 files changed, 31 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index c50518cd..ef10e4e7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,35 @@
+package {
+ default_applicable_licenses: ["external_deqp-deps_SPIRV-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_deqp-deps_SPIRV-Tools_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
genrule {
name: "deqp_spvtools_generate_grammar_tables",
out: [