|
|
Line 7: |
Line 7: |
| * http://blog.lassey.us/2010/07/09/android-development-vm/ | | * http://blog.lassey.us/2010/07/09/android-development-vm/ |
| * http://blog.lassey.us/2011/07/22/updated-android-development-vm/ | | * http://blog.lassey.us/2011/07/22/updated-android-development-vm/ |
|
| |
| == Full Setup Script ==
| |
|
| |
| If you're running Ubuntu 12.04 (or possibly versions around there, though they're untested) and 64-bit, you're in luck. The following script will setup your entire build environment for you, including cloning a repo and changing some things in it so you can debug. Simply copy and paste this into your terminal:
| |
|
| |
| wget https://github.com/DouglasSherk/Mozilla-Fennec-Dev-Env-Setup/raw/master/bootstrap.sh -O - | sh
| |
|
| |
| You can find the project for these scripts here: https://github.com/DouglasSherk/Mozilla-Fennec-Dev-Env-Setup
| |
|
| |
| '''Note: Requirements to use this are:
| |
| * Must be running Ubuntu 12.04, 64-bit. Ideally it should be a fresh install.
| |
| * Must have already rooted phone.
| |
| * Phone must be plugged in.
| |
|
| |
| '''What this does:
| |
| * Install all prerequisite libraries.
| |
| * Setup Android NDK and SDK.
| |
| * Add all USB debugging entries to system files so any device you plug in will be registered correctly.
| |
| * Builds and installs gold, for faster linking.
| |
| * Clone a copy of mozilla-central.
| |
| * Write a basic .mozconfig for you and changes some files so debugging is easier.
| |
| * Builds JimDB, also uploads the gdbserver part.
| |
| * Installs several helpful scripts for building and debuggin (in ~/bin).
| |
| * Builds and deploys mozilla-central.
| |
|
| |
|
| == Quick Script == | | == Quick Script == |