diff options
author | 2017-07-21 12:48:51 +0200 | |
---|---|---|
committer | 2017-07-24 09:50:56 +0200 | |
commit | 902d81a73730da70229bdb6db612d07ca6433b21 (patch) | |
tree | 6beb7404ad921618728d7ad28bbdd6cf060df7a0 /src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileActionBuilder.java | |
parent | 1dd77f75a7fcf1588a91df35a650e673bbb9dd5b (diff) |
Remove an unused method.
RELNOTES: None.
PiperOrigin-RevId: 162725697
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileActionBuilder.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileActionBuilder.java | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileActionBuilder.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileActionBuilder.java index 3615bf6da1..505758b016 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileActionBuilder.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileActionBuilder.java @@ -520,9 +520,9 @@ public class CppCompileActionBuilder { } } } - + /** - * Sets the feature configuration to be used for the action. + * Sets the feature configuration to be used for the action. */ public CppCompileActionBuilder setFeatureConfiguration( FeatureConfiguration featureConfiguration) { @@ -530,9 +530,9 @@ public class CppCompileActionBuilder { this.featureConfiguration = featureConfiguration; return this; } - + /** - * Sets the feature build variables to be used for the action. + * Sets the feature build variables to be used for the action. */ public CppCompileActionBuilder setVariables(CcToolchainFeatures.Variables variables) { this.variables = variables; @@ -688,11 +688,6 @@ public class CppCompileActionBuilder { return this; } - public CppCompileActionBuilder addCopts(int position, Iterable<? extends String> copts) { - this.copts.addAll(position, ImmutableList.copyOf(copts)); - return this; - } - public CppCompileActionBuilder addNocopts(Pattern nocopts) { this.nocopts.add(nocopts); return this; @@ -720,7 +715,7 @@ public class CppCompileActionBuilder { this.cppSemantics = semantics; return this; } - + public void setShouldScanIncludes(boolean shouldScanIncludes) { this.shouldScanIncludes = shouldScanIncludes; } |