diff options
| author | 2022-05-27 07:48:37 -0400 | |
|---|---|---|
| committer | 2022-06-30 15:20:48 +0000 | |
| commit | 040867f3b884c1e5959b7075e16bcae4230a2ada (patch) | |
| tree | 98496ef53686780b124eae95cf52e1a876d07144 /scripts/lint_project_xml.py | |
| parent | f75e6a131b87608e09ed4864b683555fb7d46acf (diff) | |
[RESTRICT AUTOMERGE] Cleanup RBE logs directory
RBE logs directory is currently messy:
1. We use RBE_output_dir variable to specify where rbe_metrics.txt /
rbe_metrics.pb file should go to.
2. We use proxy_log_dir to specify where *.rpl / *.rpi (detailed per
action info log file) should go to.
3. We use RBE_log_dir to specify where reproxy.* / bootstrap.* log files
should go to.
Ideally, all RBE related logs should go to one single directory. In this
CL, I'm creating a temporary log directory under out/soong/.temp/rbe/
where all RBE related log files per build would go to. The log dir
prefix is also being set to the same prefix as the socket address file.
Test: Ran a sample build with `m libc` and ensured that logs are getting
cleared across rebuilds and that `rbe_metrics.pb` file is properly
generated and being copied to the right location (i.e., from
out/soong/.temp/rbe/<rand> to out/ dir)
Bug: b/233382420
Bug: b/236909178
Bug: b/235861862
Merged-In: I46bd38d50419cb9e54e8202d24222979e47ff5ca
Change-Id: I46bd38d50419cb9e54e8202d24222979e47ff5ca
(cherry picked from commit 29cbe14265c9679d6de5a5785a95137c178fe1eb)
Diffstat (limited to 'scripts/lint_project_xml.py')
0 files changed, 0 insertions, 0 deletions