Fennec/NativeUI: Difference between revisions

Jump to navigation Jump to search
(Add link to nighlty builds)
Line 16: Line 16:
If you want to try the new NativeUI on your Android device, you can download the latest nightly builds here: http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-birch-android/
If you want to try the new NativeUI on your Android device, you can download the latest nightly builds here: http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-birch-android/


==How To Build==
== How To Build ==
The project repository is here: http://hg.mozilla.org/projects/birch


Follow the instructions from [[Mobile/Fennec/Android]]. Build as you normally would (make -f client.mk), just with a different mozconfig.
The project repository is here: http://hg.mozilla.org/projects/birch
 
Follow the instructions from [[Mobile/Fennec/Android]]. Build as you normally would (make -f client.mk), just with a different mozconfig.  


Here's an example mozconfig:  
Here's an example mozconfig:  
Line 38: Line 39:
  mk_add_options MOZ_MAKE_FLAGS="-j9 -s"
  mk_add_options MOZ_MAKE_FLAGS="-j9 -s"


<br>


  hg clone http://hg.mozilla.org/projects/birch/ src
  hg clone http://hg.mozilla.org/projects/birch/ src
Line 45: Line 47:
  export MOZCONFIG=~/src/mozconfig-droid
  export MOZCONFIG=~/src/mozconfig-droid
  make -f client.mk
  make -f client.mk
=== Build for Mac&nbsp;OSX<br> ===
Requirements : Mercurial (hg), autoconf-2.13 (Use Macports to install), Android SDK/NDK<br>
<pre>hg clone http://hg.mozilla.org/projects/birch/ src
cd src
vi .mozconfig
</pre>
Here's an example .mozconfig: <br>
<pre>dd the correct paths here:
ac_add_options --with-android-ndk="$HOME/android-ndk-r6b"
ac_add_options --with-android-toolchain="$HOME/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86"
ac_add_options --with-android-platform="$HOME/android-ndk-r6b/platforms/android-8/arch-arm"
ac_add_options --with-android-tools="$HOME/android-sdk-mac_x86/tools"
ac_add_options --with-android-sdk="$HOME/android-sdk-mac_x86/platforms/android-13"
ac_add_options --with-android-version=8
# android options
ac_add_options --enable-debug
ac_add_options --disable-optimize
ac_add_options --enable-ccache
ac_add_options --disable-crashreporter
mk_add_options MOZ_OBJDIR=./objdir-droid
mk_add_options MOZ_MAKE_FLAGS="-j16 -s"
# Android options
ac_add_options --enable-application=mobile
ac_add_options --target=arm-linux-androideabi
ac_add_options --with-endian=little
</pre>
Build and intall on your device:<br>
<pre>make -f client.mk
make -C objdir-droid/ package
adb install -r objdir-droid/dist/fennec-10.0a1.en-US.android-arm.apk
</pre>
<br>


==Architecture Overview==
==Architecture Overview==
2

edits

Navigation menu