Commit 360ba059 by Ben Clayton

Attempt to fix chromium builds

It would seem that `glslang_sources` has a private dependency on `glslang_build_info`, so `glslang_validator` cannot transitively `#include` the generated `glslang/build_info.h` header. Add `glslang_build_info` as a direct dependency to `glslang_validator`. Also remove the duplicate dependency on `glslang_build_info` in `glslang_sources_common` Note: This is a speculative fix as I can build Chromium fine without these changes. Not sure what's different between these configs.
parent 02039760
......@@ -242,7 +242,6 @@ template("glslang_sources_common") {
if (invoker.enable_opt) {
deps += [
":glslang_build_info",
"${spirv_tools_dir}:spvtools_opt",
"${spirv_tools_dir}:spvtools_val",
]
......@@ -289,6 +288,7 @@ executable("glslang_validator") {
deps = [
":glslang_default_resource_limits_sources",
":glslang_sources",
":glslang_build_info",
]
public_configs = [ ":glslang_hlsl" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment