From 01ddfb7bf418b371859de62f4eab2f41ea9a4a4a Mon Sep 17 00:00:00 2001 From: Googler Date: Mon, 17 Jul 2017 13:20:04 +0200 Subject: Internal change PiperOrigin-RevId: 162194755 --- .../build/lib/analysis/actions/CustomCommandLine.java | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java') 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 2ed135ba79..b05b0394c6 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 @@ -410,22 +410,6 @@ public final class CustomCommandLine extends CommandLine { return this; } - /** - * For every element in `artifacts`, adds the `arg` followed by the exec path of the artifact. - * - *

Results in adding: [arg, execpath1, arg, execpath2, ...]. - * - *

Has no effect if `artifacts` is null or empty. - */ - public Builder addExecPaths(String arg, @Nullable Iterable artifacts) { - Preconditions.checkNotNull(arg); - if (artifacts != null && !Iterables.isEmpty(artifacts)) { - arguments.add( - InterspersingArgs.fromExecPaths(artifacts, /*beforeEach=*/ arg, /*formatEach=*/ null)); - } - return this; - } - /** * Adds a placeholder TreeArtifact exec path. When the command line is used in an action * template, the placeholder will be replaced by the exec path of a {@link TreeFileArtifact} -- cgit v1.2.3