diff options
author | 2018-05-22 14:00:22 -0700 | |
---|---|---|
committer | 2018-05-22 14:01:24 -0700 | |
commit | 28cc833b50d55051ac087a5362b8c14cb67893e8 (patch) | |
tree | 5dc6629d2b4d629723e90195a5c7d50ada252597 /src/main/java/com/google/devtools/build/lib/rules/objc | |
parent | 055d6c619ab572debddb3518616c75f64462c145 (diff) |
Migrate JavaInfo's provider to use the new provider pattern.
This dramatically improves documentation generation for JavaInfo and it makes it far more maintainable and extensible going forward.
RELNOTES: None.
PiperOrigin-RevId: 197619040
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/AppleStaticLibraryInfo.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/AppleStaticLibraryInfo.java b/src/main/java/com/google/devtools/build/lib/rules/objc/AppleStaticLibraryInfo.java index 4fe9844e4c..6515719243 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/AppleStaticLibraryInfo.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/AppleStaticLibraryInfo.java @@ -116,7 +116,9 @@ public final class AppleStaticLibraryInfo extends NativeInfo { + "linked into the archive."), }, selfCall = true) - @SkylarkConstructor(objectType = AppleStaticLibraryInfo.class) + @SkylarkConstructor( + objectType = AppleStaticLibraryInfo.class, + receiverNameForDoc = "apple_common.AppleStaticLibrary") public AppleStaticLibraryInfo appleStaticLibrary( Artifact archive, ObjcProvider objcProvider) throws EvalException { return new AppleStaticLibraryInfo(archive, objcProvider); |