aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2018-07-24 10:27:34 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-24 10:29:01 -0700
commit78930aeca06fa0983eba005b7e1806da46ec4537 (patch)
tree9da8dc56b2bb4a50d641e49262afc145085bb9f6 /src/main
parentc7865d521027c4d5c8dd307b5f3be696c1956228 (diff)
ProtoSourcesProvider docs: Add link to FileDescriptorSet definition
RELNOTES: None. PiperOrigin-RevId: 205850479
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/google/devtools/build/lib/skylarkbuildapi/ProtoSourcesProviderApi.java13
1 files changed, 10 insertions, 3 deletions
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<FileT extends FileApi> {
@SkylarkCallable(
name = "direct_descriptor_set",
- doc = "The FileDescriptorSet of the direct sources. If no srcs, contains an empty file. ",
+ doc =
+ "The <a href=\""
+ + "https://github.com/google/protobuf/search?q=%22message+FileDescriptorSet%22+path%3A%2Fsrc"
+ + "\">FileDescriptorSet</a> of the direct sources. "
+ + "If no srcs, contains an empty file.",
structField = true
)
public FileT directDescriptorSet();
@@ -69,9 +73,12 @@ public interface ProtoSourcesProviderApi<FileT extends FileApi> {
@SkylarkCallable(
name = "transitive_descriptor_sets",
doc =
- "A set of FileDescriptorSet files of all dependent proto_library rules, and this one's. "
+ "A set of <a href=\""
+ + "https://github.com/google/protobuf/search?q=%22message+FileDescriptorSet%22+path%3A%2Fsrc"
+ + "\">FileDescriptorSet</a> 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<FileT> transitiveDescriptorSets();