mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Auto merge of #11360 - mmatyas:readme_androidbuild, r=Manishearth
Update Android build instructions in README The Android build instructions haven't been updated for a while in the README; instead of `cd ports/android && ANDROID_SDK=/path/to/sdk make install`, we have `./mach package --release` now. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11360) <!-- Reviewable:end -->
This commit is contained in:
commit
e18bf81905
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