gecko-dev/servo/servobuild.example
Matt Brubeck add1ba71b5 servo: Merge #3568 - Add Android build config to mach/servobuild (from mbrubeck:mach-android); r=metajack
This allows setting Android toolchain paths in `.servobuild`, and also adds a `--android` option that sets the correct default target and causes `mach build` to also build the APK.

Source-Repo: https://github.com/servo/servo
Source-Revision: bf7beb4837246aa53f611492b1ff0986f221a47e
2014-10-03 15:45:28 -06:00

21 lines
583 B
Plaintext

# Tool options
[tools]
# If system-rust is true, will use rustc/rustdoc from the path, or if
# rust-root is specified, will make sure that rust-root is in the path
# when building. Similarly for Cargo. This takes care of PATH as well as
# [DY]LD_LIBRARY_PATH.
system-rust = false
rust-root = "/path/to/rust"
system-cargo = false
cargo-root = "/path/to/cargo"
[build]
# Set "android = true" or use `mach build --android` to build the Android app.
android = false
# Android information
[android]
sdk = "/opt/android-sdk"
ndk = "/opt/android-ndk"
toolchain = "/opt/android-toolchain"