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
build: strip swiftshader binaries #18588
Conversation
Yes please 👍 |
@miniak i'm pretty sure there is an issue linked to this, could you please find it and indicate that this PR closes it? |
@codebytere this one? #17623 |
@codebytere that PR seems to be an issue with a local build, where the main electron binary is not stripped. the size increase due to un-stripped swiftshader binaries was not as massive as the one reported in the PR. |
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.
Is this a complete list? Should we find every .so
? Do we need to strip e.g. the sandbox executable?
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, assuming the release test builds I just kicked off pass.
x64 linux: https://circleci.com/gh/electron/electron/214698 |
Merging as release builds pass. |
Release Notes Persisted
|
I have automatically backported this PR to "6-0-x", please check out #18600 |
I have automatically backported this PR to "5-0-x", please check out #18601 |
I have automatically backported this PR to "4-2-x", please check out #18602 |
@nornagon let’s consider that as a follow-up |
@bpasero this PR didn't remove those files, it just stripped them to make them smaller. |
Description of Change
Add missing swiftshader libraries (
libEGL.so
,libGLESv2.so
) toLINUX_BINARIES_TO_STRIP
.Checklist
npm test
passesRelease Notes
Notes: Fixed electron.zip size increase regression on Linux (compared to Electron 3) by stripping swiftshader libraries (
libEGL.so
,libGLESv2.so
).