projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8775c4d
)
Pull graph.cc too
author
Robert Iannucci
<robbie@rail.com>
Mon, 1 Oct 2012 20:58:30 +0000
(13:58 -0700)
committer
Robert A Iannucci Jr
<iannucci@chromium.org>
Fri, 9 Nov 2012 04:25:39 +0000
(20:25 -0800)
src/graph.cc
patch
|
blob
|
history
diff --git
a/src/graph.cc
b/src/graph.cc
index
25b5baf
..
3550d48
100644
(file)
--- a/
src/graph.cc
+++ b/
src/graph.cc
@@
-316,7
+316,8
@@
bool DependencyScan::LoadDepFile(Edge* edge, string* err) {
// create one; this makes us not abort if the input is missing,
// but instead will rebuild in that circumstance.
if (!node->in_edge()) {
- Edge* phony_edge = state_->AddEdge(&State::kPhonyRule);
+ Edge* phony_edge = state_->AddEdge(&State::kPhonyRule,
+ &State::kDefaultPool);
node->set_in_edge(phony_edge);
phony_edge->outputs_.push_back(node);