Merge pull request #2331 from ben-clayton/fix-chromium
authorJohn Kessenich <johnkslang@users.noreply.github.com>
Fri, 10 Jul 2020 13:00:11 +0000 (07:00 -0600)
committerGitHub <noreply@github.com>
Fri, 10 Jul 2020 13:00:11 +0000 (07:00 -0600)
Attempt to fix chromium builds

BUILD.gn

index 09a0c71..7242b6f 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -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" ]