mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
87cbc76930
Entries in the servobuild.example file that are not defaults were commented out, defaults were mentioned in comments. Fix to https://github.com/servo/servo/issues/6361 Source-Repo: https://github.com/servo/servo Source-Revision: 3c1b8041d496746189c03dcd0f6e2af1ebca56b0
50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
# Copy this file to .servobuild in the Servo root directory
|
|
# Be sure to set the cache-dir correctly, otherwise extra snapshots
|
|
# may get downloaded
|
|
|
|
# Paths starting with "./" are relative to the repo root
|
|
|
|
# Tool options
|
|
[tools]
|
|
# Where Rust compiler snapshots and other downloads will be stored. Can be
|
|
# shared by multiple Servo reposities. Defaults to <servo-repo>/.servo
|
|
cache-dir = "./.servo"
|
|
|
|
# Where cargo stores all of its clones Defaults to <servo-repo>/.cargo
|
|
cargo-home-dir = "./.cargo"
|
|
|
|
# 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.
|
|
# rust-root and cargo-root default to <servo-repo>/
|
|
system-rust = false
|
|
#rust-root = "/path/to/rust"
|
|
system-cargo = false
|
|
#cargo-root = "/path/to/cargo"
|
|
|
|
[build]
|
|
# Set "mode = dev" or use `mach build --dev` to build the project with warning.
|
|
# or Set "mode = release" or use `mach build --release` for optimized build.
|
|
# Defaults to prompting before building
|
|
#mode = "dev"
|
|
# Set "android = true" or use `mach build --android` to build the Android app.
|
|
android = false
|
|
# Set "debug-mozjs" or use `mach build --debug-mozjs` to build a debug spidermonkey.
|
|
debug-mozjs = false
|
|
|
|
# Android information
|
|
[android]
|
|
# Defaults to the value of $ANDROID_SDK, $ANDROID_NDK, $ANDROID_TOOLCHAIN respectively
|
|
#sdk = "/opt/android-sdk"
|
|
#ndk = "/opt/android-ndk"
|
|
#toolchain = "/opt/android-toolchain"
|
|
|
|
# Gonk information
|
|
# Please fill the ndk/toolchain for android too
|
|
[gonk]
|
|
# Path to B2G repo and build
|
|
# Defaults to the value of $GONKDIR
|
|
#b2g = "/opt/B2G"
|
|
product = "flame"
|