Do not dump metrics if reproxy was never started am: 5990257d46
am: 1145dd81a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/19049587 Change-Id: Ibdf61b445a1b6b11fb81a8021945e0a849a97a6b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -216,7 +216,6 @@ func main() {
|
|||||||
}
|
}
|
||||||
defer build.UploadMetrics(buildCtx, config, c.simpleOutput, buildStarted, files...)
|
defer build.UploadMetrics(buildCtx, config, c.simpleOutput, buildStarted, files...)
|
||||||
defer met.Dump(soongMetricsFile)
|
defer met.Dump(soongMetricsFile)
|
||||||
defer build.DumpRBEMetrics(buildCtx, config, rbeMetricsFile)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Read the time at the starting point.
|
// Read the time at the starting point.
|
||||||
|
@@ -245,6 +245,7 @@ func Build(ctx Context, config Config) {
|
|||||||
|
|
||||||
if config.StartRBE() {
|
if config.StartRBE() {
|
||||||
startRBE(ctx, config)
|
startRBE(ctx, config)
|
||||||
|
defer DumpRBEMetrics(ctx, config, filepath.Join(config.LogsDir(), "rbe_metrics.pb"))
|
||||||
}
|
}
|
||||||
|
|
||||||
if what&RunProductConfig != 0 {
|
if what&RunProductConfig != 0 {
|
||||||
|
Reference in New Issue
Block a user