| 1 |
# Copyright (c) 2020 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 |
|
| 25 |
config("spv_headers_public_config") { |
| 26 |
include_dirs = [ "include" ] |
| 27 |
} |
| 28 |
|
| 29 |
source_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/OpenCL.std.h", |
| 39 |
"include/spirv/unified1/spirv.h", |
| 40 |
"include/spirv/unified1/spirv.hpp", |
| 41 |
] |
| 42 |
|
| 43 |
public_configs = [ ":spv_headers_public_config" ] |
| 44 |
} |