summaryrefslogtreecommitdiffstats
path: root/src/build.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2013-04-09 04:57:45 (GMT)
committerEvan Martin <martine@danga.com>2013-04-09 04:57:45 (GMT)
commit76c8b11b0ad1c62ecdaa45fd553a6ac69c213663 (patch)
treeac8f30ceed2f682eacc1267530c8ac246656922f /src/build.h
parent9f1852fa3c97197e1876f1d47ca45e66b5e6cd28 (diff)
parent5b04aadbb2051a613b4a3fe28e21eb4527f2952f (diff)
downloadNinja-76c8b11b0ad1c62ecdaa45fd553a6ac69c213663.zip
Ninja-76c8b11b0ad1c62ecdaa45fd553a6ac69c213663.tar.gz
Ninja-76c8b11b0ad1c62ecdaa45fd553a6ac69c213663.tar.bz2
Merge pull request #532 from nico/sshhh_gtest
Make test runner less chatty.
Diffstat (limited to 'src/build.h')
-rw-r--r--src/build.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/build.h b/src/build.h
index 5747170..52c277a 100644
--- a/src/build.h
+++ b/src/build.h
@@ -25,6 +25,7 @@
#include "graph.h" // XXX needed for DependencyScan; should rearrange.
#include "exit_status.h"
+#include "line_printer.h"
#include "metrics.h"
#include "util.h" // int64_t
@@ -198,14 +199,12 @@ struct BuildStatus {
int started_edges_, finished_edges_, total_edges_;
- bool have_blank_line_;
-
/// Map of running edge to time the edge started running.
typedef map<Edge*, int> RunningEdgeMap;
RunningEdgeMap running_edges_;
- /// Whether we can do fancy terminal control codes.
- bool smart_terminal_;
+ /// Prints progress output.
+ LinePrinter printer_;
/// The custom progress status format to use.
const char* progress_status_format_;