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