diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md index 798da1d2dbd..5794bf98b55 100644 --- a/README.md +++ b/README.md @@ -87,12 +87,21 @@ cd servo ``` 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 --target arm-linux-androideabi +ANDROID_TOOLCHAIN=/path/to/toolchain ANDROID_NDK=/path/to/ndk PATH=$PATH:/path/to/toolchain/bin ./mach build --android cd ports/android ANDROID_NDK=/path/to/ndk ANDROID_SDK=/path/to/sdk make ANDROID_SDK=/path/to/sdk make install ``` +Rather than setting the `ANDROID_*` environment variables every time, you can +also create a `.servobuild` file and then edit it to contain the correct paths +to the Android SDK/NDK tools: + +``` +cp servobuild.example .servobuild +# edit .servobuild +``` + ## Running ### Commandline Arguments |