diff options
author | 2017-09-05 18:12:26 +0200 | |
---|---|---|
committer | 2017-09-06 10:10:06 +0200 | |
commit | 268c0bcbf79f9f3f72d95fa51af0f1b18c5ce29e (patch) | |
tree | 45bf496a5de6652214a7a06001390ab87bd1f6ee /src/test/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionTest.java | |
parent | 87f40973c52e3323abe8a2e850296026671cb6ad (diff) |
Introduce unfiltered_compile_flags build variable, rename copts variable to user_compile_flags
Also add magic to a feature named 'unfiltered_compile_flags' so the flags
expanded from it are not subject to nocopt filtering.
RELNOTES: None.
PiperOrigin-RevId: 167587189
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionTest.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionTest.java b/src/test/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionTest.java index bc2e57f63f..19f4392273 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionTest.java @@ -84,13 +84,14 @@ public class CppLinkActionTest extends BuildViewTestCase { return CcToolchainFeaturesTest.buildFeatures( CppActionConfigs.getCppActionConfigs( CppPlatform.LINUX, - ImmutableSet.<String>of(), + ImmutableSet.of(), "gcc_tool", "dynamic_library_linker_tool", "ar_tool", "strip_tool", - true, - false)) + /* supportsEmbeddedRuntimes= */ true, + /* supportsInterfaceSharedLibraries= */ false), + CppActionConfigs.getFeaturesToAppearLastInToolchain(ImmutableSet.of())) .getFeatureConfiguration( FeatureSpecification.create( ImmutableSet.of( |