Skip to content

Commit

Permalink
Remove unused :android_sdk late-bound attribute.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 675694536
Change-Id: I13f886e934ae53af6a54472d8e1b610c67db6c52
  • Loading branch information
katre authored and copybara-github committed Sep 17, 2024
1 parent d2a9765 commit a72c9b8
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import static com.google.devtools.build.lib.packages.ImplicitOutputsFunction.fromTemplates;

import com.google.common.collect.ImmutableList;
import com.google.devtools.build.lib.cmdline.Label;
import com.google.devtools.build.lib.packages.Attribute.LabelLateBoundDefault;
import com.google.devtools.build.lib.packages.ImplicitOutputsFunction.SafeImplicitOutputsFunction;
import com.google.devtools.build.lib.packages.StarlarkProviderIdentifier;
import com.google.devtools.build.lib.rules.cpp.CcInfo;
Expand Down Expand Up @@ -143,13 +141,6 @@ public final class AndroidRuleClasses {
public static final ImmutableList<StarlarkProviderIdentifier> CONTAINS_CC_INFO_PARAMS =
ImmutableList.of(StarlarkProviderIdentifier.forKey(CcInfo.PROVIDER.getKey()));

/** The default label of android_sdk option */
public static LabelLateBoundDefault<?> getAndroidSdkLabel(Label androidSdk) {
return LabelLateBoundDefault.fromTargetConfiguration(
AndroidConfiguration.class,
androidSdk,
(rule, attributes, configuration) -> configuration.getSdk());
}

public static final FileType ANDROID_IDL = FileType.of(".aidl");
}

0 comments on commit a72c9b8

Please sign in to comment.