summaryrefslogtreecommitdiffstats
path: root/src/edit_distance_test.cc
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-05 15:03:57 (GMT)
committerBrad King <brad.king@kitware.com>2019-04-18 12:21:44 (GMT)
commit0f0fb3275d0c908d9a4401c97cd5ef9d407987d4 (patch)
treefe6e4d9fe0083f2108fb011dbc91f2da45ae2bf8 /src/edit_distance_test.cc
parente5c22c0a4b93895334a10d412124ffff69c3fd25 (diff)
downloadNinja-0f0fb3275d0c908d9a4401c97cd5ef9d407987d4.zip
Ninja-0f0fb3275d0c908d9a4401c97cd5ef9d407987d4.tar.gz
Ninja-0f0fb3275d0c908d9a4401c97cd5ef9d407987d4.tar.bz2
Teach RecomputeDirty to load dyndep files that are ready
The full readiness of a node that has a dyndep binding cannot be known until after the dyndep file is loaded. If a dyndep file is ready while constructing the build plan it can be loaded immediately so full information can be used to decide whether anything needs to be built. If a dyndep file is not ready while constructing the build plan then the edges naming it cannot be ready either because the dyndep file is one of their inputs. In this case we defer loading the dyndep file until the build plan is being executed.
Diffstat (limited to 'src/edit_distance_test.cc')
0 files changed, 0 insertions, 0 deletions