diff options
author | 2017-06-19 14:17:52 +0200 | |
---|---|---|
committer | 2017-06-19 18:25:13 +0200 | |
commit | 77c9f5ec751f4adf3a8095e2e2943ec59dc12d26 (patch) | |
tree | e26c02e39bbec73d4fdc47edbbfa7469fa0f291d /src/main/java/com/google/devtools/build/lib/rules/cpp/SpawnGccStrategy.java | |
parent | 34e22458c6058773b41958b75ef5e7459482c109 (diff) |
Rewrite the Executor/ActionExecutionContext split
Move everything to ActionExecutionContext, and drop Executor whereever possible.
This clarifies the API, makes it simpler to test, and simplifies the code.
PiperOrigin-RevId: 159414816
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/SpawnGccStrategy.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/cpp/SpawnGccStrategy.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/SpawnGccStrategy.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/SpawnGccStrategy.java index 366bcd47ef..91f88112f7 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/SpawnGccStrategy.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/SpawnGccStrategy.java @@ -66,7 +66,6 @@ public class SpawnGccStrategy implements CppCompileActionContext { action.estimateResourceConsumptionLocal()); actionExecutionContext - .getExecutor() .getSpawnActionContext(action.getMnemonic()) .exec(spawn, actionExecutionContext); return null; |