aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java
diff options
context:
space:
mode:
authorGravatar Chris Parsons <cparsons@google.com>2016-04-26 00:06:33 +0000
committerGravatar Yun Peng <pcloudy@google.com>2016-04-26 08:29:51 +0000
commit35e29e5c707522d7c469947f007d4107a3e57e68 (patch)
tree562f9a17a98254bdccc53a3c798a0594c2fc42d7 /src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java
parentbc604ab3b055ebf9b6070f0019cd74556493a939 (diff)
Refactor CompilationSupport.registerFullyLinkedAction to be the responsibility of the caller to invoke, instead of creating the fully linked artifact by default
It makes more sense for the caller rule to opt-in to creating its own implicit output. This also makes it easier for classes to use CompilationSupport without generating this artifact. -- MOS_MIGRATED_REVID=120764517
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java b/src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java
index db48de1e84..89541d6508 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java
@@ -134,6 +134,7 @@ public final class IosTest implements RuleConfiguredTargetFactory {
.registerLinkActions(
common.getObjcProvider(), extraLinkArgs, extraLinkInputs, DsymOutputType.TEST)
.registerCompileAndArchiveActions(common)
+ .registerFullyLinkAction(common.getObjcProvider())
.addXcodeSettings(xcodeProviderBuilder, common)
.validateAttributes();