Skip to content

Commit

Permalink
Update README.md for android build instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
aydin.kim committed Aug 28, 2013
1 parent 5647ca6 commit b5c8ca2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Expand Up @@ -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.

Expand All @@ -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
Expand Down

5 comments on commit b5c8ca2

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from metajack
at aydinkim@b5c8ca2

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging aydinkim/servo/readme = b5c8ca2 into auto

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aydinkim/servo/readme = b5c8ca2 merged ok, testing candidate = 6c90dd5

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 6c90dd5

Please sign in to comment.