platform_build_soong/ui
Patrice Arruda ae2694b30d Pass the TMPDIR directly to the command when dumping makefile variables.
External applications such as metrics uploader depends on the TMPDIR.
DumpMakeVars is changing the TMPDIR environment variable value. Once
the work is done, TMPDIR directory is deleted. Additional flow of
the tool or external applications can panic since TMPDIR directory
does not exist. Since this is an isolated case, pass the TMPDIR
directory to the command of dumping the makefile variables.

Bug: b/140638454
Test: * Ran lunch command with ANDROID_ENABLE_METRICS_UPLOAD set
        and metrics_uploader did not crash.
      * m nothing
Change-Id: Ib78a3f8cfb5da48f65bd9bce1511e9abdf3d9cca
2020-06-05 17:28:41 +00:00
..
build Pass the TMPDIR directly to the command when dumping makefile variables. 2020-06-05 17:28:41 +00:00
logger Panic if logging is attempted after Close 2019-03-21 21:17:04 -07:00
metrics Add a new protobuf message named Upload to upload build metrics. 2020-04-16 14:02:56 -07:00
status Update ninja proto, always enable `ninja -d stats` 2020-05-18 17:52:28 -07:00
terminal smart_status: move channel write outside lock to avoid deadlock 2019-10-29 15:27:32 -07:00
tracer Move all output through StatusOutput 2019-06-12 21:30:56 -07:00