diff options
author | 2017-09-29 21:11:53 +0200 | |
---|---|---|
committer | 2017-10-02 10:31:16 +0200 | |
commit | ae32398146a05ecbe60966b0fe16e409e7b3e3ae (patch) | |
tree | 46cd486fb8277c98cdc11a4f427dc370c58354a7 /src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java | |
parent | 5cc6246d429f7d9119b97ce263b4fd6893222e92 (diff) |
Don't symlink into the execroot if possible in SymlinkAction: instead, symlink directly to the target artifact. Also offer the option to not provide the package roots to create the execroot: we would like to avoid the execroot if possible.
PiperOrigin-RevId: 170515263
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java b/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java index 97a10780fc..b3159c9134 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java +++ b/src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java @@ -653,6 +653,11 @@ public abstract class SkyframeExecutor implements WalkableGraphFactory { return true; } + @Nullable + protected Path getForcedSingleSourceRootIfNoExecrootSymlinkCreation() { + return null; + } + @VisibleForTesting protected abstract Injectable injectable(); |