diff options
author | 2019-06-21 15:08:30 -0700 | |
---|---|---|
committer | 2019-06-26 11:31:17 -0700 | |
commit | 7b6245388cac070ee52fcdf80440a78814d3d750 (patch) | |
tree | bbdea42a32a0fd81abdaa39cd0cc618679850cd3 /ui/status/ninja.go | |
parent | 50c744e9162bdf6c6d00621e86b11585be517e58 (diff) |
Compute critical path when ninja finishes
Keep a running map of the critical path to each edge as it
finishes. At the end of the build, find the edge with the
longest critical path and print the path to out/soong.log.
Test: critical_path_test.go
Change-Id: Ie01d26b068b768156b166bff00cdc3273e8124ca
Diffstat (limited to 'ui/status/ninja.go')
-rw-r--r-- | ui/status/ninja.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/status/ninja.go b/ui/status/ninja.go index ee2a2daaa..9cf2f6a81 100644 --- a/ui/status/ninja.go +++ b/ui/status/ninja.go @@ -142,6 +142,7 @@ func (n *NinjaReader) run() { action := &Action{ Description: msg.EdgeStarted.GetDesc(), Outputs: msg.EdgeStarted.Outputs, + Inputs: msg.EdgeStarted.Inputs, Command: msg.EdgeStarted.GetCommand(), } n.status.StartAction(action) |