On Sun, Sep 22, 2013 at 9:12 PM, Nick Alexander <[email protected]>wrote:

> I think it is best to do this in two parts.  Keep the packaging step (the
> @BINPATH@/@DLL_PREFIX@gssapi@DLL_SUFFIX@ line in package-manifest.in),
> but add a copying step to
> http://mxr.mozilla.org/mozilla-central/source/mobile/android/app/Makefile.in#46such
>  as:
>
> libs::
>         $(NSINSTALL) /path/to/libgssapi.so $(DIST)/bin
>

I added that line, and now packaging succeeds--hooray! I'm still getting a
"Fail to load gssapi library" message during page load, so there's more
debugging to be done, but at least I've got a place to start.


>
> Try that and let me know how it goes.  If you get the packaging to work,
> we can address building libgss for Android.  (My initial feeling is that
> shouldn't be part of the m-c build, but we can discuss this with the
> relevant people if desired.)
>

Building the GSSAPI library separately certainly would be simpler. Getting
a cross-compiled library wasn't simple, and I haven't been able to
successfully test the resulting binary, so it's not yet clear that I've got
the cross-compilation parameters right. I imagine it'll take a fair bit of
work to get the library to build as part of the Mozilla build.

That said, I think building the GSSAPI library from source as part of the
Firefox for Android build is our only option, for security reasons: it's
virtually impossible to verify or audit a binary blob.

Also, in my experience, integrating the latest release of a library is a
much smoother process if the recipe for building the library is included in
the main build routine. This is something of a security concern as well,
because a smoother integration process means security-related fixes are
more likely to get integrated promptly.

Those are my thoughts, but there's very likely concerns that I don't know
about, so I'm sure more discussion on that subject is in order. :)


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

Reply via email to