Index: tools/gn/function_toolchain.cc |
diff --git a/tools/gn/function_toolchain.cc b/tools/gn/function_toolchain.cc |
index 85163c173a5c0607ce44f2bb323e4e0b86402b85..2db6474aebdb4bf600af6639461e8dcd9ec2bb76 100644 |
--- a/tools/gn/function_toolchain.cc |
+++ b/tools/gn/function_toolchain.cc |
@@ -311,6 +311,7 @@ Value RunToolchain(Scope* scope, |
const Value* deps_value = block_scope.GetValue(variables::kDeps, true); |
if (deps_value) { |
ExtractListOfLabels( |
+ scope->settings()->build_settings(), |
*deps_value, block_scope.GetSourceDir(), |
ToolchainLabelForScope(&block_scope), &toolchain->deps(), err); |
if (err->has_error()) |