Hi folks,

I just landed Bug 1477487
<https://bugzilla.mozilla.org/show_bug.cgi?id=1477487>, which should
rehabilitate`|mach bootstrap` for Android targets on Linux and macOS
hosts.  I'm sorry that it has been so difficult to build Gecko for Android,
but I can only address these issues "in my copious spare time".

The simplest way to get the recommended configuration is
```
./mach bootstrap --no-interactive --application-choice mobile_android
```

The recommended configuration is:

- JDK 1.8.  This is a surprisingly hard requirement of the Android
toolchain.  (We only require the JDK for a few tools -- jarsigner! -- but
otherwise we could do with a JRE alone.  Soon!)
- Mozilla's toolchain clang.  NDK clangs seem to have many issues.
- NDK r17b.  This is what we're using in automation.  I know nothing of
other NDK versions.

We no longer require any particular version of the build-tools, etc: those
are fetched dynamically by Gradle at build time.  (We still install them
for in `mach bootstrap` for automation purposes.)

I am aware of an issue with `mach bootstrap` invoking `mach configure` and
immediately failing; I don't think it stops this working (after you put a
mozconfig in place, as bootstrap suggests): Bug 1520920
<https://bugzilla.mozilla.org/show_bug.cgi?id=1520920>.

Please file fallout and NI me.  Happy GeckoView hacking!

Thanks!
Nick
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to