Bugfix: spawn output directories are not passed to remote execution.
This bug was invisible to out tests, because our RemoteWorker will work regardless of whether the output was listed as a file or as a directory.
TESTED=same tests
RELNOTES: None
@@ -286,6 +286,7 @@ class RemoteSpawnRunner implements SpawnRunner {
Collections.sort(outputPaths);
Collections.sort(outputDirectoryPaths);
action.addAllOutputFiles(outputPaths);
+ action.addAllOutputDirectories(outputDirectoryPaths);
// Get the remote platform properties.
if (executionPlatform != null) {
