platform_build_soong/ui/build
Patrice Arruda 7cc2074885 Run the metrics uploader in the background.
The metrics uploader was currently running on foreground where it
would copy the metrics files in a separate directory and then forked
into the background for the upload process. As a result, running the
lunch command would take a second longer to run since each metrics
uploader run had an average of half a second.

Bug: 140638454
Test: * Wrote and updated unit test cases.
      * Set ANDROID_ENABLE_METRICS_UPLOAD to point to the latest
        metrics_uploader bash script. Executed the "lunch 1" command
	and measured the running time. Executed "m nothing" command
	and checked that the metrics were uploaded.
      * Ran "lunch 1" and "m nothing" with
        ANDROID_ENABLE_METRICS_UPLOAD=""
      * Removed oauth from metrics_uploader and ran "m nothing" and
        "lunch 1". The oauth Message appeared only to "m nothing"

Change-Id: I13c61e666c8f44613dee291a704cef6a27335188
2020-06-13 00:34:37 +00:00
..
paths Stop using the host python3 2020-03-06 10:28:04 -08:00
sandbox/darwin Revert "Revert "Revert "Revert "Add path interposer"""" 2018-05-31 14:59:33 -07:00
Android.bp Upload build metrics after a build is completed. 2020-06-01 17:29:30 +00:00
build.go Better handling of low memory situations 2020-05-26 23:29:18 -07:00
cleanbuild.go Removes $(PRODUCT_OUT)/misc_info.txt on installclean. 2020-05-07 23:48:30 +00:00
cleanbuild_test.go Remove files that should no longer be installed 2020-01-03 16:46:15 -08:00
config.go Add TARGET_BUILD_UNBUNDLED as a variable to control builds. 2020-06-04 19:01:55 +01:00
config_darwin.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
config_linux.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
config_test.go Upload build metrics after a build is completed. 2020-06-01 17:29:30 +00:00
context.go Soong: Fix the package name in metrics.proto file 2019-06-14 15:27:46 -07:00
dumpvars.go Merge changes from topics "target-build-unbundled", "unbundled-preopt" 2020-06-11 10:01:59 +00:00
environment.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
environment_test.go Add a Kati-based packaging step 2018-10-19 09:55:00 -07:00
exec.go Add logging for stats on finished commands 2020-04-19 12:06:14 -07:00
finder.go Generate build timing metrics to proto format file 2019-01-04 15:54:01 -08:00
goma.go Add dist_dir to goma trigger 2019-07-23 16:16:15 -04:00
kati.go Turn on ninja phony outputs 2020-04-18 20:25:59 -07:00
ninja.go Update ninja proto, always enable `ninja -d stats` 2020-05-18 17:52:28 -07:00
path.go Pass the TMPDIR directly to the command when dumping makefile variables. 2020-06-05 17:28:41 +00:00
proc_sync.go Make soong lock file sync time configurable.. 2019-05-24 17:10:48 -04:00
proc_sync_test.go Revert "Revert "Disallow multiple build executions in parallel"" 2017-05-24 13:22:19 -07:00
rbe.go Add USE_RBE support to soong. 2019-07-17 18:46:47 +00:00
sandbox_darwin.go Implement linux sandboxing with nsjail 2019-01-15 13:47:31 -08:00
sandbox_linux.go nsjail: Always remount /tmp before src/out/dist 2020-05-01 16:26:56 -07:00
signal.go Improve signal handling in soong_ui 2017-02-22 10:44:19 -08:00
soong.go Update ninja proto, always enable `ninja -d stats` 2020-05-18 17:52:28 -07:00
test_build.go Report reverse dependencies for dangling rules. 2020-04-17 16:00:43 +01:00
upload.go Run the metrics uploader in the background. 2020-06-13 00:34:37 +00:00
upload_test.go Run the metrics uploader in the background. 2020-06-13 00:34:37 +00:00
util.go Run the metrics uploader in the background. 2020-06-13 00:34:37 +00:00
util_test.go Run the metrics uploader in the background. 2020-06-13 00:34:37 +00:00