aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2017-03-13 12:24:36 +0000
committerGravatar Yun Peng <pcloudy@google.com>2017-03-14 08:52:24 +0000
commitbe1e2e38a15c4395c1cf42a63689f60ca523be4f (patch)
tree925eae1f249a2477bdb2a7ca83062e4189c4257c /src/main
parent021e15b03737246eb83401f800c555cbda864416 (diff)
Remove an unused method from CppCompileAction.
-- PiperOrigin-RevId: 149930121 MOS_MIGRATED_REVID=149930121
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileAction.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileAction.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileAction.java
index 2afd77d857..a8427fad95 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileAction.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppCompileAction.java
@@ -123,7 +123,7 @@ public class CppCompileAction extends AbstractAction
* A string constant for the c++ compilation action.
*/
public static final String CPP_COMPILE = "c++-compile";
-
+
/** A string constant for the c++ module compile action. */
public static final String CPP_MODULE_CODEGEN = "c++-module-codegen";
@@ -376,10 +376,6 @@ public class CppCompileAction extends AbstractAction
return builtinIncludeFiles;
}
- public String getHostSystemName() {
- return cppConfiguration.getHostSystemName();
- }
-
@Override
public NestedSet<Artifact> getMandatoryInputs() {
return mandatoryInputs;
@@ -431,7 +427,7 @@ public class CppCompileAction extends AbstractAction
throws ActionExecutionException, InterruptedException {
Executor executor = actionExecutionContext.getExecutor();
Iterable<Artifact> initialResult;
-
+
actionExecutionContext
.getExecutor()
.getEventBus()
@@ -776,7 +772,7 @@ public class CppCompileAction extends AbstractAction
public ImmutableMap<String, String> getExecutionInfo() {
return executionInfo;
}
-
+
/**
* Enforce that the includes actually visited during the compile were properly
* declared in the rules.