Skip to content

Commit

Permalink
add extra apple_bundle outputs
Browse files Browse the repository at this point in the history
Summary: Add subtargets to apple_bundle for extra linker outputs that have been propagated up through the binary and bundle deps.

Reviewed By: chatura-atapattu

Differential Revision: D45622466

fbshipit-source-id: 71d08ad86b43908c0ba2e47308a607dc6001b321
  • Loading branch information
rmaz authored and facebook-github-bot committed May 16, 2023
1 parent e2efee1 commit 68f0696
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prelude/apple/apple_bundle.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

load("@prelude//:paths.bzl", "paths")
load("@prelude//apple:apple_toolchain_types.bzl", "AppleToolchainInfo", "AppleToolsInfo")
# @oss-disable: load("@prelude//apple/meta_only:linker_outputs.bzl", "subtargets_for_apple_bundle_extra_outputs")
load("@prelude//apple/user:apple_selective_debugging.bzl", "AppleSelectiveDebuggingInfo")
load("@prelude//cxx:debug.bzl", "maybe_external_debug_info", "project_external_debug_info")
load(
Expand Down Expand Up @@ -247,6 +248,8 @@ def apple_bundle_impl(ctx: "context") -> ["provider"]:

# Collect extra bundle outputs
extra_output_provider = _extra_output_provider(ctx)
# @oss-disable: extra_output_subtargets = subtargets_for_apple_bundle_extra_outputs(ctx, extra_output_provider)
# @oss-disable: sub_targets.update(extra_output_subtargets)

return [
DefaultInfo(default_output = bundle, sub_targets = sub_targets),
Expand Down

0 comments on commit 68f0696

Please sign in to comment.