diff options
author | Ulf Adams <ulfjack@google.com> | 2017-03-21 10:08:03 +0000 |
---|---|---|
committer | Yue Gan <yueg@google.com> | 2017-03-21 12:53:49 +0000 |
commit | c0a84443526539c36557a6b6bfd0e41623d62fd0 (patch) | |
tree | cad733194b2fb397676b4d60e9d062c8d1aa0e02 /examples | |
parent | 30e3276642fae54ff1be951c52e3286b715409ea (diff) |
Add SpawnInputExpander helper class to arrange runfiles for spawn strategies
This new class is a combination of SpawnHelper and our internal code; the
plan is to migrate all spawn strategies to the new class. The strict flag
should be enabled by default, but that's a breaking change, so we need to do
it later.
- Use it in SandboxStrategy.
- Add ActionInput.getExecPath to return a PathFragment; this avoids lots of
back and forth between path fragments and strings.
This is a step towards #1593.
The previous attempt was missing a one-line patch in StandaloneTestStrategy,
which broke all tests with sandboxing. StandaloneTestStrategy was fixed in a
separate change, so this should be safe now.
--
PiperOrigin-RevId: 150733457
MOS_MIGRATED_REVID=150733457
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions