109
edits
Joel Reymont (talk | contribs) (Created page with '= Intro = This page collects my notes on porting Firefox to Android. = Current status = === October 7, 2009 === = Android Notes = == Building Android on Snow Leopard ==') |
Joel Reymont (talk | contribs) |
||
| Line 10: | Line 10: | ||
== Building Android on Snow Leopard == | == Building Android on Snow Leopard == | ||
1. [http://source.android.com/download Get the sources]. | |||
2. Apply [http://groups.google.com/group/android-platform/msg/efd76f9a3bd02a2b changes] making sure there spaces before ''refs''. | |||
3. make | |||
4. You are set and you can now run the emulator, e.g. | |||
<pre> | |||
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 | |||
</pre> | |||
edits