Skip to content

Commit

Permalink
Remove _apple_toolchain field from apple_package() rule
Browse files Browse the repository at this point in the history
Summary:
Removes the `_apple_toolchain` field from `apple_package()` because it's not used anymore. The toolchain is used via the `apple_ipa_package()` "private" rule now.

This means that `apple_package()` execution platform is no longer constrained by the exec platform for the host-based toolchain used for `.ipa` creation.

Differential Revision: D61264638

fbshipit-source-id: 5c3db0741b4f247a826934daec426370c7ca555a
  • Loading branch information
milend authored and facebook-github-bot committed Aug 15, 2024
1 parent 86a19e7 commit 2e3216e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apple/apple_rules_impl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ load(
"apple_dsymutil_attrs",
"apple_test_extra_attrs",
"apple_xcuitest_extra_attrs",
"get_apple_bundle_toolchain_attr",
"get_apple_toolchain_attr",
"get_apple_xctoolchain_attr",
"get_apple_xctoolchain_bundle_id_attr",
Expand Down Expand Up @@ -151,7 +150,6 @@ extra_attributes = {
),
default = [],
),
"_apple_toolchain": get_apple_bundle_toolchain_attr(),
"_apple_tools": attrs.exec_dep(default = "prelude//apple/tools:apple-tools", providers = [AppleToolsInfo]),
"_ipa_compression_level": attrs.enum(IpaCompressionLevel.values()),
"_ipa_package": attrs.dep(),
Expand Down

0 comments on commit 2e3216e

Please sign in to comment.