aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorPatrice Arruda <patricearruda@google.com>2019-06-14 15:27:46 -0700
committerMichael Bestas <mkbestas@lineageos.org>2019-12-11 19:03:31 +0200
commitf0fb4c0d91318b95e0f2f93b596adbaa112a47de (patch)
tree0ea6e9cc64e50b36bd8a14f52713bb7084a6453e /cmd
parent7f9c91f11ac42f8a4c486d66c4745ba86fbeeacf (diff)
downloadbuild_soong-f0fb4c0d91318b95e0f2f93b596adbaa112a47de.tar.gz
build_soong-f0fb4c0d91318b95e0f2f93b596adbaa112a47de.tar.bz2
build_soong-f0fb4c0d91318b95e0f2f93b596adbaa112a47de.zip
Soong: Fix the package name in metrics.proto file
The metrics.proto needs to be imported to Google3 in order to unmarshal the build metrics data from bigstore. Cleaned up the enum names to use the Camel naming convention and renamed the build_metrics to soong_metrics to be more specific to soong and to allow quering soong_metrics files from bigstore. Bug: b/135280521 Test: lunch andf m -j. Checked if soong_metrics was generated correctly by using printproto command. Change-Id: I998c8d05db592e94a653d6ca32250b80df3c9b21
Diffstat (limited to 'cmd')
-rw-r--r--cmd/soong_ui/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/soong_ui/main.go b/cmd/soong_ui/main.go
index ec39a3ea..8781dcf0 100644
--- a/cmd/soong_ui/main.go
+++ b/cmd/soong_ui/main.go
@@ -158,7 +158,7 @@ func main() {
stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, "verbose.log")))
stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, "error.log")))
- defer met.Dump(filepath.Join(logsDir, "build_metrics"))
+ defer met.Dump(filepath.Join(logsDir, "soong_metrics"))
if start, ok := os.LookupEnv("TRACE_BEGIN_SOONG"); ok {
if !strings.HasSuffix(start, "N") {