From e5719662a91a7eb310eb0ea528992c49090784c9 Mon Sep 17 00:00:00 2001 From: twerth Date: Tue, 14 Aug 2018 00:00:02 -0700 Subject: Add exports attribute to proto_library. Note that it is currently only used by the java_proto_library family of rules (if enabled per flag). RELNOTES: None PiperOrigin-RevId: 208601730 --- .../com/google/devtools/build/lib/rules/proto/BazelProtoLibrary.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java/com/google/devtools/build/lib/rules/proto/BazelProtoLibrary.java') diff --git a/src/main/java/com/google/devtools/build/lib/rules/proto/BazelProtoLibrary.java b/src/main/java/com/google/devtools/build/lib/rules/proto/BazelProtoLibrary.java index 000aa5ec53..ac8fcc8a85 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/proto/BazelProtoLibrary.java +++ b/src/main/java/com/google/devtools/build/lib/rules/proto/BazelProtoLibrary.java @@ -62,7 +62,9 @@ public class BazelProtoLibrary implements RuleConfiguredTargetFactory { protoPathFlags, protoSourceRoot, directProtoSourceRoots, - !protoSources.isEmpty()); + !protoSources.isEmpty(), + /* protosInExports= */ null, + /* exportedProtoSourceRoots= */ null); Artifact descriptorSetOutput = ruleContext.getGenfilesArtifact( -- cgit v1.2.3