From eab46cfdd6ca22b65bf05a9b52371cd8257a9e04 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Tue, 7 Jul 2020 11:45:02 -0400 Subject: [PATCH] Make sure glslang_angle has a definition in BUILD.gn Set the value to false if the environment doesn't declare this variable. --- BUILD.gn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index 46c4b28d0e..474375306b 100644 --- a/BUILD.gn +++ b/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 = [ "." ]