diff options
author | 2018-01-11 05:30:13 -0800 | |
---|---|---|
committer | 2018-01-11 05:32:16 -0800 | |
commit | 6cc2ad8676d1ae0542b351a07a05ddbe5efac165 (patch) | |
tree | c9dab5dccd651eee1837bd2baaedc0363d463a87 /src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java | |
parent | 84f2c42686763c81e1cfa75e021dccbc70f8572c (diff) |
sandbox: add env[TMPDIR] instead of `tmpDir`
Bazel now adds env[TMPDIR] to the set of
sandbox-writable paths, instead of adding the
caller-defined `tmpDir` as it used to.
Since every caller of getWritableDirs passes the
LocalEnvProvider-processed environment to
getWritableDirs, and because all such callers use
either PosixLocalEnvProvider or
XCodeLocalEnvProvider, we can be sure that the
environment has an entry for TMPDIR.
Change-Id: Ia89544a009e56d9cc922ab56823d16d20465545e
PiperOrigin-RevId: 181595606
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java')
0 files changed, 0 insertions, 0 deletions