commit | 9d16209de1f374fc252cc1cb6022516207d68699 | [log] [tgz] |
---|---|---|
author | Cal Peyser <cpeyser@google.com> | Fri Oct 07 18:13:12 2016 +0000 |
committer | Yue Gan <yueg@google.com> | Mon Oct 10 09:54:25 2016 +0000 |
tree | 7c68407bf23000968cf3a02ccd024dd5e239c7db | |
parent | f1ad58ae5bb015130d80b8d1b79d663962a50b43 [diff] |
Make the .d file a mandatory output of the ObjcCompileAction. -- MOS_MIGRATED_REVID=135495881
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCompileAction.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCompileAction.java index 9a617f6..47c4ff1 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCompileAction.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCompileAction.java
@@ -124,6 +124,11 @@ } @Override + public ImmutableSet<Artifact> getMandatoryOutputs() { + return ImmutableSet.of(dotdFile.artifact()); + } + + @Override public void execute(ActionExecutionContext actionExecutionContext) throws ActionExecutionException, InterruptedException { super.execute(actionExecutionContext);