User:Joel Reymont/Android Notes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
= Current status =
= Current status =


=== October 7, 2009 ===
== October 7, 2009 ==
 
= Previous statuses =


= Android Notes =  
= Android Notes =  

Revision as of 15:43, 7 October 2009

Intro

This page collects my notes on porting Firefox to Android.

Current status

October 7, 2009

Previous statuses

Android Notes

Building Android on Snow Leopard

1. Get the sources.

2. Apply changes making sure there spaces before refs.

3. make

4. You are set and you can now run the emulator, e.g.

export AND_HOME=/Volumes/android/mydroid
export AND_BIN=$AND_HOME/out/host/darwin-x86/bin
export AND_PROD=$AND_HOME/out/target/product/generic
export AND_QEMU=$AND_HOME/prebuilt/android-arm/kernel/kernel-qemu
export AND_IMG=$AND_HOME/out/target/product/generic/userdata.img

hdiutil attach ~/work/android/android.dmg -mountpoint /Volumes/android

$AND_BIN/emulator -system $AND_PROD -kernel $AND_QEMU -data $AND_IMG