aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-07-17 13:20:04 +0200
committerGravatar Klaus Aehlig <aehlig@google.com>2017-07-17 13:43:07 +0200
commit01ddfb7bf418b371859de62f4eab2f41ea9a4a4a (patch)
tree8b502cb8e48187dd64c11ca3eb6a91623bb9232f /src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java
parenta491417d4fbdd3bbb54f557e8e8f3d2f0ea5756a (diff)
Internal change
PiperOrigin-RevId: 162194755
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/actions/CustomCommandLine.java16
1 files changed, 0 insertions, 16 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 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
@@ -411,22 +411,6 @@ public final class CustomCommandLine extends CommandLine {
}
/**
- * For every element in `artifacts`, adds the `arg` followed by the exec path of the artifact.
- *
- * <p>Results in adding: <code>[arg, execpath1, arg, execpath2, ...]</code>.
- *
- * <p>Has no effect if `artifacts` is null or empty.
- */
- public Builder addExecPaths(String arg, @Nullable Iterable<Artifact> 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}
* inside the TreeArtifact at execution time for each expanded action.