Skip to content

Commit 1ff568e

Browse files
rmazmeta-codesync[bot]
authored andcommitted
propagate the debug binaries through ApplePackageInfo
Summary: Propagate the list of unstripped binaries to the ApplePackageInfo provider. This will be used to create debug info based on the binary symbol tables. Reviewed By: cosminconst Differential Revision: D105966238 fbshipit-source-id: 897a738e0fbea2bd056e422dd471926232055801
1 parent 748496a commit 1ff568e

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

apple/apple_package.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def apple_package_impl(ctx: AnalysisContext) -> list[Provider]:
6868
dsyms = ctx.attrs.bundle[AppleDebuggableInfo].dsyms,
6969
info_plist = ctx.attrs.bundle[AppleInfoPlistInfo].info_plist,
7070
linker_maps = ctx.attrs.bundle[AppleBundleLinkerMapInfo].linker_maps,
71+
unstripped_binaries = ctx.attrs.bundle[AppleDebuggableInfo].binaries,
7172
),
7273
]
7374

apple/apple_package_types.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ ApplePackageInfo = provider(
1717
"linker_maps": provider_field(list[Artifact]),
1818
"name": provider_field(str),
1919
"package": provider_field(Artifact),
20+
"unstripped_binaries": provider_field(list[Artifact]),
2021
},
2122
)

0 commit comments

Comments
 (0)