diff --git a/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/JavaLibraryBuildRequest.java b/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/JavaLibraryBuildRequest.java index 2be7797a0088b0..b4a89f7e2e35a6 100644 --- a/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/JavaLibraryBuildRequest.java +++ b/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/JavaLibraryBuildRequest.java @@ -52,9 +52,6 @@ public final class JavaLibraryBuildRequest { /** The path to an output jar for source files generated by annotation processors. */ private final Path generatedSourcesOutputJar; - /** The path to an output jar for classfiles generated by annotation processors. */ - private final Path generatedClassOutputJar; - private final ArrayList sourceFiles; private final ImmutableList sourceJars; @@ -210,7 +207,6 @@ public JavaLibraryBuildRequest( } this.javacOpts = ImmutableList.copyOf(optionsParser.getJavacOpts()); this.generatedSourcesOutputJar = asPath(optionsParser.getGeneratedSourcesOutputJar()); - this.generatedClassOutputJar = asPath(optionsParser.getManifestProtoPath()); this.targetLabel = optionsParser.getTargetLabel(); this.injectingRuleKind = optionsParser.getInjectingRuleKind(); this.inputsAndDigest = inputsAndDigest; @@ -260,10 +256,6 @@ public Path getGeneratedSourcesOutputJar() { return generatedSourcesOutputJar; } - public Path getGeneratedClassOutputJar() { - return generatedClassOutputJar; - } - public ArrayList getSourceFiles() { // TODO(cushon): This is being modified after parsing to add files from source jars. return sourceFiles; diff --git a/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/OptionsParser.java b/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/OptionsParser.java index 60d04e1a1760e1..2412ecdd6bbce8 100644 --- a/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/OptionsParser.java +++ b/src/java_tools/buildjar/java/com/google/devtools/build/buildjar/OptionsParser.java @@ -95,8 +95,6 @@ public enum ReduceClasspathMode { private String targetLabel; private String injectingRuleKind; - @Nullable private String profile; - @Nullable private final JavacOptions normalizer; /** @@ -214,9 +212,6 @@ private void processCommandlineArgs(Deque argQueue) throws InvalidComman case "--injecting_rule_kind": injectingRuleKind = getArgument(argQueue, arg); break; - case "--profile": - profile = getArgument(argQueue, arg); - break; default: throw new InvalidCommandLineException("unknown option : '" + arg + "'"); } @@ -454,8 +449,4 @@ public String getTargetLabel() { public String getInjectingRuleKind() { return injectingRuleKind; } - - public String getProfile() { - return profile; - } }