platform_build_soong/ui
Patrice Arruda 219eef3878 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
2020-06-01 17:29:30 +00:00
..
build Upload build metrics after a build is completed. 2020-06-01 17:29:30 +00:00
logger Panic if logging is attempted after Close 2019-03-21 21:17:04 -07:00
metrics Add a new protobuf message named Upload to upload build metrics. 2020-04-16 14:02:56 -07:00
status Update ninja proto, always enable ninja -d stats 2020-05-18 17:52:28 -07:00
terminal smart_status: move channel write outside lock to avoid deadlock 2019-10-29 15:27:32 -07:00
tracer Move all output through StatusOutput 2019-06-12 21:30:56 -07:00