summaryrefslogtreecommitdiffstats
path: root/src/graph.h
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2012-04-13 23:55:37 (GMT)
committerScott Graham <scottmg@chromium.org>2012-04-13 23:55:37 (GMT)
commit1aae1bc765acf6a21b2fcb088f44bba8f3badec7 (patch)
tree1b6097fa397d37bb8d5725f203dcc4df9e31d866 /src/graph.h
parent16cab01cccf0b3ccadb150cd54f760929b3cc07e (diff)
downloadNinja-1aae1bc765acf6a21b2fcb088f44bba8f3badec7.zip
Ninja-1aae1bc765acf6a21b2fcb088f44bba8f3badec7.tar.gz
Ninja-1aae1bc765acf6a21b2fcb088f44bba8f3badec7.tar.bz2
add support for -d explain to help debug why rules are running
Diffstat (limited to 'src/graph.h')
-rw-r--r--src/graph.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graph.h b/src/graph.h
index aa1bf49..afe4daf 100644
--- a/src/graph.h
+++ b/src/graph.h
@@ -145,7 +145,8 @@ struct Edge {
/// Recompute whether a given single output should be marked dirty.
/// Returns true if so.
bool RecomputeOutputDirty(BuildLog* build_log, TimeStamp most_recent_input,
- const string& command, Node* output);
+ Node* most_recent_node, const string& command,
+ Node* output);
/// Return true if all inputs' in-edges are ready.
bool AllInputsReady() const;