Skip to content

Commit

Permalink
Remove unused RuleContext.targetPlatform method.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 716356701
Change-Id: I1227530d05efd27f58cd7da0e6d50e2d84ee8e4f
  • Loading branch information
katre authored and copybara-github committed Jan 16, 2025
1 parent 43ebb95 commit 4c58b3b
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1061,18 +1061,6 @@ public void close() {
}
}

@Nullable
public Label targetPlatform() {
if (toolchainContexts == null) {
return null;
}
PlatformInfo targetPlatform = toolchainContexts.getTargetPlatform();
if (targetPlatform == null) {
return null;
}
return targetPlatform.label();
}

public boolean useAutoExecGroups() {
return getRule()
.getRuleClassObject()
Expand Down

0 comments on commit 4c58b3b

Please sign in to comment.