From 78930aeca06fa0983eba005b7e1806da46ec4537 Mon Sep 17 00:00:00 2001 From: Googler Date: Tue, 24 Jul 2018 10:27:34 -0700 Subject: ProtoSourcesProvider docs: Add link to FileDescriptorSet definition RELNOTES: None. PiperOrigin-RevId: 205850479 --- .../build/lib/skylarkbuildapi/ProtoSourcesProviderApi.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/main') diff --git a/src/main/java/com/google/devtools/build/lib/skylarkbuildapi/ProtoSourcesProviderApi.java b/src/main/java/com/google/devtools/build/lib/skylarkbuildapi/ProtoSourcesProviderApi.java index 1468663cab..d9560f2017 100644 --- a/src/main/java/com/google/devtools/build/lib/skylarkbuildapi/ProtoSourcesProviderApi.java +++ b/src/main/java/com/google/devtools/build/lib/skylarkbuildapi/ProtoSourcesProviderApi.java @@ -61,7 +61,11 @@ public interface ProtoSourcesProviderApi { @SkylarkCallable( name = "direct_descriptor_set", - doc = "The FileDescriptorSet of the direct sources. If no srcs, contains an empty file. ", + doc = + "The FileDescriptorSet of the direct sources. " + + "If no srcs, contains an empty file.", structField = true ) public FileT directDescriptorSet(); @@ -69,9 +73,12 @@ public interface ProtoSourcesProviderApi { @SkylarkCallable( name = "transitive_descriptor_sets", doc = - "A set of FileDescriptorSet files of all dependent proto_library rules, and this one's. " + "A set of FileDescriptorSet files of all dependent proto_library rules, " + + "and this one's. " + "This is not the same as passing --include_imports to proto-compiler. " - + "Will be empty if no dependencies. ", + + "Will be empty if no dependencies.", structField = true ) public NestedSet transitiveDescriptorSets(); -- cgit v1.2.3