aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules
diff options
context:
space:
mode:
authorGravatar ccalvarin <ccalvarin@google.com>2018-07-02 14:17:09 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-02 14:18:57 -0700
commit20637b7870a09a35b716f69a6d8ce5b4c5fe3722 (patch)
tree3fa1e673fd5731a98cb9ae8f66ab07495dca2114 /src/main/java/com/google/devtools/build/lib/rules
parenteb952d08f76afa907bb34eaf7e1a69899102c523 (diff)
Replace old option name with new --discard_orphaned_artifacts in tests.
Also remove batch in these same tests in favor of the new --nokeep_state_after_build RELNOTES: None. PiperOrigin-RevId: 203011055
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/cpp/LtoBackendArtifacts.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/LtoBackendArtifacts.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/LtoBackendArtifacts.java
index f6609ddf87..06756f6170 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/cpp/LtoBackendArtifacts.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/LtoBackendArtifacts.java
@@ -198,8 +198,7 @@ public final class LtoBackendArtifacts {
builder.addImportsInfo(bitcodeFiles, imports);
// Although the imports file is not used by the LTOBackendAction while the action is
// executing, it is needed during the input discovery phase, and we must list it as an input
- // to the action // in order for it to be preserved under
- // --experimental_discard_orphaned_artifacts.
+ // to the action in order for it to be preserved under --discard_orphaned_artifacts.
builder.addInput(imports);
}
if (index != null) {