commit | eab46cfdd6ca22b65bf05a9b52371cd8257a9e04 | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@google.com> | Tue Jul 07 11:45:02 2020 -0400 |
committer | Ryan Harrison <rharrison@google.com> | Tue Jul 07 11:45:02 2020 -0400 |
tree | 12dfb0c9a4a3cc5f80248763739e0dcff25fd8ca | |
parent | e8c9fd602f11d746fa251ef6bf445057a58e5d56 [diff] [blame] |
Make sure glslang_angle has a definition in BUILD.gn Set the value to false if the environment doesn't declare this variable.
diff --git a/BUILD.gn b/BUILD.gn index 46c4b28..4743753 100644 --- a/BUILD.gn +++ b/BUILD.gn
@@ -47,6 +47,9 @@ } spirv_tools_dir = glslang_spirv_tools_dir +if (!defined(glslang_angle)) { + glslang_angle = false +} config("glslang_public") { include_dirs = [ "." ]