diff options
author | Lars Bergstrom <larsberg@mozilla.com> | 2015-04-17 14:56:13 -0500 |
---|---|---|
committer | Lars Bergstrom <larsberg@mozilla.com> | 2015-04-17 14:56:13 -0500 |
commit | 52e6df435ee115b37549bf7017eb824deb1fefcf (patch) | |
tree | 1bddc6377f3a465ace2b0ccf031c6f008a2c28e9 | |
parent | 2b3acd1f5d3bcbbb796b3552a17e64cdc756a0d0 (diff) | |
download | servo-52e6df435ee115b37549bf7017eb824deb1fefcf.tar.gz servo-52e6df435ee115b37549bf7017eb824deb1fefcf.zip |
Update Gonk README with bootstrap information
The bootstrap binaries have been approved for public use, so we do not need to request that everyone rebuild B2G in order to try out the B2S build.
r? @manishearth
-rw-r--r-- | ports/gonk/README.md | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/ports/gonk/README.md b/ports/gonk/README.md index 58060cf7294..fbdfb3e8ef7 100644 --- a/ports/gonk/README.md +++ b/ports/gonk/README.md @@ -4,9 +4,19 @@ Follow the steps [here](https://github.com/servo/servo/wiki/Building-for-Android) for setting up the Android NDK and toolchain. + +## Bootstrap B2G + +We have a bootstrap of the require B2G prebuilt binaries, assuming that you are targeting a Flame device. + +``` +curl https://servo-rust.s3.amazonaws.com/B2G/B2G.tgz +tar zxvf B2G.tgz +``` + ## Build B2G -Note: this will take a long time and will take around 20GB of space +If you are not using a Flame or just would like to have a local build of the binaries, you can also build B2G locally. Note: this will take a long time and will take around 20GB of space Disable the screen timeout on the device, and connect to wifi. Also connect it to your computer with remote debugging enabled. @@ -32,8 +42,7 @@ Then run ## Build B2S -Either set the corresponding `b2g` key in `.servobuild` to the path to the B2G clone (along with), or set the `$GONKDIR` -environment variable. +Either set the corresponding `b2g` key in `.servobuild` to the path to the B2G bootstrap or clone (along with), or set the `$GONKDIR` environment variable. Do the same for the `ndk` and `toolchain` keys (`$ANDROID_NDK` and `$ANDROID_TOOLCHAIN` respectively) |