From 95a4dd0269d95a2a5dc8a952573ef6d83791bbfb Mon Sep 17 00:00:00 2001 From: Lukacs Berki Date: Tue, 14 Mar 2017 11:24:01 +0000 Subject: 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 --- .../com/google/devtools/build/lib/actions/ResourceManagerTest.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/test/java/com/google/devtools/build/lib/actions/ResourceManagerTest.java') 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; @@ -539,6 +540,12 @@ public class ResourceManagerTest { throw new IllegalStateException(); } + @Override + public Iterable getInputFilesForExtraAction( + ActionExecutionContext actionExecutionContext) { + return ImmutableList.of(); + } + @Override public String getKey() { throw new IllegalStateException(); -- cgit v1.2.3