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:
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
|
spirv_tools_dir = glslang_spirv_tools_dir
|
||||||
|
if (!defined(glslang_angle)) {
|
||||||
|
glslang_angle = false
|
||||||
|
}
|
||||||
|
|
||||||
config("glslang_public") {
|
config("glslang_public") {
|
||||||
include_dirs = [ "." ]
|
include_dirs = [ "." ]
|
||||||
|
|||||||
Reference in New Issue
Block a user