aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/query2/output/ProtoOutputFormatter.java
diff options
context:
space:
mode:
authorGravatar Michajlo Matijkiw <michajlo@google.com>2015-09-11 18:56:40 +0000
committerGravatar John Field <jfield@google.com>2015-09-11 21:18:11 +0000
commit88f26c7699b040ebfcfe5e1d5172e0c4f08fde23 (patch)
treebfa1810f5a2737fd9179fc0104a5c1476255c96e /src/main/java/com/google/devtools/build/lib/query2/output/ProtoOutputFormatter.java
parent171fe3ed66ea3f77174fe0e2229f9328cbd48184 (diff)
Don't expose includeGlobs in PackageSerializer public interface
We always set this false when calling from outside PackageSerializer. Hide it away since we don't need it and so that we don't get tempted. -- MOS_MIGRATED_REVID=102864146
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.java4
1 files changed, 2 insertions, 2 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 5f87e74e24..a013b9d894 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
@@ -138,7 +138,7 @@ public class ProtoOutputFormatter extends OutputFormatter implements UnorderedFo
}
rulePb.addAttribute(PackageSerializer.getAttributeProto(attr,
PackageSerializer.getAttributeValues(rule, attr),
- rule.isAttributeValueExplicitlySpecified(attr), /*includeGlobs=*/ false));
+ rule.isAttributeValueExplicitlySpecified(attr)));
}
Environment env = rule.getRuleClassObject().getRuleDefinitionEnvironment();
@@ -159,7 +159,7 @@ public class ProtoOutputFormatter extends OutputFormatter implements UnorderedFo
for (Entry<Attribute, Collection<Label>> entry : aspectsDependencies.asMap().entrySet()) {
rulePb.addAttribute(PackageSerializer.getAttributeProto(entry.getKey(),
Lists.<Object>newArrayList(entry.getValue()),
- /*explicitlySpecified=*/ false, /*includeGlobs=*/ false));
+ /*explicitlySpecified=*/ false));
}
// Add all deps from aspects as rule inputs of current target.
for (Label label : aspectsDependencies.values()) {