Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
Stop passing uses_swift to new_objc_provider.
Browse files Browse the repository at this point in the history
This flag hasn't been used by Bazel for a very very very very very long time.

PiperOrigin-RevId: 373845026
  • Loading branch information
allevato authored and swiple-rules-gardener committed May 14, 2021
1 parent 4cd9b2c commit 05f18b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion swift/internal/compiling.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2200,7 +2200,6 @@ def new_objc_provider(
objc_provider_args = {
"link_inputs": depset(direct = swiftmodules + link_inputs),
"providers": all_objc_providers,
"uses_swift": True,
}

# The link action registered by `apple_binary` only looks at `Objc`
Expand Down
1 change: 0 additions & 1 deletion swift/internal/swift_protoc_gen_aspect.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,6 @@ def _swift_protoc_gen_aspect_impl(target, aspect_ctx):
includes = [aspect_ctx.bin_dir.path]
objc_info = apple_common.new_objc_provider(
providers = objc_infos,
uses_swift = True,
**objc_info_args
)
else:
Expand Down

0 comments on commit 05f18b8

Please sign in to comment.