diff options
author | ulfjack <ulfjack@google.com> | 2017-07-21 13:58:33 +0200 |
---|---|---|
committer | Jakob Buchgraber <buchgr@google.com> | 2017-07-24 09:51:02 +0200 |
commit | 7599a4d9fc11369821a6bb7f026d670163abc90e (patch) | |
tree | 34d0dc02020844bd5f02351f3ca95c38ac26eccc /src/test/java/com/google/devtools/build/lib/rules/cpp | |
parent | b69acfaa1c281ac2e8fd7450f07bb3735d24ae23 (diff) |
Add ActionInputPrefetcher to ActionExecutionContext
This is more consistent with other values, and removes the need to inject it
into the constructor of the various strategy implementations.
PiperOrigin-RevId: 162729187
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/rules/cpp')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/rules/cpp/LTOBackendActionTest.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/rules/cpp/LTOBackendActionTest.java b/src/test/java/com/google/devtools/build/lib/rules/cpp/LTOBackendActionTest.java index 4b2bebf212..9e87bc22d8 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/cpp/LTOBackendActionTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/cpp/LTOBackendActionTest.java @@ -20,6 +20,7 @@ import com.google.common.collect.ImmutableSet; import com.google.devtools.build.lib.actions.AbstractAction; import com.google.devtools.build.lib.actions.Action; import com.google.devtools.build.lib.actions.ActionExecutionContext; +import com.google.devtools.build.lib.actions.ActionInputPrefetcher; import com.google.devtools.build.lib.actions.Artifact; import com.google.devtools.build.lib.actions.Executor; import com.google.devtools.build.lib.actions.util.ActionsTestUtil; @@ -75,8 +76,8 @@ public class LTOBackendActionTest extends BuildViewTestCase { @Before public final void createExecutorAndContext() throws Exception { executor = new TestExecutorBuilder(directories, binTools).build(); - context = new ActionExecutionContext(executor, null, null, new FileOutErr(), - ImmutableMap.<String, String>of(), null); + context = new ActionExecutionContext(executor, null, ActionInputPrefetcher.NONE, null, + new FileOutErr(), ImmutableMap.<String, String>of(), null); } @Test |