Confirmed users
51
edits
(Add MOZTTDIR information) |
(→Building: adding mozconfig info for apz) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Presentation == | == Presentation == | ||
B2GDroid is an Android homescreen that provides the same user experience as Firefox OS. It's a GeckoView consumer with Gaia pre-packaged, and as many b2g APIs as possible. | Firefox OS developer preview (aka B2GDroid) is an Android homescreen that provides the same user experience as Firefox OS. It's a GeckoView consumer with Gaia pre-packaged, and as many b2g APIs as possible. | ||
== Building == | == Building == | ||
Line 9: | Line 9: | ||
<li>In the Mozilla source tree, run `./mach bootstrap` and select build "Firefox for Android". This will install the necessary Android SDKs and the Android NDK.</li> | <li>In the Mozilla source tree, run `./mach bootstrap` and select build "Firefox for Android". This will install the necessary Android SDKs and the Android NDK.</li> | ||
<pre> | <pre> | ||
Line 22: | Line 20: | ||
</pre> | </pre> | ||
<li>Manually install version 22.0.1 of the Android SDK Support package. See https:// | <li>Manually install version 22.0.1 of the Android SDK Support package. See https://mail.mozilla.org/pipermail/mobile-firefox-dev/2015-August/001401.html for details.</li> | ||
<li>Clone the repository containing the fonts used in FirefoxOS from https://github.com/mozilla-b2g/moztt somewhere and create a symlink or move it to `$topsrcdir/moz-tt` where m`$topsrcdir` is the Mozilla source tree clone.</li> | |||
<li>Clone the Gaia repository from https://github.com/mozilla-b2g/gaia.git and create a symlink or move it to `$topsrcdir/gaia` where `$topsrcdir` is the Mozilla source tree clone.</li> | |||
<li>Create a mozconfig and include `ac_add_option --enable-application=mobile/android/b2gdroid` and `ac_add_options --enable-android-apz | |||
`. | |||
<li>Run `mach configure`, `mach build`, `mach package` and finally, with an Android device attached, `mach install` to install the APK to the device.</li> | |||
</ol> | </ol> | ||