Skip to content

Commit

Permalink
Remove unused Java references.
Browse files Browse the repository at this point in the history
Part of a Bazel dead code cleanup.

PiperOrigin-RevId: 532110606
Change-Id: Ida095c2323aece783b5954f98075fab30252c44e
  • Loading branch information
gregestren authored and copybara-github committed May 15, 2023
1 parent bd25f9b commit c075e45
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ public boolean needsDotdInputPruning(BuildConfigurationValue configuration) {
}
}

@Override
public void validateAttributes(RuleContext ruleContext) {
}

@Override
public boolean needsIncludeValidation() {
return language != Language.OBJC;
Expand All @@ -152,10 +148,6 @@ public void validateLayeringCheckFeatures(
CcToolchainProvider ccToolchain,
ImmutableSet<String> unsupportedFeatures) {}

@Override
public boolean createEmptyArchive() {
return false;
}
@Override
public void validateStarlarkCompileApiCall(
StarlarkActionFactory actionFactory,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import com.google.devtools.build.lib.analysis.config.BuildConfigurationValue;
import com.google.devtools.build.lib.analysis.starlark.StarlarkActionFactory;
import com.google.devtools.build.lib.packages.AspectDescriptor;
import com.google.devtools.build.lib.packages.RuleClass.ConfiguredTargetFactory.RuleErrorException;
import com.google.devtools.build.lib.rules.cpp.CcCommon.Language;
import com.google.devtools.build.lib.rules.cpp.CcToolchainFeatures.FeatureConfiguration;
import com.google.devtools.build.lib.rules.cpp.CppConfiguration.HeadersCheckingMode;
Expand Down Expand Up @@ -64,10 +63,6 @@ HeadersCheckingMode determineStarlarkHeadersCheckingMode(
/** Returns true iff this build should perform .d input pruning. */
boolean needsDotdInputPruning(BuildConfigurationValue configuration);

void validateAttributes(RuleContext ruleContext);

default void validateDeps(RuleContext ruleContext) throws RuleErrorException {}

/** Returns true iff this build requires include validation. */
boolean needsIncludeValidation();

Expand All @@ -78,7 +73,6 @@ void validateLayeringCheckFeatures(
CcToolchainProvider ccToolchain,
ImmutableSet<String> unsupportedFeatures);

boolean createEmptyArchive();
void validateStarlarkCompileApiCall(
StarlarkActionFactory actionFactory,
StarlarkThread thread,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ public boolean needsDotdInputPruning(BuildConfigurationValue configuration) {
return true;
}

@Override
public void validateAttributes(RuleContext ruleContext) {}

@Override
public boolean needsIncludeValidation() {
return true;
Expand All @@ -88,10 +85,6 @@ public void validateLayeringCheckFeatures(
CcToolchainProvider ccToolchain,
ImmutableSet<String> unsupportedFeatures) {}

@Override
public boolean createEmptyArchive() {
return false;
}
@Override
public void validateStarlarkCompileApiCall(
StarlarkActionFactory actionFactory,
Expand Down

0 comments on commit c075e45

Please sign in to comment.