Skip to content

Commit

Permalink
Remove unused LEGACY_SKYLARK_NAME from ProtoInfo
Browse files Browse the repository at this point in the history
The legacy `.proto` provider has been removed in bazelbuild#7152.
  • Loading branch information
Yannic authored Jan 15, 2020
1 parent ba87ba9 commit 8470f00
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@ public Provider() {

public static final Provider PROVIDER = new Provider();

/**
* The name of the field in Skylark used to access this class.
*
* <p>This is for legacy {@code ctx.attr.deps.proto.}-style access. Those should eventually be
* migrated to {@code ctx.attr.deps[ProtoInfo]}.
*/
public static final String LEGACY_SKYLARK_NAME = "proto";

private final ImmutableList<Artifact> directProtoSources;
private final ImmutableList<Artifact> originalDirectProtoSources;
private final String directProtoSourceRoot;
Expand Down

0 comments on commit 8470f00

Please sign in to comment.