Skip to content

Commit

Permalink
Update apple/internal/partials/debug_symbols.bzl
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Robinson <[email protected]>
  • Loading branch information
luispadron and mattrobmattrob authored Feb 23, 2024
1 parent 52f159f commit daad6f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apple/internal/partials/debug_symbols.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -303,20 +303,20 @@ def _bundle_dsym_files(
found_binaries_by_arch.update(dsym_binaries)

if found_binaries_by_arch:
dsyms = _copy_dsyms_into_declared_bundle(
dsym_binaries = _copy_dsyms_into_declared_bundle(
actions = actions,
debug_output_filename = dsym_output_filename,
dsym_bundle_name = dsym_bundle_name,
found_binaries_by_arch = found_binaries_by_arch,
platform_prerequisites = platform_prerequisites,
)
output_files.extend(dsyms)
output_files.extend(dsym_binaries)
dsyms_command = (" && ".join([
"cp \"{dsym_path}\" \"${{OUTPUT_DIR}}/Contents/Resources/DWARF/{dsym_bundle_name}\"".format(
dsym_path = dsym.path,
dsym_path = dsym_binary.path,
dsym_bundle_name = dsym_output_filename,
)
for dsym in dsyms
for dsym_binary in dsym_binaries
]))

# If we found any binaries, create the Info.plist for the bundle as well.
Expand Down

0 comments on commit daad6f0

Please sign in to comment.