Skip to content

Commit

Permalink
Add xctest_app ipa file to files-to-build
Browse files Browse the repository at this point in the history
--
MOS_MIGRATED_REVID=89131807
  • Loading branch information
matvore authored and damienmg committed Mar 23, 2015
1 parent fde7137 commit a99f289
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ public final ConfiguredTarget create(RuleContext ruleContext) throws Interrupted
.setTestHost(appIpaXcodeProvider)
.setProductType(productType);

Artifact bundleLoader = xcTestAppProvider(ruleContext).getBundleLoader();
XcTestAppProvider testApp = xcTestAppProvider(ruleContext);
Artifact bundleLoader = testApp.getBundleLoader();

// -bundle causes this binary to be linked as a bundle and not require an entry point
// (i.e. main())
Expand All @@ -109,6 +110,8 @@ public final ConfiguredTarget create(RuleContext ruleContext) throws Interrupted
"-bundle_loader", bundleLoader.getExecPathString());

extraLinkInputs = new ExtraLinkInputs(bundleLoader);

filesToBuild.add(testApp.getIpa());
}

if (ruleContext.getConfiguration().isCodeCoverageEnabled()) {
Expand Down

0 comments on commit a99f289

Please sign in to comment.