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