diff options
author | 2017-04-26 20:28:01 +0200 | |
---|---|---|
committer | 2017-04-26 21:02:05 +0200 | |
commit | f91c00879f1fece1f88ec65240cf385be15a0006 (patch) | |
tree | 643d2b7b7a988cbf9ed3df3a0c902464d82f7c05 /src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java | |
parent | 496d3ded0bce12b7371a93e1183ba30e6aa88032 (diff) |
Automated g4 rollback of commit d5ee3b5397135eebd4b5d5b6bd4a4444093c4df8.
*** Reason for rollback ***
The go rules have tons of transitive dependencies that are not declared in their "local" WORKSPACE files, so this broke lots of projects on ci.bazel.build
I'll fix up the go rules, update all of _their_ reverse-dep projects, and resubmit.
*** Original change description ***
Repositories can only be accessed in projects that define them in their WORKSPACE file
This is prep for #1943 - hierarchical workspace loading.
RELNOTES[INC]: Remote repositories must define any remote repositories they
themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be defined
in @x's WORKSPACE file).
PiperOrigin-RevId: 154321845
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 | 2 |
1 files changed, 0 insertions, 2 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 b4264989ba..b4114029ea 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 @@ -105,7 +105,6 @@ import com.google.devtools.build.lib.pkgcache.TargetParsingCompleteEvent; import com.google.devtools.build.lib.pkgcache.TestFilter; import com.google.devtools.build.lib.pkgcache.TransitivePackageLoader; import com.google.devtools.build.lib.profiler.AutoProfiler; -import com.google.devtools.build.lib.rules.repository.RepositoryVisibilityFunction; import com.google.devtools.build.lib.skyframe.AspectValue.AspectValueKey; import com.google.devtools.build.lib.skyframe.DirtinessCheckerUtils.FileDirtinessChecker; import com.google.devtools.build.lib.skyframe.ExternalFilesHelper.ExternalFileAction; @@ -447,7 +446,6 @@ public abstract class SkyframeExecutor implements WalkableGraphFactory { SkyFunctions.ACTION_TEMPLATE_EXPANSION, new ActionTemplateExpansionFunction(removeActionsAfterEvaluation)); map.put(SkyFunctions.LOCAL_REPOSITORY_LOOKUP, new LocalRepositoryLookupFunction()); - map.put(SkyFunctions.REPOSITORY_DEPENDENCY, new RepositoryVisibilityFunction()); map.putAll(extraSkyFunctions); return map.build(); } |