Skip to content

Commit

Permalink
chore: remove obsolete pkginfo_targets.objc_label_name (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrindel authored Feb 23, 2023
1 parent d3f4765 commit cb8e331
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions swiftpkg/internal/pkginfo_targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,6 @@ def _bazel_label_name(target):
name = _join_path(target, target.name)
return name.replace("/", "_")

def _objc_label_name(target_name):
"""Returns the name of the real Objective-C target from the
Args:
target_name: The publicly advertised name for the target as a `string`.
Returns:
The name of the Objective-C target as a `string`.
"""
return target_name + "_Objc"

def _modulemap_label_name(target_name):
"""Returns the name of the related `generate_modulemap` target.
Expand Down Expand Up @@ -144,7 +133,6 @@ def make_pkginfo_targets(bazel_labels):
is_modulemap_label = _is_modulemap_label,
join_path = _join_path,
modulemap_label_name = _modulemap_label_name,
objc_label_name = _objc_label_name,
srcs = _srcs,
)

Expand Down

0 comments on commit cb8e331

Please sign in to comment.