Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13642d47 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Do not dump metrics if reproxy was never started"

parents ca8e93e7 a1d8fa99
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -221,7 +221,6 @@ func main() {
		}
		defer build.UploadMetrics(buildCtx, config, c.simpleOutput, buildStarted, files...)
		defer met.Dump(soongMetricsFile)
		defer build.DumpRBEMetrics(buildCtx, config, rbeMetricsFile)
	}

	// Read the time at the starting point.
+1 −0
Original line number Diff line number Diff line
@@ -264,6 +264,7 @@ func Build(ctx Context, config Config) {

	if config.StartRBE() {
		startRBE(ctx, config)
		defer DumpRBEMetrics(ctx, config, filepath.Join(config.LogsDir(), "rbe_metrics.pb"))
	}

	if what&RunProductConfig != 0 {