Confirmed users
2,023
edits
(New page: draft <pre> hg clone http://hg.mozilla.org/mozilla-central cd mozilla-central hg clone http://hg.mozilla.org/mobile-browser mobile mozconfig: # Options for client.mk. mk_add_options MOZ_...) |
No edit summary |
||
Line 1: | Line 1: | ||
==Building Fennec and Xulrunner== | |||
pull the code from hg | |||
<pre> | <pre> | ||
hg clone http://hg.mozilla.org/mozilla-central | hg clone http://hg.mozilla.org/mozilla-central | ||
cd mozilla-central | cd mozilla-central | ||
hg clone http://hg.mozilla.org/mobile-browser mobile | hg clone http://hg.mozilla.org/mobile-browser mobile | ||
</pre> | |||
mozconfig: | Your mozconfig should look like this: | ||
<pre> | |||
# Options for client.mk. | # Options for client.mk. | ||
mk_add_options MOZ_BUILD_PROJECTS="xulrunner mobile" | mk_add_options MOZ_BUILD_PROJECTS="xulrunner mobile" | ||
Line 28: | Line 32: | ||
ac_add_app_options mobile --enable-application=mobile | ac_add_app_options mobile --enable-application=mobile | ||
ac_add_app_options mobile --with-libxul-sdk=../xulrunner/dist | ac_add_app_options mobile --with-libxul-sdk=../xulrunner/dist | ||
</pre> | |||
then pull nss and nspr, and build: | |||
<pre> | |||
python2.5 client.py checkout | python2.5 client.py checkout | ||