Reduce the size of libevil (xul.dll/libxul.so) #1451

Open
opened 3 years ago by wolfbeast · 0 comments
wolfbeast commented 3 years ago (Migrated from github.com)

Having a monolithic and huge (60+MB) lib has long since been one of Mozilla's fallacies, especially since embedding isn't possible (which would be the only way to consider trying to make a single lib).
It causes unnecessary complexity for compilers/linkers and makes debugging harder than it needs to be.

  • Split out ICU data file on all platforms
  • Split out ICU
  • Split out minor libraries on Windows/Mac that are already separate on other O.S.es
  • Split out the media code libraries #61
  • Split out SpiderMonkey (this has a build issue, see #62 -- might not be easy)

This will also need a check and/or update for the installer, and needs an update for release engineering to make sure additional libs are code-signed on Windows.

Having a monolithic and huge (60+MB) lib has long since been one of Mozilla's fallacies, especially since embedding isn't possible (which would be the only way to consider trying to make a single lib). It causes unnecessary complexity for compilers/linkers and makes debugging harder than it needs to be. - [x] Split out ICU data file on all platforms - [ ] Split out ICU - [ ] Split out minor libraries on Windows/Mac that are already separate on other O.S.es - [ ] Split out the media code libraries #61 - [ ] Split out SpiderMonkey (this has a build issue, see #62 -- might not be easy) This will also need a check and/or update for the installer, and needs an update for release engineering to make sure additional libs are code-signed on Windows.
Moonchild added a new dependency 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Depends on
Reference: MoonchildProductions/UXP#1451
Loading…
There is no content yet.