summaryrefslogtreecommitdiffstats
path: root/src/build_log_test.cc
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-01-02 04:31:34 (GMT)
committerNico Weber <nicolasweber@gmx.de>2014-01-02 04:31:34 (GMT)
commitb2e6fcf7031cfaf995c65820d14d4aa390daf9fb (patch)
treefebb947ed184e0bff21fa0556adc941c2dca4c82 /src/build_log_test.cc
parent38db96cba7886aeaec7f9af7f5f2eb960d3e1175 (diff)
downloadNinja-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