-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
fix: remove the SENTRY_CRASHPAD_SYSTEM build option #928
Conversation
@MartinDelille and @AenBleidd, since you maintain source-level packages of the Native SDK, are you aware of any usage or patches that refer to It seems the The |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #928 +/- ##
==========================================
- Coverage 82.65% 82.64% -0.02%
==========================================
Files 53 53
Lines 7376 7376
Branches 1186 1186
==========================================
- Hits 6097 6096 -1
- Misses 1171 1173 +2
+ Partials 108 107 -1 |
@supervacuus Thanks for pinging me here! This might be wrong since (if I understand correctly it shall be set to True if we are using other crashpad than the one from sentry) so I might fix it here: conan-io/conan-center-index#20762 |
Hello @supervacuus, I am not aware about any usage of the |
Hmm, I thought I wrote a response on this issue, sorry. Thanks, @AenBleidd and @MartinDelille, for your responses. As you can see, I removed the build parameter in the (potentially build-breaking) 0.7.0 release. This means the patches for If this turns out to be a considerable hassle for your package builds or users, I will revert the removal and add a compile def that limits the interface dependencies to the available upstream APIs in a follow-up release (the actual build-breaker in 0.7.0 is the switch to |
Hi @supervacuus ! Now that conan-io/conan-center-index#20762 is merged. I could update the recipe. Shall I stop defining SENTRY_CRASHPAD_SYSTEM from version 0.7.0 or in all case ? |
Hi @MartinDelille. I would leave |
Ok thanks! I implemented this check here: https://github.com/conan-io/conan-center-index/pull/22422/files#diff-95df6adf18543155d3f51239ff9678848b33c8922e0e652daa20175d2d2fc816R158-R160 |
While fixing the
breakpad
dependency specs in ourCMake
build here: #926, I saw that we still have theSENTRY_CRASHPAD_SYSTEM
option in our build, which was a community contribution.This option cannot work because we
FirstChanceHandler
for Windows some time ago andcrashpad_handler
back in the spring of this yearBoth of these would lead to compile errors (vs. previously, the added support for attachments would only differ at runtime). Since no one complained about these breaking changes, I guess this option is no longer in use.
Of course, we could also keep the option, add a compile-def and would have to keep compatible build-time guarded interfaces in the backend code. I don't know if that is worth it.
This also fixes install dependencies (
zlib
) for staticcrashpad
builds when adding the Native SDK in a CMake project viafind_package()
.