B2gdroid: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(→‎Building: Formatting)
(→‎Building: Reorder the note about applying the patch - it needs to be done first so put it before the example.)
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>
(For this step to install all the necessary tools you need the patch here: https://bugzilla.mozilla.org/show_bug.cgi?id=1205405)


<pre>
<pre>
Line 19: Line 21:
   2
   2
</pre>
</pre>
(For this step to install all the necessary tools you need the patch here: https://bugzilla.mozilla.org/show_bug.cgi?id=1205405)


<li>Manually install version 22.0.1 of the Android SDK Support package. See https://mobile.etherpad.mozilla.org/109 for details.</li>
<li>Manually install version 22.0.1 of the Android SDK Support package. See https://mobile.etherpad.mozilla.org/109 for details.</li>

Revision as of 23:04, 20 September 2015

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.

Building

  1. Clone the Mozilla source tree
  2. $ hg clone https://hg.mozilla.org/mozilla-central
  3. 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.
  4. (For this step to install all the necessary tools you need the patch here: https://bugzilla.mozilla.org/show_bug.cgi?id=1205405)
    $ cd mozilla-central
    $ ./mach bootstrap
      Please choose the version of Firefox you want to build:
      1. Firefox for Desktop
      2. Firefox for Android
      Your choice:
      2
    
  5. Manually install version 22.0.1 of the Android SDK Support package. See https://mobile.etherpad.mozilla.org/109 for details.

TODO