Changes

Jump to: navigation, search

Mobile/Fennec/Android

30 bytes removed, 18:10, 11 September 2015
Preparing a Fennec mozconfig
=== Preparing a Fennec mozconfig ===
Next, navigate to your source directory and create a text file called "mozconfig". The bootstrap script will print out the contents of mozconfig for you when it finishes (and you can run the script again to print this information out). The mozconfig file is what tells the Mozilla build system what to build and how your build environment is prepared. Here is the minimal mozconfig file for building Fennec; it  It should be named <tt>mozconfig</tt> in your source directory, as the build scripts will read from the mozconfig file in your source directory by default, [https://developer.mozilla.org/en-US/docs/Configuring_Build_Options although you can configure this if you need to]. Here is a minimal mozconfig file (you will need to fill out the paths):
# Build Firefox for Android:
This assumes you have followed the instructions above and are using Android platform 22 and NDK version r10e. You must use <tt>$HOME</tt> instead of <tt>~</tt> in your mozconfig because <tt>~</tt> does not get expanded.
 
You will need to update the paths to your sdk and ndk. These are printed out by the bootstrap script, so if you don't know them, you can run './mach bootstrap' again and it'll print them out for you.
Mozilla's build system writes all build intermediate files and output artifacts into a separate directory called the ''object directory''. The build system will choose a reasonable default name for the object directory if you don't specify one, but it's common to specify an object directory starting with "obj" and to put it inside your source directory. Add a line like the following to your mozconfig:
Confirm
400
edits

Navigation menu