platform_build_soong/cmd
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
..
dep_fixer Rewrite depfile from sbox to stay reproducible 2019-08-29 14:47:40 -07:00
diff_target_files Rename product_services to system_ext 2019-07-09 08:57:05 +00:00
extract_apks Handle universal APK case in extract_apks 2020-05-20 13:10:59 -07:00
extract_jar_packages Regenerate R.java files from LOCAL_STATIC_ANDROID_LIBRARIES 2018-05-02 13:11:01 -07:00
extract_linker Rework how linux_bionic is built with LLD 2018-10-22 15:46:03 -07:00
fileslist fileslist: hash the content of symlink, not the file it points to. 2017-03-29 13:43:41 -07:00
host_bionic_inject Explain checkLinker errors a bit more. 2020-05-27 21:31:42 +01:00
javac_wrapper Silence trailing "1 warning" message from javac when warning is silenced 2019-11-11 21:48:33 +00:00
merge_zips If input zip file cannot opened, print its name. 2020-01-22 10:21:43 -08:00
multiproduct_kati Take into account RAM usage for multiproduct_kati 2019-12-27 09:54:11 -08:00
path_interposer Remove TEMPORARY_DISABLE_PATH_RESTRICTIONS 2020-05-04 19:54:57 +00:00
pom2bp pom2bp: add apex_available/min_sdk_version 2020-05-27 00:37:45 +09:00
pom2mk Add -jetifier to pom2mk and pom2bp 2019-04-20 21:47:14 -07:00
sbox Automate dependency on inputs of genrule module type. 2020-02-19 12:47:35 -08:00
soong_build Call Delve using exec() instead of "dlv attach". 2020-05-18 09:50:18 +02:00
soong_env Fix package path of android/soong/android pctx 2019-04-04 03:59:34 +00:00
soong_ui Run the metrics uploader in the background. 2020-06-13 00:34:37 +00:00
zip2zip Keep directories when moving glob results 2018-11-01 20:34:44 +00:00
zipsync Use 0777 instead of FileInfo() for dirs. 2020-04-06 10:41:40 -07:00