Remove obsolete "link_pool" code from GN's ninja writer.
The default "link_pool" was removed when code was refactored to use
explicit pool, but this code was forgotten. It is now dead, removing.
BUG=612786
Review-Url: https://codereview.chromium.org/2240673003
Cr-Original-Commit-Position: refs/heads/master@{#411735}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7d1c95f62081964bdfbce57f05ec226918a2d940
diff --git a/tools/gn/ninja_toolchain_writer.cc b/tools/gn/ninja_toolchain_writer.cc
index 27e2e0c..a48a8b9 100644
--- a/tools/gn/ninja_toolchain_writer.cc
+++ b/tools/gn/ninja_toolchain_writer.cc
@@ -110,12 +110,6 @@
std::string pool_name =
tool->pool().ptr->GetNinjaName(settings_->default_toolchain_label());
out_ << kIndent << "pool = " << pool_name << std::endl;
- } else if (type == Toolchain::TYPE_SOLINK ||
- type == Toolchain::TYPE_SOLINK_MODULE ||
- type == Toolchain::TYPE_LINK) {
- // The link pool applies to linker tools. Don't count TYPE_ALINK since
- // static libraries are not generally intensive to write.
- out_ << kIndent << "pool = link_pool\n";
}
if (tool->restat())