aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename glutin port to winitatouchet2020-05-271-2/+2
|
* Partial preparations for upgrading to Rust nightly-2020-05-26Simon Sapin2020-05-261-1/+7
| | | | | CC https://github.com/servo/servo/issues/26661 Fixes https://github.com/servo/servo/issues/26645
* Update surfman to 0.2 and remove glutinAlan Jeffrey2020-04-171-28/+0
|
* Remove some old requirementsDaniel Alley2020-04-121-1/+1
| | | | Remove some bits left over from Skia and Ubuntu 14.04 support
* Remove azure canvas backendDaniel Alley2020-02-251-7/+1
| | | | closes #25833
* Correctly install 'nigthtly' (without a date) if it’s not installed already.Simon Sapin2020-01-311-1/+6
| | | | | | | | Should fix errors like: https://community-tc.services.mozilla.com/tasks/WWNv1op4QUau10ixVuJfFQ/runs/0/logs/https%3A%2F%2Fcommunity-tc.services.mozilla.com%2Fapi%2Fqueue%2Fv1%2Ftask%2FWWNv1op4QUau10ixVuJfFQ%2Fruns%2F0%2Fartifacts%2Fpublic%2Flogs%2Flive.log#L364-401 … where the previous code would find the string `nightly` in the output of `rustup toolchain list` in a line like `nightly-2020-01-16-x86_64-unknown-linux-gnu` and conclude that that toolchain was already installed.
* mach: fix error on Python 3 when specifying a targetZhuowei Zhang2020-01-261-1/+1
| | | | | | | | | | | | | | | | | | Previously, when running Mach on Python 3, specifying a target when building causes this error: ``` TypeError: a bytes-like object is required, not 'str' File "/servo/python/servo/build_commands.py", line 241, in build self.ensure_bootstrapped(target=target) File "/servo/python/servo/command_base.py", line 1023, in ensure_bootstrapped ["rustup", "target", "list", "--installed", "--toolchain", toolchain] ``` This change encodes the target using utf-8 before comparing. Fixes #25614.
* Auto merge of #25300 - MeFisto94:improve-msvc-detection, r=jdmbors-servo2020-01-081-2/+26
|\ | | | | | | | | | | | | | | | | | | | | | | Mach: Improve Visual Studio detection for non-standard-path installations Improve locating the Visual Studio installation --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #25225 - [X] These changes do not require tests because testing build infrastructure is difficult
| * Mach: Improve Visual Studio detection for non-standard-path installationsMeFisto942019-12-161-2/+26
| |
* | Put correct version number in rustup version-requirement string, sys.exit(1) ↵pshaughn2020-01-061-4/+5
| | | | | | | | on bad rustup version
* | Fix Python 3 support in mach’s `ensure_bootstrapped`Simon Sapin2020-01-021-2/+2
| |
* | Install `rust-docs` rustup component in `./mach doc`Simon Sapin2020-01-021-4/+6
| |
* | mach + rustup: use the minimal profile and install rustc-devSimon Sapin2020-01-021-2/+7
| |
* | mach: always call `ensure_bootstrapped` before `call_rustup_run`Simon Sapin2020-01-021-1/+1
| |
* | mach: explicitly install the toolchain and target in `ensure_bootstrapped`Simon Sapin2020-01-021-5/+7
| |
* | mach: check rustup version in `ensure_bootstrapped()`Simon Sapin2020-01-021-16/+20
| |
* | mach: on Windows, opt into MSVC target for all uses of `rust_toolchain()`Simon Sapin2020-01-021-4/+5
| |
* | mach: run `rustup target add` in `ensure_bootstrapped`Simon Sapin2020-01-021-0/+9
| |
* | Mach: rename default_toolchain to rust_toolchainSimon Sapin2020-01-021-9/+6
| |
* | Print OSMesa environment variables when starting debugger under WPT.Josh Matthews2019-12-201-1/+7
| |
* | Enable raqote by defaultpylbrecht2019-12-171-2/+2
| |
* | Add `layout-2020` option to the `.servobuild` fileSimon Sapin2019-12-161-2/+5
|/ | | | … and `--with-layout-2013` command-line option to disable it.
* Use filename instead of already opened file descriptor when calling ZipFilemarmeladema2019-12-121-1/+1
| | | | This should fix #25251
* Fix tidiness errors for Python3 compatibility across whole repomarmeladema2019-12-111-1/+1
|
* Use is_linux to check for current platform instead of relying on sys.platformmarmeladema2019-12-101-3/+3
|
* Properly open file as 'wb' in archive_deterministicallymarmeladema2019-12-101-2/+2
|
* Convert cmp= to key= in sort method call for Python3 compatibilitymarmeladema2019-12-091-1/+2
|
* Support overriding the moztools path order.Josh Matthews2019-11-271-2/+8
|
* Add a .servobuild option for --with-debug-assertionsSimon Sapin2019-11-261-1/+2
|
* Require gstreamer 1.16 in machAlan Jeffrey2019-11-251-3/+3
|
* Extract media_stack pick into CommandBaseTuncer Ayaz2019-11-211-0/+13
|
* Allow media_stack in run_cargo_build_like_commandTuncer Ayaz2019-11-211-1/+1
|
* Implement `./mach check --media-stack`Tuncer Ayaz2019-11-211-0/+6
| | | | While at it, extract --media-stack flag into command_base.py.
* Fix needs_gstreamer_env() signatureTuncer Ayaz2019-11-211-1/+1
| | | | Use iterable default value for `features`.
* Pass feature list to build_env()Tuncer Ayaz2019-11-211-3/+5
|
* Use surfman for managing GL surfacesPatrick Walton2019-11-011-2/+2
| | | | | | Co-authored-by: Alan Jeffrey <ajeffrey@mozilla.com> Co-authored-by: Zakor Gyula <gyula.zakor@h-lab.eu> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
* Use 'byte' regexp pattern to match on 'byte' stringmarmeladema2019-10-221-1/+1
| | | | This is done in order to be compatible with Python3
* Convert git sha hash to text to be compatible with Python3marmeladema2019-10-221-1/+1
| | | | | This also pin the six module version to 1.12 in order to be sure six.ensure_text is available.
* Use six.text_type instead of str to check instance typemarmeladema2019-10-221-2/+2
|
* Use linux_distribution() from distro package instead of builtin platform modulemarmeladema2019-10-201-2/+6
| | | | | platform.linux_distribution() is deprecated since Python 3.5 and will be removed with Python 3.8.
* Use relative import statements to be compatible with Python3marmeladema2019-10-201-1/+1
|
* Auto merge of #24447 - servo:uninit, r=noxbors-servo2019-10-161-0/+4
|\ | | | | | | | | | | Work around deprecation warnings caused by autocfg $RUSTFLAGS handling See https://github.com/servo/servo/issues/24446
| * Work around deprecation warnings caused by autocfg $RUSTFLAGS handlingSimon Sapin2019-10-151-0/+4
| | | | | | | | See https://github.com/servo/servo/issues/24446
* | Use octal literal syntax compatible with Python3marmeladema2019-10-161-1/+1
| |
* | Use urllib from six module in order to be compatible with Python3marmeladema2019-10-161-4/+4
| |
* | Improve print statement compatibility with Python3marmeladema2019-10-161-5/+7
|/
* Support building UWP with native UWP rustc target.Josh Matthews2019-10-121-6/+5
|
* Allow building and cleaning for UWP without system GStreamerFernando Jimenez Moreno2019-10-081-2/+4
|
* Use correct OpenSSL arch in UWP builds.Josh Matthews2019-10-031-1/+1
|
* Update to UWP compatible OpenSSL build.Josh Matthews2019-10-021-1/+4
|