117
edits
No edit summary |
|||
| Line 1: | Line 1: | ||
|\ /| | |\ /| | ||
|\\ //| | |\\ //| Mulet is a meant to merge all Firefox OS runtimes that exist on desktop: | ||
| \\ // | | \\ // | - b2g desktop | ||
|_=\\ // | |_=\\ //=_| - Fx OS simulator addon | ||
| _=|| || | | _=|| ||=_ | - Special gaia profile running on Firefox nightly ("DEBUG=1" gaia profiles) | ||
\ _=|| || | \ _=|| ||=_ / | ||
\_ =\',:;:,'/ | \_ =\',:;:,'/= _/ Mulet nightly builds are available here: | ||
\__" `:` "__/ | \__" `:` "__/ http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/ | ||
) ( | ) ( | ||
/ \ | / \ It requires a gaia profile to startup correctly: | ||
| | | | | $ cd ~/gaia | ||
|_ _| | |_ _| $ make | ||
(0\ /0) | (0\ /0) $ ~/mulet/firefox-bin -profile profile/ | ||
| | | | | | ||
`. .' | `. .' You should see gaia automatically loaded in first tab, | ||
| | | | | with the devtools showing up on the side. | ||
; | | ; | | ||
:| |; | :| |; You can build it out of mozilla-central with the following mozconfig: | ||
'/ \' | '/ \' ac_add_options --enable-application=b2g/dev | ||
(() ()) | (() ()) | ||
©jgs \ / ("Mulet" comes the french word designating a "mule" | ©jgs \ / (''"Mulet"'' comes the french word designating a "mule" and is spelled with only one ''l''!) | ||
`---' | `---' | ||
=== Why merge all runtimes? === | === Why merge all runtimes? === | ||
To ensure that everyone | To ensure that everyone: app developers, gaia contributors and platform engineers are all on the same page and use the same environment and runtime. | ||
Then merging all runtimes allows to share the advantages of all of them. | Then merging all runtimes allows to share the advantages of all of them. | ||
Gaia will run with the same feature set than b2g desktop (ie. many features require some glue code that doesn't | Gaia will run with the same feature set than b2g desktop (ie. many features require some glue code that doesn't exist in Firefox. for example system message API). | ||
And we will have all devtools working against gaia. | And we will have all devtools working against gaia. | ||
While sharing the additional features coming from the simulator (rotation support for ex) | While sharing the additional features coming from the simulator (rotation support for ex) | ||
| Line 55: | Line 55: | ||
... | ... | ||
$ cd ~/gecko | $ cd ~/gecko | ||
$ echo "ac_add_options --enable-application=b2g/dev" > mulet | |||
$ MOZCONFIG=mulet ./mach build | |||
$ MOZCONFIG=mulet ./mach run -profile ~/gaia/profile | $ MOZCONFIG=mulet ./mach run -profile ~/gaia/profile | ||
Then, if FxOS doesn't automatically open itself, go to the following URL: | Then, if FxOS doesn't automatically open itself, go to the following URL: | ||
chrome://b2g/content/shell.html | chrome://b2g/content/shell.html | ||
=== How to report bugs? === | |||
Please fill bugs within [https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox%20OS&component=Runtime Firefox OS::Runtime component]. | |||
edits