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

Commit 7796b117 authored by Jason Wu's avatar Jason Wu
Browse files

Temporary fix to make soong_metrics files get uploaded

Test: ```m nothing``` and verify the data in local builds table
Bug: 268228148

Change-Id: Idb4b5305f19cf4a69a60896555357623a1ce4532
parent db23e228
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -220,10 +220,10 @@ func main() {

	c.run(buildCtx, config, args)

	defer met.Dump(soongMetricsFile)
	if !config.SkipMetricsUpload() {
		defer build.UploadMetrics(buildCtx, config, c.simpleOutput, buildStarted, bazelProfileFile, bazelMetricsFile, metricsFiles...)
	}
	defer met.Dump(soongMetricsFile)

}