diff options
author | 2016-02-03 13:18:26 +0000 | |
---|---|---|
committer | 2016-02-03 22:06:30 +0000 | |
commit | 9446e9b55e01aee0425a1f21b47b98df55043c6f (patch) | |
tree | 59a0bdbfa93b133ed5c53ec41de9af165319a927 /src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java | |
parent | 0d1a53cf5614d621518914682ec44c6f20a27ab7 (diff) |
Make The Build Faster: Drop the describeStrategy() and strategyLocality() methods, as we can simply pass an ActionStatusMessage to the EventBus instead. All SpawnActionContexts now send an appropriate message when they execute a Spawn.
This also gets rid of the idiom that an Action knows which strategy will be used to execute it - this decision and knowledge belongs to the executor, not the action.
--
MOS_MIGRATED_REVID=113731846
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java index b97f481964..b92e61496d 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java @@ -216,11 +216,6 @@ public class FakeCppCompileAction extends CppCompileAction { public String getMnemonic() { return "FakeCppCompile"; } @Override - public String describeStrategy(Executor executor) { - return "fake"; - } - - @Override public ResourceSet estimateResourceConsumptionLocal() { return ResourceSet.createWithRamCpuIo(/*memoryMb=*/1, /*cpuUsage=*/0.1, /*ioUsage=*/0.0); } |