aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionContext.java
diff options
context:
space:
mode:
authorGravatar Philipp Wollermann <philwo@google.com>2015-10-26 14:42:41 +0000
committerGravatar Florian Weikert <fwe@google.com>2015-10-27 11:47:09 +0000
commitee51bdd08ab3cc883f5e5e90c6f8ecadf8ba1ebb (patch)
treefc1c98d3a6e96ba31dde5257665b47e7ac8073fa /src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionContext.java
parente42275c03a1978f4eb5aa97e6a4929606e97bed8 (diff)
Allow C++ compile actions to run in a sandbox by replacing the LocalGccStrategy / LocalLinkStrategy with SpawnGccStrategy / SpawnLinkStrategy.
RELNOTES: C++ compile actions run in a sandbox now on systems that support sandboxed execution. -- MOS_MIGRATED_REVID=106299043
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionContext.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionContext.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionContext.java
index 4f61cff2fd..6e97cfc12a 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionContext.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionContext.java
@@ -28,7 +28,7 @@ public interface CppLinkActionContext extends ActionContext {
/**
* Returns where the action actually runs.
*/
- String strategyLocality(CppLinkAction action);
+ String strategyLocality();
/**
* Returns the estimated resource consumption of the action.