-
Notifications
You must be signed in to change notification settings - Fork 15k
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: bundle swiftshader and ANGLE libraries on mac #18870
Conversation
I think this supersedes #18778 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -677,8 +722,10 @@ if (is_mac) { | |||
":electron_lib", | |||
] | |||
deps = [ | |||
":electron_angle_library", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason to isolate these in targets like electron_angle_library
, electron_swiftshader_library
? Can't they be combined into electron_framework_libraries
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just copy/pasted this from content_shell. Left it the same because that was easiest 🤷♂
Release Notes Persisted
|
I was unable to backport this PR to "6-0-x" cleanly; |
@nornagon can you please backport this to 6? |
A maintainer has manually backported this PR to "6-0-x", please check out #18904 |
Description of Change
Fixes #18639. Not sure what exactly caused this to start breaking now, but these libraries appeared in https://chromium-review.googlesource.com/c/chromium/src/+/955949/ and got enabled by default on mac here https://chromium-review.googlesource.com/c/chromium/src/+/1005017/. The call during gpu process startup that was causing this crash was added here https://chromium-review.googlesource.com/c/chromium/src/+/1599993.
Checklist
npm test
passesRelease Notes
Notes: Fixed crash when starting with
--disable-gpu
.