Skip to content

Commit

Permalink
Remove JavaBuilder options parsing for builtin processors
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 563163683
Change-Id: I4dd7e2b1ca5c0780d5070ba37fb61c0fb1fa0068
  • Loading branch information
cushon authored and copybara-github committed Sep 6, 2023
1 parent a52585c commit 7b601bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,6 @@ private void processCommandlineArgs(Deque<String> argQueue) throws InvalidComman
case "--processors":
collectProcessorArguments(processorNames, argQueue, "-");
break;
case "--builtin_processors":
// TODO(b/294594306): remove once Blaze no longer passes this flag
collectProcessorArguments(new ArrayList<>(), argQueue, "-");
break;
case "--output":
outputJar = getArgument(argQueue, arg);
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import com.google.auto.value.AutoValue;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.devtools.build.buildjar.javac.plugins.BlazeJavaCompilerPlugin;
import com.google.protobuf.ByteString;
import java.nio.file.Path;
Expand Down Expand Up @@ -54,8 +53,6 @@ public abstract class BlazeJavacArguments {
/** The compilation source path. */
public abstract ImmutableList<Path> sourcePath();

public abstract ImmutableSet<String> builtinProcessors();

/** The classpath to load processors from. */
public abstract ImmutableList<Path> processorPath();

Expand Down Expand Up @@ -90,7 +87,6 @@ public static Builder builder() {
.sourceFiles(ImmutableList.of())
.sourcePath(ImmutableList.of())
.sourceOutput(null)
.builtinProcessors(ImmutableSet.of())
.processorPath(ImmutableList.of())
.plugins(ImmutableList.of())
.failFast(false)
Expand Down Expand Up @@ -119,8 +115,6 @@ public interface Builder {

Builder sourceFiles(ImmutableList<Path> sourceFiles);

Builder builtinProcessors(ImmutableSet<String> builtinProcessors);

Builder sourceOutput(Path sourceOutput);

Builder processorPath(ImmutableList<Path> processorPath);
Expand Down

0 comments on commit 7b601bd

Please sign in to comment.