Skip to content

Cherry-pick conditional removal of apple_fragment.*_sdk_version_flag attributes#499

Open
brentleyjones wants to merge 2 commits intomainfrom
bj/cherry-pick-conditional-removal-of-apple_fragment.-_sdk_version_flag-attributes
Open

Cherry-pick conditional removal of apple_fragment.*_sdk_version_flag attributes#499
brentleyjones wants to merge 2 commits intomainfrom
bj/cherry-pick-conditional-removal-of-apple_fragment.-_sdk_version_flag-attributes

Conversation

@brentleyjones
Copy link
Collaborator

PiperOrigin-RevId: 864869707
(cherry picked from commit d9ecf92)

…` attributes

PiperOrigin-RevId: 864869707
(cherry picked from commit d9ecf92)
Signed-off-by: Brentley Jones <github@brentleyjones.com>
@google-cla
Copy link

google-cla bot commented Feb 4, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

brentleyjones referenced this pull request Feb 4, 2026
PiperOrigin-RevId: 864869707
@brentleyjones brentleyjones enabled auto-merge (squash) February 4, 2026 15:51
Signed-off-by: Brentley Jones <github@brentleyjones.com>
watchos_sdk_version = apple_fragment.watchos_sdk_version_flag or _dotted_version_or_default(xcode_version_properties.default_watchos_sdk_version, "2.0")
# TODO: Remove `getattr` once we no longer support a version of Bazel with
# `apple_fragment.*_sdk_version_flag`
ios_sdk_version = getattr(apple_fragment, "ios_sdk_version_flag", None) or _dotted_version_or_default(xcode_version_properties.default_ios_sdk_version, "8.4")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since apple_fragment itself is also going away soon, do we need to also gate that?

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.

2 participants