aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Upgrade to cargo 0.16.0-nightly (built 2016-12-06)Simon Sapin2016-12-061-1/+1
| | | | | | | | | | | | | | | | | | Instead of once per day (or night) with a date in the URL, Cargo binaries are now built and published for every merge to master (with the merge commit hash in the URL).
* | | Auto merge of #14379 - kimsnj:run-headless, r=jdmbors-servo2016-12-031-0/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use software rendering when running servo in headless mode <!-- Please describe your changes on the following line: --> Properly setting environment to use OsMesa in headless mode. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #13515 <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because I manually ran: `./mach run -d tests/html/about-mozilla.html -z` <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14379) <!-- Reviewable:end -->
| * | | Use software rendering when running servo in headless modeKimSnj2016-11-271-0/+20
| | |/ | |/|
* / | Move to Cargo workspacesAnthony Ramine2016-11-281-2/+0
|/ /
* / Use msvc toolchain when in Visual Studio envXidorn Quan2016-11-211-1/+2
|/
* Auto merge of #14172 - servo:ports, r=jdmbors-servo2016-11-161-2/+2
|\ | | | | | | | | | | | | | | Move the servo binary to ports. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14172) <!-- Reviewable:end -->
| * Move the servo binary to ports.Ms2ger2016-11-161-2/+2
| |
* | Fix test-wpt and test-css for Windows.Jack Moffitt2016-11-161-1/+4
|/ | | | | | In addition to minor changes for Windows, this forces Windows Python to be used for all Windows builds (instead of using Windows Python only for pc-windows-msvc builds).
* Add OSMesa headless mode, run WPT against Webrender, update tests.Glenn Watson2016-09-281-0/+12
|
* Create `mach bootstrap` based on Mozilla's mozboot bootstrapperUK9922016-09-071-1/+19
|
* Change the separator used in rust path into os.path.jointp6vup542016-08-221-2/+2
|
* Check PLATFORM for proper toolchain when use msvcXidorn Quan2016-08-181-1/+10
|
* Fix unicode env issues for call()Vladimir Vukicevic2016-08-171-10/+12
|
* Run git command only with mach build commandsUK9922016-08-051-2/+2
|
* Create .tar.gz package deterministicallyAnton Ovchinnikov2016-08-041-0/+53
| | | | Fixes #11981.
* Change to use msvc triple for Windows PythonXidorn Quan2016-07-111-1/+3
|
* Fix #12359: make ensure_bootstrap check for host std if rustc exists.Simon Sapin2016-07-091-4/+3
|
* Remove the "./mach build-stable" subcommandSimon Sapin2016-07-081-4/+1
| | | | It is replaced by "./mach build-gecklibo" using stable Rust.
* Fix "looking for rustc at …" message for stable when already bootstrappedSimon Sapin2016-07-081-2/+3
| | | | | | | | | | Also always download from static-rust-lang-org.s3.amazonaws.com instead of static.rust-lang.org. They host the same content, but the latter goes through a CDN and has a TLS certificate that failed to verify and some Python versions: https://github.com/servo/servo/issues/3582 https://github.com/servo/servo/pull/3971
* Add mach build-stable to build with stable rustcGabriel Poesia2016-06-301-11/+29
| | | | | | Github issue: #11806 Building with current stable rust (1.9.0) still fails because of feature pragmas in some dependencies (e.g. serde_item).
* Auto merge of #11262 - campaul:add_version_flag, r=Manishearthbors-servo2016-06-291-0/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `--version` flag - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #11241 (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ Not 100% sure of a good way to test this, so I'm submitting as is for feedback. Manually testing it appears to work fine. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11262) <!-- Reviewable:end -->
| * Add `--version` flagCameron Paul2016-06-281-0/+16
| |
* | Pass Ctr+C to underlying process when invoking commands through mach.Josh Matthews2016-06-171-1/+14
| |
* | Only enable borderless browserhtml window on OSX.Adam Casey2016-06-071-0/+9
| | | | | | | | Pass browserhtml path as relative path to avoid a mingw->windows path conversion
* | Add FreeBSD to `host_triple`Daniel Robertson2016-06-051-0/+2
| | | | | | | | | | Add FreeBSD to `host_triple` so that the correct nightly compiler will be downloaded.
* | Remove the gonk portLars Bergstrom2016-05-271-64/+1
| |
* | Auto merge of #11378 - mbrubeck:debug-mozjs, r=larsbergstrombors-servo2016-05-271-0/+7
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Default to the same Cargo features in all build commands Fixes #8308 and #7327. r? @larsbergstrom <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11378) <!-- Reviewable:end -->
| * Default to the same Cargo features in all build commandsMatt Brubeck2016-05-271-0/+7
| | | | | | | | Fixes #8308 and #7327.
* | Reduce 'android-18' duplication, as originally done by wenderenMitchell Hentges2016-05-201-0/+3
|/ | | | Use android.platform (and $ANDROID_PLATFORM) for configuration, apply 'android-18' default
* Auto merge of #11122 - mbrubeck:unify-builds, r=larsbergstrombors-servo2016-05-111-1/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the same build environment and features for CEF, Servo, Gonk, Geckolib * Remove unnecessary dependencies and features from top-level Cargo.tomls. The features for each crate will be computed based on the union of features specified in the dependency graph. Specifying the same ones again just adds more ways for them to get out of sync. * Move all cargo build environment variables into CommandBase Fixes #11112. r? @metajack (Not included: CI test to make sure #11112 doesn't regress again.) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11122) <!-- Reviewable:end -->
| * Move all cargo build environment variables into CommandBaseMatt Brubeck2016-05-101-1/+11
| |
* | Override $CARGO_HOME only if cargo-home-dir is in .servobuildMatt Brubeck2016-05-111-2/+3
|/ | | | | | | | | | | | | | | This preserved the fix from #11097 in the situation where `$CARGO_HOME` and `cargo-home-dir` in `.servobuild` are both present: `.servobuild` should win. But it changes the behavior when `$CARGO_HOME` is present and `.servobuild` is not: Then `$CARGO_HOME` should be used. We now check the following values in order of priority and use the first one that is found: 1. `cargo-home-dir` in `.servobuild` 2. `CARGO_HOME_DIR` in the enivironment 3. default value (`<servo-repo>/.cargo`)
* Override always 'CARGO_HOME' env variable.Tetsuharu OHZEKI2016-05-101-2/+1
| | | | | | | | | | | | | This use always `cargo-home-dir` in `/.servobuild` even if you set `CARGO_HOME` in your shell. If you use [racer][racer] with [rustup (multirust.rs)][rustup], you may set `CARGO_HOME` env variable. Then the previous code would be a problem which does not use `cargo-home-dir` in `/.servobuild`. [racer]: https://github.com/phildawes/racer [rustup]: https://github.com/rust-lang-nursery/rustup.rs
* Improve build target argument handlingMátyás Mustoha2016-05-051-6/+7
|
* Auto merge of #10620 - autrilla:mach-command-improvements, r=Wafflespeanutbors-servo2016-04-171-11/+19
|\ | | | | | | | | | | | | | | Improved readability of ensure_bootstrapped <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10620) <!-- Reviewable:end -->
| * Improved readability of ensure_bootstrappedAdrian Utrilla2016-04-161-11/+19
| |
* | mach install now builds servo if it hasn't been built beforeAdrian Utrilla2016-04-151-2/+12
|/
* Fix ./mach runUK9922016-03-271-0/+3
|
* Remove rustc wrapper script for gold in favor of using RUSTFLAGSLars Bergstrom2016-03-251-1/+1
|
* Read SERVO_RUSTC_WITH_GOLD if no .servobuildedunham2016-03-221-1/+7
| | | | | | | | | | 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.
* Remove unused use_nightly_rust function.Ms2ger2016-03-221-5/+0
|
* Remove submodule update from mach bootstrap. Fixes #10010malayaleecoder2016-03-161-2/+0
|
* Detect Cygwin environment on WindowsWei Tang2016-03-091-1/+1
| | | | | | Currently if Servo is built using Cygwin, it is incorrectly classified as "unknown" host, which makes downloading Rust and Cargo fail. This commit fixes that.
* Now we use python for os_type, we need to catch 'windows' as well as ↵Jason Williams2016-02-131-1/+1
| | | | 'mingw65_nt- fixes #9597'
* Auto merge of #9588 - Jayflux:hotfix/9499, r=Wafflespeanutbors-servo2016-02-131-1/+2
|\ | | | | | | | | | | | | | | add check for win32 or msys before running rustc-with-gold fixes #9499 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9588) <!-- Reviewable:end -->
| * add check for win32 or msys before running rustc-with-gold fixes #9499Jayflux2016-02-131-1/+2
| |
* | use python's built in platform module for detection, for more accuracy and ↵Jason Williams2016-02-131-2/+4
|/ | | | cross platform support
* Download extra std lib when cross-compiling #9557Daniel Robertson2016-02-121-4/+7
| | | | | Split ensure_bootstrap into two phases including a phase checking the compiler, and a phase checking for target libraries.
* Removed documentation referencing 'android-rs-glue', and updated a similar ↵qpid2016-02-051-4/+4
| | | | comment to mention 'build-apk'
* Revert "Remove gold hack, since it's in rustc automatically now"Lars Bergstrom2016-01-281-0/+6
| | | | This reverts commit 2955d895a4d723bc616f37a55a973c677318a950.