aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2018-01-11 05:30:13 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-01-11 05:32:16 -0800
commit6cc2ad8676d1ae0542b351a07a05ddbe5efac165 (patch)
treec9dab5dccd651eee1837bd2baaedc0363d463a87 /src/main/java/com/google/devtools/build/lib/rules/cpp/CcBinary.java
parent84f2c42686763c81e1cfa75e021dccbc70f8572c (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