diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-01-02 04:31:34 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-01-02 04:31:34 (GMT) |
commit | b2e6fcf7031cfaf995c65820d14d4aa390daf9fb (patch) | |
tree | febb947ed184e0bff21fa0556adc941c2dca4c82 /src/build_log_test.cc | |
parent | 38db96cba7886aeaec7f9af7f5f2eb960d3e1175 (diff) | |
download | Ninja-b2e6fcf7031cfaf995c65820d14d4aa390daf9fb.zip Ninja-b2e6fcf7031cfaf995c65820d14d4aa390daf9fb.tar.gz Ninja-b2e6fcf7031cfaf995c65820d14d4aa390daf9fb.tar.bz2 |
Remove dead entries in .ninja_log and .ninja_deps while recompacting.
For .ninja_deps, remove objects that have no in-edges or whose in-edges
do not have a "deps" attribute. (This matches the behaviour of `-t
deps`).
BuildLog doesn't know about state, so let its recompact method take
delegate that decides is a path is life or not, and implement it in
NinjaMain.
Diffstat (limited to 'src/build_log_test.cc')
0 files changed, 0 insertions, 0 deletions