aboutsummaryrefslogtreecommitdiffstats
path: root/servobuild.example
diff options
context:
space:
mode:
authorSumith <sumith1896@gmail.com>2015-06-13 02:42:45 +0530
committerSumith <sumith1896@gmail.com>2015-06-13 03:34:54 +0530
commit0e657b25697e7a848e3e1bae3d03a6322f3b545f (patch)
tree8d9834d2ea91baaa7492cf3d4d2aefc2aa33385e /servobuild.example
parentc8c7bd900dde73d4fddafea8239f44440f1c863b (diff)
downloadservo-0e657b25697e7a848e3e1bae3d03a6322f3b545f.tar.gz
servo-0e657b25697e7a848e3e1bae3d03a6322f3b545f.zip
Entries in servobuild.example file
Entries in the servobuild.example file that are not defaults were commented out, defaults were mentioned in comments
Diffstat (limited to 'servobuild.example')
-rw-r--r--servobuild.example20
1 files changed, 12 insertions, 8 deletions
diff --git a/servobuild.example b/servobuild.example
index a29ec9aaf27..65af520af32 100644
--- a/servobuild.example
+++ b/servobuild.example
@@ -17,15 +17,17 @@ cargo-home-dir = "./.cargo"
# 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"
+#rust-root = "/path/to/rust"
system-cargo = false
-cargo-root = "/path/to/cargo"
+#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.
-mode = "dev"
+# 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.
@@ -33,13 +35,15 @@ debug-mozjs = false
# Android information
[android]
-sdk = "/opt/android-sdk"
-ndk = "/opt/android-ndk"
-toolchain = "/opt/android-toolchain"
+# 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
-b2g = "/opt/B2G"
-product = "flame" \ No newline at end of file
+# Defaults to the value of $GONKDIR
+#b2g = "/opt/B2G"
+product = "flame"