diff options
author | Bob Badour <bbadour@google.com> | 2021-02-12 14:46:49 -0800 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-02-17 12:47:15 -0800 |
commit | 352845509b12340e1a878ea759d1ff72ca9dbc60 (patch) | |
tree | 8c00badd2dd3c416fa1edffd7067ffd6c423383f | |
parent | 3a7146f7123997e887f8f34ce4cb261e38bbddfc (diff) | |
download | SPIRV-Tools-352845509b12340e1a878ea759d1ff72ca9dbc60.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: I28cbe6e1fbb94e0baa373be4a70436ff17d7dbfa
Merged-in: I28cbe6e1fbb94e0baa373be4a70436ff17d7dbfa
-rw-r--r-- | Android.bp | 38 |
1 files changed, 38 insertions, 0 deletions
@@ -1,3 +1,41 @@ +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", + ], +} + + +// genrules were obtained from the CMake build: +// $ cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Debug +// $ ninja -v -j 1 >log.log +// Find Python invocations. +// Use regex replacements to get "cmd:" lines below. genrule { name: "deqp_spvtools_generate_grammar_tables", |