mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
add1ba71b5
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
21 lines
583 B
Plaintext
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"
|