Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use apple_platforms_split_transition for static_framework rules #1604

Conversation

keith
Copy link
Member

@keith keith commented Aug 5, 2022

This change addresses removal of workaround introduced on
to map apple_common.multi_arch_split split attribute keys based on Bazel
Apple static library linking API for iOS and tvOS static framework rules.

  • Removes _apple_common_multi_arch_split_key from transition_support lib.
  • Use cc_toolchain_forwarder for _child_configuration_dummy attribute.
  • Use rule descriptor deps_cfg for j2objc and Bazel's binary linking API attributes.
  • Introduce a new rule base transition that propagates apple_platforms.

(cherry picked from commit 15a38a1)

keith referenced this pull request Aug 5, 2022
This change addresses removal of workaround introduced on <unknown commit>
to map apple_common.multi_arch_split split attribute keys based on Bazel
Apple static library linking API for iOS and tvOS static framework rules.

- Removes `_apple_common_multi_arch_split_key` from transition_support lib.
- Use `cc_toolchain_forwarder` for `_child_configuration_dummy` attribute.
- Use rule descriptor `deps_cfg` for j2objc and Bazel's binary linking API attributes.
- Introduce a new rule base transition that propagates `apple_platforms`.

PiperOrigin-RevId: 461995942
stravinskii and others added 3 commits August 10, 2023 16:30
This change addresses removal of workaround introduced on <unknown commit>
to map apple_common.multi_arch_split split attribute keys based on Bazel
Apple static library linking API for iOS and tvOS static framework rules.

- Removes `_apple_common_multi_arch_split_key` from transition_support lib.
- Use `cc_toolchain_forwarder` for `_child_configuration_dummy` attribute.
- Use rule descriptor `deps_cfg` for j2objc and Bazel's binary linking API attributes.
- Introduce a new rule base transition that propagates `apple_platforms`.

PiperOrigin-RevId: 461995942
(cherry picked from commit 15a38a1)
@keith keith force-pushed the ks/use-apple_platforms_split_transition-for-ios-tvos_static_framework-rules branch from 485627c to 6d01765 Compare August 10, 2023 23:35
@keith keith changed the title Use apple_platforms_split_transition for ios/tvos_static_framework rules Use apple_platforms_split_transition for static_framework rules Aug 10, 2023
@keith keith marked this pull request as ready for review August 10, 2023 23:44
@keith keith enabled auto-merge (squash) August 10, 2023 23:44
@keith keith merged commit 53d8764 into master Aug 11, 2023
3 checks passed
@keith keith deleted the ks/use-apple_platforms_split_transition-for-ios-tvos_static_framework-rules branch August 11, 2023 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants