1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17

build / linux / unbundle / swiftshader-SPIRV-Headers.gn [blame]

import("//build/shim_headers.gni")

shim_headers("SPIRV-Headers_shim") {
  root_path = "../../../../third_party/SPIRV-Headers/include"
  headers = [
    "spirv/unified1/GLSL.std.450.h",
    "spirv/unified1/NonSemanticClspvReflection.h",
    "spirv/unified1/NonSemanticDebugPrintf.h",
    "spirv/unified1/OpenCL.std.h",
    "spirv/unified1/spirv.h",
    "spirv/unified1/spirv.hpp",
  ]
}

source_set("spv_headers") {
  deps = [ ":SPIRV-Headers_shim" ]
}