aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/actions/ResourceManagerTest.java
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2017-03-14 11:24:01 +0000
committerGravatar Yun Peng <pcloudy@google.com>2017-03-14 19:49:56 +0000
commit95a4dd0269d95a2a5dc8a952573ef6d83791bbfb (patch)
tree1b4218c206c2fa45abaf28d0466f9a9d68082bd4 /src/test/java/com/google/devtools/build/lib/actions/ResourceManagerTest.java
parentae84395a5bee2a04978335f0e08ce714f134d270 (diff)
A partial, manual rollback of commit 7af14dfdbd6addb779226c0a103b2a8dc72c16b1.
This became necessary because extra actions for C++ compile actions require .h files, but the compiler only returns the .pcm files in the .d file for headers that it reads from the .pcm file. This is not a problem for correctness because the .pcm files depend on the headers, but that doesn't help the extra actions that would then only get the .pcm files. -- PiperOrigin-RevId: 150052839 MOS_MIGRATED_REVID=150052839
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/actions/ResourceManagerTest.java')
-rw-r--r--src/test/java/com/google/devtools/build/lib/actions/ResourceManagerTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/actions/ResourceManagerTest.java b/src/test/java/com/google/devtools/build/lib/actions/ResourceManagerTest.java
index 32d7115869..a6eff2e633 100644
--- a/src/test/java/com/google/devtools/build/lib/actions/ResourceManagerTest.java
+++ b/src/test/java/com/google/devtools/build/lib/actions/ResourceManagerTest.java
@@ -20,6 +20,7 @@ import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
+import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.google.devtools.build.lib.actions.ResourceManager.ResourceHandle;
import com.google.devtools.build.lib.testutil.TestThread;
@@ -540,6 +541,12 @@ public class ResourceManagerTest {
}
@Override
+ public Iterable<Artifact> getInputFilesForExtraAction(
+ ActionExecutionContext actionExecutionContext) {
+ return ImmutableList.of();
+ }
+
+ @Override
public String getKey() {
throw new IllegalStateException();
}