diff options
author | 2016-01-21 22:34:14 +0000 | |
---|---|---|
committer | 2016-01-22 15:54:30 +0000 | |
commit | 940ea0770483ac477fa2d0e36dc660acbd168d89 (patch) | |
tree | b60a4f5cf1103f7107dfd7945a89c011f8c33a9e /src/main/java/com/google/devtools/build/lib/query2/output/ProtoOutputFormatter.java | |
parent | cb14c5e7e0a0f623aaf0911295f19caf9dcd6a8e (diff) |
Properly filter out Aspect attributes when `blaze query` requests --noimplicit_deps and/or --nohost_deps.
RELNOTES: --noimplicit_deps and --nohost_deps work correctly for Aspect attributes.
--
MOS_MIGRATED_REVID=112724917
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/query2/output/ProtoOutputFormatter.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/query2/output/ProtoOutputFormatter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/query2/output/ProtoOutputFormatter.java b/src/main/java/com/google/devtools/build/lib/query2/output/ProtoOutputFormatter.java index 84554af961..e8fa723003 100644 --- a/src/main/java/com/google/devtools/build/lib/query2/output/ProtoOutputFormatter.java +++ b/src/main/java/com/google/devtools/build/lib/query2/output/ProtoOutputFormatter.java @@ -177,7 +177,7 @@ public class ProtoOutputFormatter extends AbstractUnorderedFormatter { } ImmutableMultimap<Attribute, Label> aspectsDependencies = - aspectResolver.computeAspectDependencies(target); + aspectResolver.computeAspectDependencies(target, dependencyFilter); // Add information about additional attributes from aspects. for (Entry<Attribute, Collection<Label>> entry : aspectsDependencies.asMap().entrySet()) { Attribute attribute = entry.getKey(); |