aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLineTest.java
diff options
context:
space:
mode:
authorGravatar hlopko <hlopko@google.com>2018-04-20 06:45:24 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-04-20 06:47:04 -0700
commit32f607fcada801e5b5ce4d4d0809f23c44495213 (patch)
tree60f15a15428328facc6e525d11091f687e90b1f5 /src/test/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLineTest.java
parent1fafc6fd3ac87d2963d08a6b7ddd076edfa2fb94 (diff)
Make action_config.tools include crosstool top path by default
We always prepend crosstool top path anyway, so let's create Tool instances with the already prepared path. I don't expect this affects memory usage since we don't have many cc_toolchain targets in the graph. RELNOTES: None PiperOrigin-RevId: 193660445
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLineTest.java')
-rw-r--r--src/test/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLineTest.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLineTest.java b/src/test/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLineTest.java
index 7622fb3f03..c57c82442c 100644
--- a/src/test/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLineTest.java
+++ b/src/test/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLineTest.java
@@ -141,7 +141,6 @@ public class CompileCommandLineTest extends BuildViewTestCase {
scratchArtifact("a/FakeInput"),
CoptsFilter.alwaysPasses(),
"c++-compile",
- getTargetConfiguration().getFragment(CppConfiguration.class).getCrosstoolTopPathFragment(),
new DotdFile(scratchArtifact("a/dotD")));
}
}