| Index: tools/gn/scope_per_file_provider.cc
|
| diff --git a/tools/gn/scope_per_file_provider.cc b/tools/gn/scope_per_file_provider.cc
|
| index 1f4bc259c8c93e00a3243fee4ccc3348eaa6fdcb..c2fdd3eef6cfbc3a5b559bf42af51c702dce5396 100644
|
| --- a/tools/gn/scope_per_file_provider.cc
|
| +++ b/tools/gn/scope_per_file_provider.cc
|
| @@ -7,7 +7,6 @@
|
| #include "tools/gn/filesystem_utils.h"
|
| #include "tools/gn/settings.h"
|
| #include "tools/gn/source_file.h"
|
| -#include "tools/gn/toolchain_manager.h"
|
| #include "tools/gn/value.h"
|
| #include "tools/gn/variables.h"
|
|
|
| @@ -50,10 +49,8 @@ const Value* ScopePerFileProvider::GetCurrentToolchain() {
|
|
|
| const Value* ScopePerFileProvider::GetDefaultToolchain() {
|
| if (!default_toolchain_) {
|
| - const ToolchainManager& toolchain_manager =
|
| - scope_->settings()->build_settings()->toolchain_manager();
|
| default_toolchain_.reset(new Value(NULL,
|
| - toolchain_manager.GetDefaultToolchainUnlocked().GetUserVisibleName(
|
| + scope_->settings()->default_toolchain_label().GetUserVisibleName(
|
| false)));
|
| }
|
| return default_toolchain_.get();
|
|
|