Skip to content

Commit

Permalink
Symmetry: Accept 'foreign' build artifacts without .ninja_log entry
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed May 16, 2023
1 parent f6a0707 commit 9c65f5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/graph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,13 @@ bool DependencyScan::RecomputeOutputDirty(const Edge* edge,
return true;
}
}
/* Symmetry: don't require an existing .ninja_log entry
* (for reggae's --dub-objs-dir and re-using 'foreign' artifacts)
if (!entry && !generator) {
EXPLAIN("command line not found in log for %s", output->path().c_str());
return true;
}
*/
}

return false;
Expand Down

0 comments on commit 9c65f5c

Please sign in to comment.