Index: tools/gn/function_exec_script.cc |
diff --git a/tools/gn/function_exec_script.cc b/tools/gn/function_exec_script.cc |
index bf55165ea4f975f7e2e1c5b0887917d89b4b7fae..b3825751054048c30c39bed35aae2fa8981b18b3 100644 |
--- a/tools/gn/function_exec_script.cc |
+++ b/tools/gn/function_exec_script.cc |
@@ -301,7 +301,7 @@ Value RunExecScript(Scope* scope, |
} |
ScopedTrace trace(TraceItem::TRACE_SCRIPT_EXECUTE, script_source.value()); |
- trace.SetToolchain(settings->toolchain()->label()); |
+ trace.SetToolchain(settings->toolchain_label()); |
// Add all dependencies of this script, including the script itself, to the |
// build deps. |