Merge "Add setup_tools performance metrics to Soong protobuf file."

This commit is contained in:
Treehugger Robot 2020-12-16 17:21:50 +00:00 committed by Gerrit Code Review
commit f747e75119
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ func (m *Metrics) SetTimeMetrics(perf soong_metrics_proto.PerfInfo) {
m.metrics.BazelRuns = append(m.metrics.BazelRuns, &perf)
case PrimaryNinja:
m.metrics.NinjaRuns = append(m.metrics.NinjaRuns, &perf)
case RunSetupTool:
m.metrics.SetupTools = append(m.metrics.SetupTools, &perf)
case Total:
m.metrics.Total = &perf
}