commit | 90d3fb6354d217a47a2da5c75d8d14aa49e0d80a | [log] [tgz] |
---|---|---|
author | weisu <[email protected]> | Sun Dec 12 22:24:52 2021 +0000 |
committer | weisu <[email protected]> | Wed Jan 05 23:05:14 2022 +0000 |
tree | cae9e293d3a6fbc25e9388ac7aa2ecb737904180 | |
parent | d5bd84727573dc608bd7484052df6b575d83cc75 [diff] |
Write files in a temporary directory Avoid writing test files in the build output directory which fails when run with Bazel. This happens because Bazel's sandboxing environment ensures that the test's working directory is unwritable. See https://docs.bazel.build/versions/main/sandboxing.html for more information. Bug: 209687942 Test: atest --bazel-mode aapt2_tests Test: atest aapt2_tests Change-Id: I0fce701bbac255c3e308ad5c85aa27230c3b620b