Skip to content

Commit eab46cf

Browse files
committed
Make sure glslang_angle has a definition in BUILD.gn
Set the value to false if the environment doesn't declare this variable.
1 parent e8c9fd6 commit eab46cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

BUILD.gn

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ if (defined(is_fuchsia_tree) && is_fuchsia_tree) {
4747
}
4848

4949
spirv_tools_dir = glslang_spirv_tools_dir
50+
if (!defined(glslang_angle)) {
51+
glslang_angle = false
52+
}
5053

5154
config("glslang_public") {
5255
include_dirs = [ "." ]

0 commit comments

Comments
 (0)