Confirmed users
400
edits
Line 26: | Line 26: | ||
sudo apt-get install mercurial ccache | sudo apt-get install mercurial ccache | ||
==== Building for the x86 architecture ==== | |||
If you want to build for x86, substitute: | |||
ac_add_options --target=i386-linux-android | |||
for the target specified above. Note: you cannot use <tt>ac_add_options --disable-optimize</tt> when building for x86. See {{bug|965870}}. | |||
==== Building Gingerbread-only ==== | |||
For legacy Gingerbread devices, there is a Gingerbread-only build that is optimized for performance and apk size for older devices but does not include some of the newer features that are available. | |||
To make a Gingerbread-only build, you need to use a different [https://dxr.mozilla.org/mozilla-central/source/mobile/android/config/mozconfigs/android-api-9-10-constrained/nightly mozconfig]. | |||
==== Building for the ARMv6 architecture ==== | |||
'''ARMv6 is no longer a supported target as of Firefox 33.''' | |||
If you want to build for ARMv6 instead of ARMv7 (only required for very old, very low end phones), add: | |||
ac_add_options --with-arch=armv6 | |||
==== Unsupported build flags ==== | |||
Do '''not''' specify these flags because the resulting build will cause out-of-memory crashes: | |||
ac_add_options --disable-install-strip # Do not use! | |||
==== Updating the builders` SDK ==== | |||
i.e. Nightly builds & treeherder. See [[Mobile/Fennec/Android/Updating_SDK_on_builders]]. | |||
=== Multilocale builds === | === Multilocale builds === | ||
Line 95: | Line 125: | ||
ac_add_options --enable-debug | ac_add_options --enable-debug | ||
ac_add_options --enable-debug-symbols | ac_add_options --enable-debug-symbols | ||
=== Troubleshooting === | === Troubleshooting === |