aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 16:36:32 -0800
committerBob Badour <bbadour@google.com>2021-02-17 12:45:57 -0800
commite35a5a3ca5dd90b4893522e4b1b64a8afb324f54 (patch)
tree2847cb8e0efbec7946a8341b6999c7585cb0a22c
parent75fbb93318adda610f52faa3ac9066498d4ceba3 (diff)
downloadamber-e35a5a3ca5dd90b4893522e4b1b64a8afb324f54.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/deqp-deps/amber
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I54cce2d5d4c4561956175221301b90a63aa80104 Merged-in: I54cce2d5d4c4561956175221301b90a63aa80104
-rw-r--r--Android.bp29
1 files changed, 29 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index fa6af19..57fba55 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,32 @@
+package {
+ default_applicable_licenses: ["external_deqp-deps_amber_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_amber_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
genrule {
name: "deqp_amber_gen_vk_wrappers",