Files
firefox/servo/python
edunham eacb2f3ac2 servo: Merge #10127 - Read rustc-with-gold setting from env var when no .servobuild (from edunham:gold-env-var); r=larsbergstrom
The build system needs to disable gold on arm64 slaves. Other configuration is
done through environment variables, and buildbot hosts currently don't use a
.servobuild file at all.

This change adds the `get_env_bool` function to cast an environment variable's
string contents into a Python boolean, and uses it to retrieve the optional
`SERVO_RUSTC_WITH_GOLD` setting.

I figured it's worth throwing the helper function in now in case we later want to read booleans from other env vars, but there's currently no need to make up a name for and read from an env var for every single setting.

r? @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 003fdd41769652188a5954e6499f3cb44eef6b10
2016-03-23 01:22:21 +05:00
..

This directory contains various Python modules used to support servo development.

= mach =

The command dispatch framework used to wrap the build system and test harnesses.

= servo =

servo-specific python code e.g. implementations of mach commands. This is the canonical repository for this code.