Fix build error with Chromium & ANGLE (#2446)
authorCourtney Goeltzenleuchter <courtneygo@google.com>
Tue, 3 Nov 2020 04:22:55 +0000 (21:22 -0700)
committerGitHub <noreply@github.com>
Tue, 3 Nov 2020 04:22:55 +0000 (21:22 -0700)
Getting error about undefined symbol (include_dir) at line 320.
Was trying to append to a non-existant variable.

Bug #2445

BUILD.gn

index a23ff96..973ca98 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -317,7 +317,7 @@ executable("spirv-remap") {
   defines = [ "ENABLE_OPT=1" ]
   deps = [ ":glslang_sources" ]
 
-  include_dirs += [ "${spirv_tools_dir}/include" ]
+  include_dirs = [ "${spirv_tools_dir}/include" ]
 
   configs -= _configs_to_remove
   configs += _configs_to_add