diff options
author | Mátyás Mustoha <mmatyas@inf.u-szeged.hu> | 2016-05-24 10:30:11 +0200 |
---|---|---|
committer | Mátyás Mustoha <mmatyas@inf.u-szeged.hu> | 2016-05-24 12:07:45 +0200 |
commit | 6dc78031873d117446a553bc1c34f5b1400fd72f (patch) | |
tree | 5abd8c65b1e5b279259cebeaf874d956a37bd742 | |
parent | 7b467ee52d59d1d2f078948acc9e4d188eac7338 (diff) | |
download | servo-6dc78031873d117446a553bc1c34f5b1400fd72f.tar.gz servo-6dc78031873d117446a553bc1c34f5b1400fd72f.zip |
Update Android build instructions in README
-rw-r--r-- | README.md | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/README.md b/README.md index 23a18ba80a2..8e8210422b9 100644 --- a/README.md +++ b/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 |