1 # Copyright 2018 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 glslang_spirv_tools_dir = "//third_party/vulkan-deps/spirv-tools/src"
7 # Chromium uses glslang for two things:
9 # - ANGLE's Vulkan backend.
10 # - Running WebGPU tests, where glslang is linked to shaderc.
12 # Note that the latter is not shipped to end users. For ANGLE, glslang is tailored to support only
13 # what ANGLE needs. This significantly reduces the binary size of ANGLE as well as glslang's startup
14 # time. This flag makes glslang strip features that are not used by ANGLE.
16 # For WebGPU testing, the complete glslang is linked to shaderc regardless of this flag.