diff options
author | 2016-11-30 16:03:10 +0000 | |
---|---|---|
committer | 2016-12-01 10:13:55 +0000 | |
commit | 6f8393f5c5bddbb49a74d3229411e1050d799208 (patch) | |
tree | 2168142e35cc1f428837b00936504b1387ef2f51 /src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java | |
parent | 5fe7230880cdb87ade113980a2d2351b6a7f64ea (diff) |
Allow aspects to specify multiple sets of required providers to match against rules. Aspects can attach to a rule if at least one set of required providers are present on the rule.
--
MOS_MIGRATED_REVID=140605023
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java b/src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java index e8fa34660a..43d8256c0b 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java +++ b/src/main/java/com/google/devtools/build/lib/rules/java/proto/JavaLiteProtoAspect.java @@ -113,7 +113,7 @@ public class JavaLiteProtoAspect extends NativeAspectClass implements Configured new AspectDefinition.Builder(this) .attributeAspect("deps", this) .requiresConfigurationFragments(JavaConfiguration.class, ProtoConfiguration.class) - .requireProvider(ProtoSourcesProvider.class) + .requireProviders(ProtoSourcesProvider.class) .add( attr(PROTO_TOOLCHAIN_ATTR, LABEL) .mandatoryNativeProviders( |