Make sure glslang_angle has a definition in BUILD.gn
Set the value to false if the environment doesn't declare this variable.
This commit is contained in:
parent
e8c9fd602f
commit
eab46cfdd6
1 changed files with 3 additions and 0 deletions
3
BUILD.gn
3
BUILD.gn
|
|
@ -47,6 +47,9 @@ if (defined(is_fuchsia_tree) && is_fuchsia_tree) {
|
|||
}
|
||||
|
||||
spirv_tools_dir = glslang_spirv_tools_dir
|
||||
if (!defined(glslang_angle)) {
|
||||
glslang_angle = false
|
||||
}
|
||||
|
||||
config("glslang_public") {
|
||||
include_dirs = [ "." ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue