diff options
author | Eric Fellheimer <felly@google.com> | 2015-11-12 02:28:44 +0000 |
---|---|---|
committer | Laszlo Csomor <laszlocsomor@google.com> | 2015-11-12 09:03:01 +0000 |
commit | 7ef96d778a0baf8c4e3a06bf50a4651e3e8bf1fe (patch) | |
tree | 6160e79f854d50c5e76ab845cef10b62f21b8be8 /src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java | |
parent | cbb69f247adc1901ef6b7b52a6f12192f6131f72 (diff) |
Allow package blacklisting to be done via a file checked into the depot. By default this is disabled.
--
MOS_MIGRATED_REVID=107644420
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java b/src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java index 518b538065..0e17d97aea 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java +++ b/src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java @@ -19,7 +19,6 @@ import com.google.common.base.Supplier; import com.google.common.base.Suppliers; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; -import com.google.common.collect.ImmutableSet; import com.google.devtools.build.lib.actions.Action; import com.google.devtools.build.lib.analysis.BlazeDirectories; import com.google.devtools.build.lib.analysis.TopLevelArtifactContext; @@ -77,8 +76,9 @@ public final class PrecomputedValue implements SkyValue { public static final Precomputed<String> DEFAULTS_PACKAGE_CONTENTS = new Precomputed<>(new SkyKey(SkyFunctions.PRECOMPUTED, "default_pkg")); - public static final Precomputed<ImmutableSet<PathFragment>> BLACKLISTED_PKG_PREFIXES = - new Precomputed<>(new SkyKey(SkyFunctions.PRECOMPUTED, "blacklisted_pkg_patterns")); + public static final Precomputed<PathFragment> BLACKLISTED_PACKAGE_PREFIXES_FILE = + new Precomputed<>( + new SkyKey(SkyFunctions.PRECOMPUTED, "blacklisted_package_prefixes_file")); public static final Precomputed<RuleVisibility> DEFAULT_VISIBILITY = new Precomputed<>(new SkyKey(SkyFunctions.PRECOMPUTED, "default_visibility")); |