platform_build_soong/ui/build
Patrice Arruda 05ab2d0731 Enable bazel profiling in soong_build.
Bazel is executed several times during the execution of soong_build.
For each bazel execution, generate a profile and save under the
BAZEL_METRICS_DIR which is defined in soong_ui.

Bug: b/174479924
Test: * USE_BAZEL_ANALYSIS=1 USE_BAZEL=1 m nothing and checked
        if the cquery and graph build bazel profiles were generated.
      * Verified that the generated bazel profiles were uploaded
        to the local dev metrics pipeline.

Change-Id: I3d20204484dc6c5a1525a5d3eec1d62cfb33535b
2020-12-14 18:48:11 +00:00
..
paths Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
sandbox/darwin Revert "Revert "Revert "Revert "Add path interposer"""" 2018-05-31 14:59:33 -07:00
Android.bp Add code to enable USE_BAZEL=1 m functionality in AOSP. 2020-10-26 09:23:24 +00:00
bazel.go Enable bazel profiling in soong_build. 2020-12-14 18:48:11 +00:00
build.go Allow Bazel to write to an external DIST_DIR (outside of OUT_DIR). 2020-12-11 01:17:58 +00:00
cleanbuild.go Minor cleanup of cleanbuild.go (and partially build.go). 2020-11-24 14:50:25 +00:00
cleanbuild_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
config.go Allow Bazel to write to an external DIST_DIR (outside of OUT_DIR). 2020-12-11 01:17:58 +00: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 Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
context.go Rename time to event in Soong metrics system. 2020-10-21 08:54:56 -07:00
dumpvars.go Remove obsolete PDK build functionality 2020-08-11 01:11:44 +00:00
environment.go Minor cleanup of environment.go. 2020-11-24 13:16:30 +00:00
environment_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
exec.go Collect useful resource information of each executed process in soong_ui. 2020-11-04 23:35:43 +00:00
finder.go soong_ui finder.go: improve comments/documentation. 2020-11-17 19:48:31 -05:00
goma.go Add dist_dir to goma trigger 2019-07-23 16:16:15 -04:00
kati.go soong_ui kati.go: write more comments. 2020-11-18 22:16:08 -05:00
ninja.go Remove obsolete environment variables from ninja.go allowlist. 2020-12-04 18:42:29 +00:00
path.go soong_ui path.go: improve comments. 2020-11-18 22:13:23 -05:00
proc_sync.go Make soong lock file sync time configurable.. 2019-05-24 17:10:48 -04:00
proc_sync_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
rbe.go Allow Bazel to write to an external DIST_DIR (outside of OUT_DIR). 2020-12-11 01:17:58 +00:00
rbe_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07: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 Enable bazel profiling in soong_build. 2020-12-14 18:48:11 +00:00
test_build.go Add dependency checker special case for out/build_date.txt. 2020-12-08 23:28:25 +00:00
upload.go Allow uploading a directory of metrics files. 2020-12-10 21:48:05 +00:00
upload_test.go Allow uploading a directory of metrics files. 2020-12-10 21:48:05 +00:00
util.go Dist build.ninja and Android.bp.list 2020-06-25 12:50:00 -07:00
util_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00