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/status.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/status.go')
-rw-r--r-- | ui/status/status.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/status/status.go b/ui/status/status.go index 3d8cd7a2c..df33baa8b 100644 --- a/ui/status/status.go +++ b/ui/status/status.go @@ -32,6 +32,10 @@ type Action struct { // but they can be any string. Outputs []string + // Inputs is the (optional) list of inputs. Usually these are files, + // but they can be any string. + Inputs []string + // Command is the actual command line executed to perform the action. // It's optional, but one of either Description or Command should be // set. |