summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Patrice Arruda <patricearruda@google.com> 2020-06-01 17:29:30 +0000
committer Patrice Arruda <patricearruda@google.com> 2020-06-01 17:29:30 +0000
commit219eef3878a934021cca429ad6a0d40719fa7635 (patch)
tree762261376c5b8edc7393729ed9b36bb9c360c60e /java/java.go
parent43527e1f312006e28563d380d295327ac454879d (diff)
Upload build metrics after a build is completed.
Soong now supports the ability to upload metrics to another location by setting the ANDROID_ENABLE_METRICS_UPLOAD to an uploader that accepts the upload.proto proto buffer message. When the environment variable is set, a set of build metrics files (soong_metrics, rbe_metrics.pb and build_error) is uploaded. Bug: 140638454 Test: * Wrote unit test cases * Setup the uploader, built a succcessful and failed aosp_arm-eng target and monitor the uploading of the metrics. Change-Id: I76a65739c557dc90345e098ca03119a950ece2d2
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions