Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: tools/gn/pool.cc

Issue 2926013002: Support explicit pools in actions (Closed)
Patch Set: Remove console altogether Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/pool.h ('k') | tools/gn/toolchain.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « tools/gn/pool.h ('k') | tools/gn/toolchain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698