chore: move xbox toolchain to sentry-xbox repository#1329
Merged
Conversation
supervacuus
approved these changes
Aug 6, 2025
jpnurmi
approved these changes
Aug 6, 2025
bruno-garcia
reviewed
Aug 6, 2025
supervacuus
requested changes
Aug 6, 2025
Collaborator
supervacuus
left a comment
There was a problem hiding this comment.
Just blocking this so it doesn't get accidentally merged.
| elseif(CMAKE_SYSTEM_NAME STREQUAL "Prospero") | ||
| set(PROSPERO TRUE) | ||
| elseif("${CMAKE_GENERATOR_PLATFORM}" MATCHES "Gaming\\.Xbox\\.(Scarlett|XboxOne)\\.x64") | ||
| set(XBOX TRUE) |
There was a problem hiding this comment.
Bug: Xbox Build Failures Due to Incorrect Variable Placement
Xbox support is broken. The new XBOX variable detection logic is incorrectly placed within an elseif chain that checks CMAKE_SYSTEM_NAME. Since Xbox builds set CMAKE_SYSTEM_NAME to "WINDOWS", the CMAKE_GENERATOR_PLATFORM condition for Xbox is never reached, and XBOX is never set. This, coupled with the removal of Xbox toolchain files that generated gdk_build.props (a file referenced by later CMake logic when XBOX is true), leads to build failures for Xbox targets.
Contributor
Author
There was a problem hiding this comment.
that's not true, there's no CMAKE_SYSTEM_NAME == windows condition in this if-elseif chain
supervacuus
approved these changes
Aug 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Having the xbox support spread out between multiple repositories (sentry-native and sentry-xbox) induces a maintenance burden. Also, it's a bit of a pain when including toolchains in the downstream sentry-xbox due to having first fetch this repo before being able to use them in cmake.
This PR removes the toolchains from this repo. Additionally, I've removed changelog items from the unreleased versionnot relevant here anymore.