diff options
author | Patrice Arruda <patricearruda@google.com> | 2019-06-14 15:27:46 -0700 |
---|---|---|
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | 2019-09-04 15:31:53 +0200 |
commit | 40197a1070e70a57d24f5d82763454ecc814bae9 (patch) | |
tree | 032a9c41d3ddf212af46ed4c6c20949025ac208f /cmd/soong_ui/main.go | |
parent | 8fa17df6a02ff77e881c24f098210624b0a31672 (diff) | |
download | build_soong-40197a1070e70a57d24f5d82763454ecc814bae9.tar.gz build_soong-40197a1070e70a57d24f5d82763454ecc814bae9.tar.bz2 build_soong-40197a1070e70a57d24f5d82763454ecc814bae9.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/soong_ui/main.go')
-rw-r--r-- | cmd/soong_ui/main.go | 2 |
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") { |