Skip to content

Commit

Permalink
Make sure glslang_angle has a definition in BUILD.gn
Browse files Browse the repository at this point in the history
Set the value to false if the environment doesn't declare this variable.
  • Loading branch information
zoddicus committed Jul 7, 2020
1 parent e8c9fd6 commit eab46cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [ "." ]
Expand Down

0 comments on commit eab46cf

Please sign in to comment.