diff options
author | bors-servo <release+servo@mozilla.com> | 2013-08-27 19:21:34 -0700 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-08-27 19:21:34 -0700 |
commit | 6c90dd54b2856d9ebdd275b30778ceef0a8fb300 (patch) | |
tree | aaf0b3d8cd829f610f3b0474011689de229b3653 | |
parent | b75a396c412dfa1af3229349d8e5281e40471882 (diff) | |
parent | b5c8ca2043fe51caa442bac8bb335eace8f22f11 (diff) | |
download | servo-6c90dd54b2856d9ebdd275b30778ceef0a8fb300.tar.gz servo-6c90dd54b2856d9ebdd275b30778ceef0a8fb300.zip |
auto merge of #802 : aydinkim/servo/readme, r=metajack
Update Readme.md
-rw-r--r-- | README.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md index d4dc3db67eb..49eaa9107c2 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,15 @@ sudo apt-get install autoconf2.13 curl freeglut3-dev libtool \ xorg-dev msttcorefonts ``` +On Debian-based Linuxes (cross-compilation for Android): + +``` sh +sudo apt-get install autoconf2.13 curl libtool ia32-libs +``` +And it needs pre-installed Android tools. +See wiki for [details](https://github.com/mozilla/servo/wiki/Doc-building-for-android) + + Servo builds its own copy of Rust, so there is no need to provide a Rust compiler. @@ -43,6 +52,16 @@ make && make check ./servo ../src/test/html/about-mozilla.html ``` +###Building for Android target + +``` sh +git clone https://github.com/mozilla/servo.git +cd servo +mkdir -p build && cd build +../configure --target-triples=arm-linux-androideabi --android-cross-path=<Android toolchain path> --android-ndk-path=<Android NDK path> --android-sdk-path=<Android SDK path> +make +``` + ## Running ### Commandline Arguments |