Closed Bug 596024 Opened 14 years ago Closed 12 years ago

Link with gold on Android

Categories

(Firefox Build System :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla20

People

(Reporter: mwu, Unassigned)

References

Details

Gold should be able to reduce the library size.
Does gold ship with the NDK, or would we be building our own? Either way, this sounds more like a RelEng bug.
This bug is to investigate how to do it before handing it off to releng.
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?
About 16mb. Shaving 1mb is worthwhile but it's not enough to really affect user perception of the fennec size.
Assignee: nobody → mwu
Reduces the size of the apk by a bit less than 220kb.
Not working on this now.
Assignee: mwu → nobody
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...
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
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.