aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorPatrice Arruda <patricearruda@google.com>2019-06-14 15:27:46 -0700
committerPatrice Arruda <patricearruda@google.com>2019-06-14 15:27:46 -0700
commit0cc5b21516742fbfb850e44ec487625d7a8408a3 (patch)
tree994c8f1ac09d30f0235a7275c325249f8b2219c2 /cmd
parentad13e1185ff732937e199ca57cbe27753f6eab16 (diff)
downloadbuild_soong-0cc5b21516742fbfb850e44ec487625d7a8408a3.tar.gz
build_soong-0cc5b21516742fbfb850e44ec487625d7a8408a3.tar.bz2
build_soong-0cc5b21516742fbfb850e44ec487625d7a8408a3.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 f5276c33..ad9fb24e 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") {