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

Unified Diff: tools/gn/pool.h

Issue 2926013002: Support explicit pools in actions (Closed)
Patch Set: 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
Index: tools/gn/pool.h
diff --git a/tools/gn/pool.h b/tools/gn/pool.h
index 81a021db6593706c25862214e999b4853e479ca7..08da33cee444aaa96c4753f7caf394b837de23fe 100644
--- a/tools/gn/pool.h
+++ b/tools/gn/pool.h
@@ -29,6 +29,10 @@ class Pool : public Item {
int64_t depth() const { return depth_; }
void set_depth(int64_t depth) { depth_ = depth; }
+ // Console pool option
+ bool is_console() const { return console_; }
+ void set_console(bool value) { console_ = value; }
+
// The pool name in generated ninja files.
std::string GetNinjaName(const Label& default_toolchain) const;
@@ -36,6 +40,7 @@ class Pool : public Item {
std::string GetNinjaName(bool include_toolchain) const;
int64_t depth_ = 0;
+ bool console_ = false;
};
#endif // TOOLS_GN_POOL_H_

Powered by Google App Engine
This is Rietveld 408576698