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

Commit d125440a authored by Jason Wu's avatar Jason Wu
Browse files

Upload soong_build_metrics when user builds

Test: m nothing and check the events in database
Bug: 269751664
Change-Id: Ic07a6e1797b11f5413d7ecd78969dec64e9eeac9
parent f58396a4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -200,6 +200,7 @@ func main() {
	rbeMetricsFile := filepath.Join(logsDir, c.logsPrefix+"rbe_metrics.pb")
	bp2buildMetricsFile := filepath.Join(logsDir, c.logsPrefix+"bp2build_metrics.pb")
	bazelMetricsFile := filepath.Join(logsDir, c.logsPrefix+"bazel_metrics.pb")
	soongBuildMetricsFile := filepath.Join(logsDir, c.logsPrefix+"soong_build_metrics.pb")

	//the profile file generated by Bazel"
	bazelProfileFile := filepath.Join(logsDir, c.logsPrefix+"analyzed_bazel_profile.txt")
@@ -209,6 +210,7 @@ func main() {
		bp2buildMetricsFile,      // high level metrics related to bp2build.
		soongMetricsFile,         // high level metrics related to this build system.
		bazelMetricsFile,         // high level metrics related to bazel execution
		soongBuildMetricsFile,    // high level metrics related to soong build(except bp2build)
		config.BazelMetricsDir(), // directory that contains a set of bazel metrics.
	}