Closed Bug 852321 Opened 11 years ago Closed 11 years ago

Use newer xulrunner to reduce download time on linux

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
Linux
defect
Not set
normal

Tracking

(b2g18 fixed, b2g-v1.1hd fixed)

RESOLVED FIXED
Tracking Status
b2g18 --- fixed
b2g-v1.1hd --- fixed

People

(Reporter: nthomas, Assigned: catlee)

References

Details

Attachments

(1 file, 1 obsolete file)

Bug 812105 reduced the size of the linux xulrunner SDKs by a large factor:

Platform       Current [1]      Latest [2]      Ratio
Linux 32         377MB             53MB          0.14       
Linux 64         378MB             62MB          0.16
Mac 64            52MB             70MB          1.35
Windows           31MB             36MB          1.16

Assuming there are no regressions in xpcshell Linux developers would get a big win from switching to a newer xulrunner.

[1] http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/2012/09/2012-09-20-03-05-43-mozilla-central/
[2] http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/2013/03/2013-03-18-03-09-47-mozilla-central/
Depends on: 812105
alternatively, we could pick something more recent like
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/2013/06/2013-06-11-03-11-40-mozilla-central/

Both seem to work fine in terms of creating the profile. I'm not sure what else to look for.
Attachment #760932 - Flags: review?(jhford)
Attachment #760932 - Flags: review?(jhford) → review?(poirot.alex)
Comment on attachment 760932 [details] [diff] [review]
Use newer (smaller) xulrunner SDK

I was about to land a similar patch in bug 871542, but I wasn't sure everything would be alright on releng side.
It looks like you are confirming that we can change the xulrunner version without breaking TBPL or any release tools!

Thanks for the patch.
Attachment #760932 - Flags: review?(poirot.alex) → review+
Burning:
https://tbpl.mozilla.org/php/getParsedLog.php?id=24150784&tree=Birch

Unable to back out as I don't have gaia commit access.
This is because the OSX SDKs no longer have bin/run-mozilla.sh. I guess we should be using xulrunner-sdk/bin/XUL.framework/Versions/Current/xulrunner instead?

Backed out.
If I try and set XPCSHELLSDK to /xulrunner-sdk/bin/XUL.framework/Versions/Current/xulrunner, then 'make profile' gives this error:

test -d profile || mkdir -p profile
run-js-command  applications-data
Error: unrecognized application.ini path.
On Mac, I could get it to work by changing both of these:

XULRUNNERSDK=./xulrunner-sdk/bin/XUL.framework/Versions/Current/run-mozilla.sh
XPCSHELLSDK=./xulrunner-sdk/bin/XUL.framework/Versions/Current/xpcshell
Attachment #760932 - Attachment is obsolete: true
Attachment #765406 - Flags: review?(poirot.alex)
Attachment #765406 - Attachment is patch: true
Attachment #765406 - Attachment mime type: text/x-patch → text/plain
Comment on attachment 765406 [details] [diff] [review]
Use newer (smaller) xulrunner SDK

Review of attachment 765406 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks!
Attachment #765406 - Flags: review?(poirot.alex) → review+
Assignee: nobody → catlee
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Alex, Chris, do you think it's ok to uplift this ? The current situation triggers a download when we use make (eg: to push an ap pto the device) after changing the branch, which is extremely annoying. Especially that on v1-train it still downloads the bigger one :(
Flags: needinfo?(poirot.alex)
Flags: needinfo?(catlee)
Well, I'll just do this after some sanity checks.
Flags: needinfo?(poirot.alex)
Flags: needinfo?(catlee)
a=build
v1-train: 95d54226179251ce89a156c8e2cc588dbd8c631c
(In reply to Julien Wajsberg [:julienw] from comment #11)
> Alex, Chris, do you think it's ok to uplift this ?

Yes, there is no particular reason why it wouldn't work on v1-train, nor need any particular tweaks.
v1.1.0hd: 95d54226179251ce89a156c8e2cc588dbd8c631c
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: