xref: /aosp_15_r20/external/angle/third_party/spirv-headers/src/BUILD.gn (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1*8975f5c5SAndroid Build Coastguard Worker# Copyright (c) 2020-2024 Google LLC
2*8975f5c5SAndroid Build Coastguard Worker#
3*8975f5c5SAndroid Build Coastguard Worker# Permission is hereby granted, free of charge, to any person obtaining a copy
4*8975f5c5SAndroid Build Coastguard Worker# of this software and/or associated documentation files (the "Materials"),
5*8975f5c5SAndroid Build Coastguard Worker# to deal in the Materials without restriction, including without limitation
6*8975f5c5SAndroid Build Coastguard Worker# the rights to use, copy, modify, merge, publish, distribute, sublicense,
7*8975f5c5SAndroid Build Coastguard Worker# and/or sell copies of the Materials, and to permit persons to whom the
8*8975f5c5SAndroid Build Coastguard Worker# Materials are furnished to do so, subject to the following conditions:
9*8975f5c5SAndroid Build Coastguard Worker#
10*8975f5c5SAndroid Build Coastguard Worker# The above copyright notice and this permission notice shall be included in
11*8975f5c5SAndroid Build Coastguard Worker# all copies or substantial portions of the Materials.
12*8975f5c5SAndroid Build Coastguard Worker#
13*8975f5c5SAndroid Build Coastguard Worker# MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
14*8975f5c5SAndroid Build Coastguard Worker# STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
15*8975f5c5SAndroid Build Coastguard Worker# HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
16*8975f5c5SAndroid Build Coastguard Worker#
17*8975f5c5SAndroid Build Coastguard Worker# THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18*8975f5c5SAndroid Build Coastguard Worker# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19*8975f5c5SAndroid Build Coastguard Worker# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20*8975f5c5SAndroid Build Coastguard Worker# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21*8975f5c5SAndroid Build Coastguard Worker# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22*8975f5c5SAndroid Build Coastguard Worker# FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
23*8975f5c5SAndroid Build Coastguard Worker# IN THE MATERIALS.
24*8975f5c5SAndroid Build Coastguard Worker
25*8975f5c5SAndroid Build Coastguard Workerconfig("spv_headers_public_config") {
26*8975f5c5SAndroid Build Coastguard Worker  include_dirs = [ "include" ]
27*8975f5c5SAndroid Build Coastguard Worker}
28*8975f5c5SAndroid Build Coastguard Worker
29*8975f5c5SAndroid Build Coastguard Workersource_set("spv_headers") {
30*8975f5c5SAndroid Build Coastguard Worker  sources = [
31*8975f5c5SAndroid Build Coastguard Worker    "include/spirv/1.2/GLSL.std.450.h",
32*8975f5c5SAndroid Build Coastguard Worker    "include/spirv/1.2/OpenCL.std.h",
33*8975f5c5SAndroid Build Coastguard Worker    "include/spirv/1.2/spirv.h",
34*8975f5c5SAndroid Build Coastguard Worker    "include/spirv/1.2/spirv.hpp",
35*8975f5c5SAndroid Build Coastguard Worker    "include/spirv/unified1/GLSL.std.450.h",
36*8975f5c5SAndroid Build Coastguard Worker    "include/spirv/unified1/NonSemanticClspvReflection.h",
37*8975f5c5SAndroid Build Coastguard Worker    "include/spirv/unified1/NonSemanticDebugPrintf.h",
38*8975f5c5SAndroid Build Coastguard Worker    "include/spirv/unified1/NonSemanticVkspReflection.h",
39*8975f5c5SAndroid Build Coastguard Worker    "include/spirv/unified1/OpenCL.std.h",
40*8975f5c5SAndroid Build Coastguard Worker    "include/spirv/unified1/spirv.h",
41*8975f5c5SAndroid Build Coastguard Worker    "include/spirv/unified1/spirv.hpp",
42*8975f5c5SAndroid Build Coastguard Worker  ]
43*8975f5c5SAndroid Build Coastguard Worker
44*8975f5c5SAndroid Build Coastguard Worker  public_configs = [ ":spv_headers_public_config" ]
45*8975f5c5SAndroid Build Coastguard Worker}
46