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

Unified Diff: tools/gn/action_values.h

Issue 1358803002: Add ninja console pool support to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update action/action_foreach doc Created 5 years, 3 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/action_target_generator.cc ('k') | tools/gn/action_values.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/action_values.h
diff --git a/tools/gn/action_values.h b/tools/gn/action_values.h
index b20d65c4a2ea94004bc437bfbb5ec76f5049ed06..3b3c2a62197f559dd0b52bef4378ea347cdb7dd9 100644
--- a/tools/gn/action_values.h
+++ b/tools/gn/action_values.h
@@ -43,11 +43,16 @@ class ActionValues {
bool has_depfile() const { return !depfile_.ranges().empty(); }
void set_depfile(const SubstitutionPattern& depfile) { depfile_ = depfile; }
+ // Console pool option
+ bool is_console() const { return console_; }
+ void set_console(bool value) { console_ = value; }
+
private:
SourceFile script_;
SubstitutionList args_;
SubstitutionList outputs_;
SubstitutionPattern depfile_;
+ bool console_;
DISALLOW_COPY_AND_ASSIGN(ActionValues);
};
« no previous file with comments | « tools/gn/action_target_generator.cc ('k') | tools/gn/action_values.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698