mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update Android build instructions in README
This commit is contained in:
parent
7b467ee52d
commit
6dc7803187
1 changed files with 8 additions and 3 deletions
11
README.md
11
README.md
|
@ -143,9 +143,14 @@ real-world use, add the `--release` flag to create an optimized build:
|
|||
``` sh
|
||||
git clone https://github.com/servo/servo
|
||||
cd servo
|
||||
ANDROID_TOOLCHAIN=/path/to/toolchain ANDROID_NDK=/path/to/ndk PATH=$PATH:/path/to/toolchain/bin ./mach build --android
|
||||
cd ports/android
|
||||
ANDROID_SDK=/path/to/sdk make install
|
||||
|
||||
export ANDROID_SDK="/path/to/sdk"
|
||||
export ANDROID_NDK="/path/to/ndk"
|
||||
export ANDROID_TOOLCHAIN="/path/to/toolchain"
|
||||
export PATH="$PATH:/path/to/toolchain/bin"
|
||||
|
||||
./mach build --release --android
|
||||
./mach package --release
|
||||
```
|
||||
|
||||
Rather than setting the `ANDROID_*` environment variables every time, you can
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue