Mobile/Fennec/Android: Difference between revisions

Line 38: Line 38:
=== 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.
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). 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].


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].
This is what a mozconfig looks like (you would need to fill out the paths):
 
Here is a minimal mozconfig file (you will need to fill out the paths):


  # Build Firefox for Android:
  # Build Firefox for Android:
Confirmed users
400

edits