diff options
author | 2016-01-11 14:20:28 +0000 | |
---|---|---|
committer | 2016-01-11 20:02:56 +0000 | |
commit | a4ca63748f116c0e426be7710f0698518af2c043 (patch) | |
tree | dc0b01658eb392bafdd5eab035ed935b27ec81fd /src/main/java/com/google/devtools/build/lib/analysis/DependencyResolver.java | |
parent | 1f1658c5bbaf540bd2080be3cbcea3df2ca9bf9b (diff) |
BuildView - untangle more of the methods that are only for ide info.
In particular, don't immediately call into the ForTesting functions; I need to
refactor some code that is called from here, and the semantics when called
from ide info should not change. Changes to semantics when called from tests
are much less problematic - we can simply run all the tests.
--
MOS_MIGRATED_REVID=111846384
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis/DependencyResolver.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/analysis/DependencyResolver.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/DependencyResolver.java b/src/main/java/com/google/devtools/build/lib/analysis/DependencyResolver.java index 452a2aa003..d5a515abbc 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/DependencyResolver.java +++ b/src/main/java/com/google/devtools/build/lib/analysis/DependencyResolver.java @@ -499,22 +499,6 @@ public abstract class DependencyResolver { } /** - * A variant of {@link #dependentNodeMap} that only returns the values of the resulting map, and - * also converts any internally thrown {@link EvalException} instances into {@link - * IllegalStateException}. - */ - public final Collection<Dependency> dependentNodes( - TargetAndConfiguration node, BuildConfiguration hostConfig, - Set<ConfigMatchingProvider> configConditions) throws InterruptedException { - try { - return ImmutableSet.copyOf( - dependentNodeMap(node, hostConfig, /*aspect=*/ null, configConditions).values()); - } catch (EvalException e) { - throw new IllegalStateException(e); - } - } - - /** * Converts the given multimap of attributes to labels into a multi map of attributes to * {@link Dependency} objects using the proper configuration transition for each attribute. * |