aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java b/src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java
index 008f7defc2..02998a11c4 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java
@@ -76,24 +76,11 @@ public final class CustomCommandLine extends CommandLine {
abstract void eval(ImmutableList.Builder<String> builder);
}
- // TODO(bazel-team): CustomArgv and CustomMultiArgv is going to be difficult to expose
+ // TODO(bazel-team): CustomMultiArgv is going to be difficult to expose
// in Skylark. Maybe we can get rid of them by refactoring JavaCompileAction. It also
// raises immutability / serialization issues.
- /** Custom Java code producing a String argument. Usage of this class is discouraged. */
- public abstract static class CustomArgv extends StandardArgvFragment {
-
- @Override
- void eval(ImmutableList.Builder<String> builder) {
- builder.add(argv());
- }
-
- public abstract String argv();
- }
-
/**
* Custom Java code producing a List of String arguments.
- *
- * <p>Usage of this class is discouraged. Please see {@link CustomArgv}.
*/
public abstract static class CustomMultiArgv extends StandardArgvFragment {
@@ -828,13 +815,6 @@ public final class CustomCommandLine extends CommandLine {
return this;
}
- public Builder addCustomArgv(@Nullable CustomArgv arg) {
- if (arg != null) {
- arguments.add(arg);
- }
- return this;
- }
-
public Builder addCustomMultiArgv(@Nullable CustomMultiArgv arg) {
if (arg != null) {
arguments.add(arg);