aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java
diff options
context:
space:
mode:
authorGravatar Janak Ramakrishnan <janakr@google.com>2016-04-06 21:36:02 +0000
committerGravatar Lukacs Berki <lberki@google.com>2016-04-07 11:48:32 +0000
commit0fd2273e1ee6433dddefd7a1754fdcd9915fd897 (patch)
tree303b4ec1dc4b22a66cc655653cddb0cdcfddfde4 /src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCppCompileAction.java
parent2b0f54a16a5911352deec615c9686f17eb74e113 (diff)
Allow actions to specify if extra actions can attach to them.
-- MOS_MIGRATED_REVID=119203499
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.java18
1 files changed, 14 insertions, 4 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 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.<IncludeScannable>of(), GUID, usePic, ruleContext);
+ CppCompilationContext.disallowUndeclaredHeaders(context),
+ actionContext,
+ copts,
+ pluginOpts,
+ nocopts,
+ extraSystemIncludePrefixes,
+ fdoBuildStamp,
+ VOID_SPECIAL_INPUTS_HANDLER,
+ ImmutableList.<IncludeScannable>of(),
+ GUID,
+ usePic,
+ ruleContext);
this.tempOutputFile = Preconditions.checkNotNull(tempOutputFile);
}