Skip to content

Commit

Permalink
use native set for apple_bundle
Browse files Browse the repository at this point in the history
Reviewed By: IanChilds

Differential Revision: D63842650

fbshipit-source-id: 02a7687b5856fff3ca7f5bea745a9bfad58d573b
  • Loading branch information
perehonchuk authored and facebook-github-bot committed Oct 9, 2024
1 parent 729bbea commit 2601d52
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apple/apple_bundle.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ load(
)
load("@prelude//utils:arglike.bzl", "ArgLike")
load("@prelude//utils:lazy.bzl", "lazy")
load(
"@prelude//utils:set.bzl",
"set",
)
load(
"@prelude//utils:utils.bzl",
"flatten",
Expand Down Expand Up @@ -255,7 +251,7 @@ def _get_all_agg_debug_info(ctx: AnalysisContext, binary_output: AppleBundleBina

def _maybe_scrub_selected_debug_paths_file(ctx: AnalysisContext, package_names: list[str]) -> Artifact:
if not ctx.attrs.selective_debugging:
return ctx.actions.write(SELECTED_DEBUG_PATH_FILE_NAME, sorted(set(package_names).list()))
return ctx.actions.write(SELECTED_DEBUG_PATH_FILE_NAME, sorted(set(package_names)))

selective_debugging_info = ctx.attrs.selective_debugging[AppleSelectiveDebuggingInfo]
return selective_debugging_info.scrub_selected_debug_paths_file(ctx, package_names, SELECTED_DEBUG_PATH_FILE_NAME)
Expand Down

0 comments on commit 2601d52

Please sign in to comment.