Index: tools/gn/ninja_toolchain_writer.cc |
diff --git a/tools/gn/ninja_toolchain_writer.cc b/tools/gn/ninja_toolchain_writer.cc |
index c22fb2c43527d04cd92d2d71138df06441941be3..1c2cd1c0dd685101619260aa65024dd01dfe61f0 100644 |
--- a/tools/gn/ninja_toolchain_writer.cc |
+++ b/tools/gn/ninja_toolchain_writer.cc |
@@ -109,8 +109,11 @@ void NinjaToolchainWriter::WriteToolRule(const Toolchain::ToolType type, |
// The link pool applies to linker tools. Don't count TYPE_ALINK since |
// static libraries are not generally intensive to write. |
- if (type == Toolchain::TYPE_SOLINK || type == Toolchain::TYPE_LINK) |
+ if (type == Toolchain::TYPE_SOLINK |
+ || type == Toolchain::TYPE_SOLINK_MODULE |
brettw
2015/10/13 23:13:33
|| goes at end-of-line
Bons
2015/10/13 23:30:52
Done.
|
+ || type == Toolchain::TYPE_LINK) { |
out_ << kIndent << "pool = link_pool\n"; |
+ } |
if (tool->restat()) |
out_ << kIndent << "restat = 1" << std::endl; |