aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/pkgcache
diff options
context:
space:
mode:
authorGravatar nharmata <nharmata@google.com>2017-11-21 15:17:04 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-11-21 15:19:26 -0800
commita2a3d8ca6634abb8f8dc184edb4ea01543de8505 (patch)
tree7d1e134c23623fab7476d889639d240d8600b630 /src/main/java/com/google/devtools/build/lib/pkgcache
parent7cc8efe44a167d818deb77e53f12cecc15b4e4aa (diff)
Remove the hardcoded exclusion of the top-level //experimental directory. This is only relevant for things like 'bazel build //...' in workspaces that have a top-level //experimental directory. As such, this hardcoded exclusion is unlikely to be desired, especially by bazel users externally.
Fixes #3822. RELNOTES: None PiperOrigin-RevId: 176569346
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/pkgcache')
-rw-r--r--src/main/java/com/google/devtools/build/lib/pkgcache/PathPackageLocator.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/pkgcache/PathPackageLocator.java b/src/main/java/com/google/devtools/build/lib/pkgcache/PathPackageLocator.java
index bf20eefe83..05e4bd7aa3 100644
--- a/src/main/java/com/google/devtools/build/lib/pkgcache/PathPackageLocator.java
+++ b/src/main/java/com/google/devtools/build/lib/pkgcache/PathPackageLocator.java
@@ -17,7 +17,6 @@ import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Preconditions;
import com.google.common.base.Verify;
import com.google.common.collect.ImmutableList;
-import com.google.common.collect.ImmutableSet;
import com.google.devtools.build.lib.cmdline.Label;
import com.google.devtools.build.lib.cmdline.PackageIdentifier;
import com.google.devtools.build.lib.events.Event;
@@ -48,9 +47,6 @@ import java.util.concurrent.atomic.AtomicReference;
public class PathPackageLocator implements Serializable {
private static final PathFragment BUILD_PATH_FRAGMENT = PathFragment.create("BUILD");
- public static final ImmutableSet<String> DEFAULT_TOP_LEVEL_EXCLUDES =
- ImmutableSet.of("experimental");
-
private final ImmutableList<Path> pathEntries;
// Transient because this is an injected value in Skyframe, and as such, its serialized
// representation is used as a key. We want a change to output base not to invalidate things.