summaryrefslogtreecommitdiff
path: root/sdk/java_sdk_test.go
diff options
context:
space:
mode:
authorPatrice Arruda <patricearruda@google.com>2020-06-04 19:34:41 +0000
committerPatrice Arruda <patricearruda@google.com>2020-06-05 17:28:41 +0000
commitae2694b30d690c879711521f59763e4f63a88ba9 (patch)
tree29f3074b1cb17a79ac0ffb7861d47925e4cec06d /sdk/java_sdk_test.go
parentad14580f9938f40411f4e7471534df9e02de667e (diff)
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
Diffstat (limited to 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions