Index: tools/gn/pool.cc |
diff --git a/tools/gn/pool.cc b/tools/gn/pool.cc |
index 75a7504e06c548a6d7546c67c532970b0bd56e39..b1bb490417d4416d0bdb8093075bcb3ee491f321 100644 |
--- a/tools/gn/pool.cc |
+++ b/tools/gn/pool.cc |
@@ -25,6 +25,9 @@ std::string Pool::GetNinjaName(const Label& default_toolchain) const { |
} |
std::string Pool::GetNinjaName(bool include_toolchain) const { |
+ if (console_) |
+ return "console"; |
+ |
std::ostringstream buffer; |
if (include_toolchain) { |
DCHECK(label().toolchain_dir().is_source_absolute()); |