1// 2// Copyright (C) 2020 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_applicable_licenses: [ 19 "external_swiftshader_third_party_SPIRV-Headers_license", 20 ], 21} 22 23// Added automatically by a large-scale-change that took the approach of 24// 'apply every license found to every target'. While this makes sure we respect 25// every license restriction, it may not be entirely correct. 26// 27// e.g. GPL in an MIT project might only apply to the contrib/ directory. 28// 29// Please consider splitting the single license below into multiple licenses, 30// taking care not to lose any license_kind information, and overriding the 31// default license using the 'licenses: [...]' property on targets as needed. 32// 33// For unused files, consider creating a 'filegroup' with "//visibility:private" 34// to attach the license to, and including a comment whether the files may be 35// used in the current project. 36// http://go/android-license-faq 37license { 38 name: "external_swiftshader_third_party_SPIRV-Headers_license", 39 visibility: [":__subpackages__"], 40 license_kinds: [ 41 "SPDX-license-identifier-MIT", 42 "legacy_unencumbered", 43 ], 44 license_text: [ 45 "LICENSE", 46 ], 47} 48 49filegroup { 50 name: "swiftshader_spirv_headers_unified1_spirv.core.grammar.json", 51 srcs: ["include/spirv/unified1/spirv.core.grammar.json"], 52} 53 54filegroup { 55 name: "swiftshader_spirv_headers_unified1_extinst.opencl.std.100.grammar.json", 56 srcs: ["include/spirv/unified1/extinst.opencl.std.100.grammar.json"], 57} 58 59filegroup { 60 name: "swiftshader_spirv_headers_unified1_extinst.glsl.std.450.grammar.json", 61 srcs: ["include/spirv/unified1/extinst.glsl.std.450.grammar.json"], 62} 63 64filegroup { 65 name: "swiftshader_spirv_headers_unified1_extinst.debuginfo.grammar.json", 66 srcs: ["include/spirv/unified1/extinst.debuginfo.grammar.json"], 67} 68 69filegroup { 70 name: "swiftshader_spirv_headers_unified1_extinst.opencl.debuginfo.100.grammar.json", 71 srcs: ["include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json"], 72} 73 74filegroup { 75 name: "swiftshader_spirv_headers_unified1_extinst.spv-amd-gcn-shader.grammar.json", 76 srcs: ["include/spirv/unified1/extinst.spv-amd-gcn-shader.grammar.json"], 77} 78 79filegroup { 80 name: "swiftshader_spirv_headers_unified1_extinst.spv-amd-shader-ballot.grammar.json", 81 srcs: ["include/spirv/unified1/extinst.spv-amd-shader-ballot.grammar.json"], 82} 83 84filegroup { 85 name: "swiftshader_spirv_headers_unified1_extinst.spv-amd-shader-explicit-vertex-parameter.grammar.json", 86 srcs: ["include/spirv/unified1/extinst.spv-amd-shader-explicit-vertex-parameter.grammar.json"], 87} 88 89filegroup { 90 name: "swiftshader_spirv_headers_unified1_extinst.spv-amd-shader-trinary-minmax.grammar.json", 91 srcs: ["include/spirv/unified1/extinst.spv-amd-shader-trinary-minmax.grammar.json"], 92} 93 94filegroup { 95 name: "swiftshader_spirv_headers_unified1_extinst.nonsemantic.clspvreflection.grammar.json", 96 srcs: ["include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json"], 97} 98 99filegroup { 100 name: "swiftshader_spirv_headers_spir-v.xml", 101 srcs: ["include/spirv/spir-v.xml"], 102} 103