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:
Ryan Harrison 2020-07-07 11:45:02 -04:00
parent e8c9fd602f
commit eab46cfdd6

View File

@ -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 = [ "." ]