From 0fd2273e1ee6433dddefd7a1754fdcd9915fd897 Mon Sep 17 00:00:00 2001 From: Janak Ramakrishnan Date: Wed, 6 Apr 2016 21:36:02 +0000 Subject: Allow actions to specify if extra actions can attach to them. -- MOS_MIGRATED_REVID=119203499 --- .../build/lib/rules/cpp/FakeCppCompileAction.java | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java') 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 d445dc24ce..dc5b22dad8 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 @@ -82,7 +82,8 @@ public class FakeCppCompileAction extends CppCompileAction { @Nullable String fdoBuildStamp, RuleContext ruleContext, boolean usePic) { - super(owner, + super( + owner, features, featureConfiguration, variables, @@ -104,9 +105,18 @@ public class FakeCppCompileAction extends CppCompileAction { // cc_fake_binary and for the negative compilation tests that depend on // the cc_fake_binary, and the runfiles must be determined at analysis // time, so they can't depend on the contents of the ".d" file.) - CppCompilationContext.disallowUndeclaredHeaders(context), actionContext, copts, pluginOpts, - nocopts, extraSystemIncludePrefixes, fdoBuildStamp, VOID_INCLUDE_RESOLVER, - ImmutableList.of(), GUID, usePic, ruleContext); + CppCompilationContext.disallowUndeclaredHeaders(context), + actionContext, + copts, + pluginOpts, + nocopts, + extraSystemIncludePrefixes, + fdoBuildStamp, + VOID_SPECIAL_INPUTS_HANDLER, + ImmutableList.of(), + GUID, + usePic, + ruleContext); this.tempOutputFile = Preconditions.checkNotNull(tempOutputFile); } -- cgit v1.2.3