platform_build_soong/ui/metrics
Yu Liu 6e13b40628 Change the approach to decide whether to upload metrics.
1. Don't upload if the uploader binary is not present.

Bug: b/193703183
Test: Run the following tests locally:
1. run "go test ." in build/soong/ui/build
2. create vendor/google/misc/metrics_uploader_prebuilt/metrics_uploader.sh
and run m nothing to ensure metrics_uploader.sh was called
3. remove the file created in step 2 then run m nothing and ensure it
doesn't attempt uploading

Change-Id: I081a5510b3f30480720c3e7dd235623c805fa7a4
2021-10-11 21:05:00 +00:00
..
metrics_proto Rename desc to description in PerfInfo 2021-10-11 11:11:45 -07:00
proc Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
upload_proto Upgrade to golang protobuf api v2 2021-07-23 11:12:05 -07:00
Android.bp Upgrade to golang protobuf api v2 2021-07-23 11:12:05 -07:00
event.go Rename desc to description in PerfInfo 2021-10-11 11:11:45 -07:00
event_test.go Add and update comments in ui/metrics/event.go 2020-12-15 03:01:24 +00:00
metrics.go Change the approach to decide whether to upload metrics. 2021-10-11 21:05:00 +00:00