Closed
Bug 596024
Opened 14 years ago
Closed 12 years ago
Link with gold on Android
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla20
People
(Reporter: mwu, Unassigned)
References
Details
Gold should be able to reduce the library size.
Comment 1•14 years ago
|
||
Does gold ship with the NDK, or would we be building our own? Either way, this sounds more like a RelEng bug.
Reporter | ||
Comment 2•14 years ago
|
||
This bug is to investigate how to do it before handing it off to releng.
Reporter | ||
Comment 3•14 years ago
|
||
Figured out how to do it but the code size win isn't too significant. Took about a megabyte off libxul.
That sounds significant to me! How big is libxul on android?
Reporter | ||
Comment 5•14 years ago
|
||
About 16mb. Shaving 1mb is worthwhile but it's not enough to really affect user perception of the fennec size.
Reporter | ||
Updated•14 years ago
|
Assignee: nobody → mwu
Reporter | ||
Comment 6•14 years ago
|
||
Reduces the size of the apk by a bit less than 220kb.
Comment 8•14 years ago
|
||
Note that stripping 1MB off libxul.so is 1MB less to uncompress during startup. Considering uncompressing libxul.so alone takes around 500ms on a nexus S...
Comment 9•12 years ago
|
||
I think this is fixed now that we have upgraded to Android NDK r8c (bug 816993), which uses gold by default.
Status: NEW → RESOLVED
Closed: 12 years ago
Depends on: 816993
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•