Nathan, On Mon, Aug 24, 2015 at 1:54 PM, Nathan Toone <nat...@toonetown.com> wrote:
> > On Aug 24, 2015, at 2:04 PM, Nicholas Alexander <nalexan...@mozilla.com> > wrote: > > Hi Nathan, > > On Mon, Aug 24, 2015 at 11:59 AM, Nathan Toone <nat...@toonetown.com> > wrote: > >> I’m just wondering if there is documentation somewhere around building >> AAR files. (see Bug 1093242 - >> https://bugzilla.mozilla.org/show_bug.cgi?id=1093242) >> > > Unfortunately not. > > > That’s fine - I’ll just poke around and see what is needed. I’ll keep > notes, and if they are deemed useful, I’ll share them. > This would be very helpful. It's not rocket science, but you are one of the few likely to know how it all works. For example, I’d like to build the AAR files, and then consume them in a >> separate project - using some of the gecko UI components as a part of a >> larger application. In other words, instead of packaging up an apk which >> is the full application, I’d like to bundle up all the >> resources/libs/classes/whatever that is needed to be able to launch a >> GeckoView (or whatever it’s called) from a different application. >> > You can't really use the Fennec UI components other than the WebView-like GeckoView. I’ve actually been using all the Fennec UI components (by create custom > subclasses of GeckoApplication, BrowserApp, etc). The way I’ve been doing > it thus far is using a hand-created AAR file. I misunderstood that the AAR > files that are being created just for the GeckoView class. > You can certainly use them -- the code is MPL and we encourage its use -- but specializing bits of the browser is not supported now and is unlikely to ever be a consideration for the main development team. (I think you are aware of this :) It's a wart at the moment, not well tracked in Bugzilla, that GeckoView rolls the entirety of Fennec into the GeckoView AAR. Extracting pieces /out/ of that situation is very difficult; I have written to this list about how hard this is in the past. It's not getting easier. Is a full-application AAR something that would be helpful? Maybe I could > take what I’m doing in my project, and build an AAR similar to how > geckoview.aar is being built. If it wouldn’t be helpful for others, then > I’ll just keep building my project as I am. (I just want to contribute back > where I can - I understand that my requirements may not be useful for > other/most people). > > Right now we ship a "full application" AAR; you'd need just to ship the appropriate AndroidManifest.xml to "awaken the beast". So I'm not sure what other thing you suggest, but please do clarify. Yours, Nick
_______________________________________________ mobile-firefox-dev mailing list mobile-firefox-dev@mozilla.org https://mail.mozilla.org/listinfo/mobile-firefox-dev