Skip to content

Commit

Permalink
another 6.x issue
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Dec 5, 2024
1 parent ec19d4c commit 4771774
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions apple/internal/rule_attrs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -148,23 +148,6 @@ def _common_linking_api_attrs(*, deps_cfg):
),
})

def _j2objc_binary_linking_attrs():
"""Returns a dictionary of required attributes for J2ObjC processing code in native linking.
"""
return {
# xcrunwrapper is no longer used by rules_apple, but the underlying implementation of
# apple_common.link_multi_arch_binary and j2objc_dead_code_pruner require this attribute.
# See CompilationSupport.java:
# - `registerJ2ObjcDeadCodeRemovalActions()`
# - `registerLinkActions()` --> `registerBinaryStripAction()`
# TODO(b/117932394): Remove this once Bazel 6 support is dropped.
"_xcrunwrapper": attr.label(
cfg = "exec",
executable = True,
default = Label("@bazel_tools//tools/objc:xcrunwrapper"),
),
}

def _static_library_linking_attrs(*, deps_cfg):
"""Returns dictionary of required attributes for apple_common.link_multi_arch_static_library.
Expand Down Expand Up @@ -218,7 +201,6 @@ def _binary_linking_attrs(
return dicts.add(
extra_attrs,
_common_linking_api_attrs(deps_cfg = deps_cfg),
_j2objc_binary_linking_attrs(),
{
"codesign_inputs": attr.label_list(
doc = """
Expand Down

0 comments on commit 4771774

Please sign in to comment.