On 2014-08-27, 2:03 AM, Gian-Carlo Pascutto wrote:
On 27/08/2014 10:02, Jan Velecký wrote:

Now, we have to include 13 libraries including 19-MB libxul.so and
10-MB omni.ja. Look at fact, that at the moment, sample GeckoView app
and Firefox for Android have both same size 34MB. This is not ideal.
Firefox have UI, but GeckoView alone not. So why GeckoView must load
libxul.so library? We cannot remove that file, because then app with
GeckoView crash.

libxul.so contains Gecko itself, so you absolutely need it for a WebApp.

Stripping Firefox-UI specific resources from omni.ja might work.

Further to this, I've pondered stripping some things from omni.ja before packaging GeckoView (namely fonts).

I've also considered splitting omni.ja into Gecko/App (where App, by default, is Fennec); but this is very much not backward compatible, because we load from resource://gre/modules and the gre is the Gecko (omni.ja) resource handle. That would change to, say, resource://app/modules in the simplest schemes.

Nick
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to