diff options
author | 2016-05-10 21:20:56 +0000 | |
---|---|---|
committer | 2016-05-11 10:23:44 +0000 | |
commit | 0a447860fa68bdfefe6d5cd506f0de0562f18955 (patch) | |
tree | 1266b408e62e4e2f0237452726977326876e2975 /src/main/java/com/google/devtools/build/lib/rules/objc/IosExtension.java | |
parent | fb32cb7b411f8abd1a3a7f1326799fcead0d0546 (diff) |
Adds dSYMs from embedded extensions to the outputs of ios_application.
--
MOS_MIGRATED_REVID=121987056
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/IosExtension.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/IosExtension.java | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/IosExtension.java b/src/main/java/com/google/devtools/build/lib/rules/objc/IosExtension.java index 869c5dc554..4471e6bdab 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/IosExtension.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/IosExtension.java @@ -64,14 +64,18 @@ public class IosExtension extends ReleaseBundlingTargetFactory { } @Override - protected ObjcProvider exposedObjcProvider(RuleContext ruleContext) throws InterruptedException { - // Nest this target's bundle under final IPA - return new ObjcProvider.Builder() - .add(MERGE_ZIP, ruleContext.getImplicitOutputArtifact(ReleaseBundlingSupport.IPA)) - .build(); + protected ObjcProvider exposedObjcProvider( + RuleContext ruleContext, ReleaseBundlingSupport releaseBundlingSupport) + throws InterruptedException { + ObjcProvider.Builder builder = + new ObjcProvider.Builder() + // Nest this target's bundle under final IPA + .add(MERGE_ZIP, ruleContext.getImplicitOutputArtifact(ReleaseBundlingSupport.IPA)); + + releaseBundlingSupport.addExportedDebugArtifacts(builder, DsymOutputType.APP); + return builder.build(); } - /** * Overrides (if necessary) any flag-set minimum iOS version for extensions only with given * minimum OS version. |