commit | 4f8e35afdca5caee718e38687af5497cbc4a48b5 | [log] [tgz] |
---|---|---|
author | Anton Hansson <hansson@google.com> | Tue Nov 13 22:48:21 2018 +0000 |
committer | Ryan Prichard <rprichard@google.com> | Thu Mar 28 16:39:42 2019 -0700 |
tree | f08f523d02632e69f2d3badc7d84baee111e6ed6 | |
parent | 15bf9e38e7dff75da4adb0d5b836d741599e8692 [diff] |
Add a debug tool to find a dependency chain Add a new command ninja -t path <root> <dep>, to find a dependency chain in which root depends on dep. This is implemented as a bfs from dep. Bug: 118089975 Test: ./ninja -t path ninja build/graph.o ninja build/libninja.a build/graph.o Change-Id: I7ea230239a242d374e47957a9b1df136745dc71e