Mobile/Fennec/Android OtherBuildEnvs: Difference between revisions

Line 56: Line 56:
==Windows==
==Windows==
==Mac OSX==
==Mac OSX==
Set up a regular Firefox build environment as explained [https://developer.mozilla.org/en/Mac_OS_X_Build_Prerequisites here] (go up to and including step 3 on that page). If you want to build the new Native-UI Fennec instead of the XUL-based Fennec, clone the repository at https://hg.mozilla.org/projects/birch instead of mozilla-central.
Set up a regular Firefox build environment as explained [https://developer.mozilla.org/en/Mac_OS_X_Build_Prerequisites here] (go up to and including step 3 on that page).


Install the latest versions of the Android [http://developer.android.com/sdk/index.html SDK] and [http://developer.android.com/sdk/ndk/index.html NDK] for Mac OS X.
Install the latest versions of the Android [http://developer.android.com/sdk/index.html SDK] and [http://developer.android.com/sdk/ndk/index.html NDK] for Mac OS X.
Line 85: Line 85:
  ac_add_options --with-android-platform="/PATH/TO/android-ndk-r6/platforms/android-5/arch-arm"
  ac_add_options --with-android-platform="/PATH/TO/android-ndk-r6/platforms/android-5/arch-arm"
  # Android options
  # Android options
  ac_add_options --enable-application=mobile
  ac_add_options --enable-application=mobile/xul
  ## use this line instead of last for native UI (birch branch):
  ## use this line instead of last for native UI:
  # ac_add_options --enable-application=mobile/android
  # ac_add_options --enable-application=mobile/android
  ac_add_options --target=arm-linux-androideabi
  ac_add_options --target=arm-linux-androideabi
  ac_add_options --with-endian=little
  ac_add_options --with-endian=little
Confirmed users
586

edits