aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove `__future__` imports that are no longer necessary (#30661)Martin Robinson2023-11-021-2/+0
| | | These are no longer necessary as we always use Python 3.
* Make rustup a requirement and switch to `rust-toolchain.toml` (#30056)Martin Robinson2023-08-011-7/+10
| | | | | | | | | | | | | | This change makes rustup a requirement for building Servo with `./mach` and switches to the newer `rust-toolchain.toml` format. The goal here is to make mach builds more similar to non-mach builds. - The new format allows listing the required components, removing some of the complexity from our mach scripts. - This means we must raise the required version of rustup to 1.23. The current version is 1.26. - We no longer wrap every call to cargo and rustc in "rustup run" calls as both cargo and rustc will take care of installing and using all necessary components specified in `rust-toolchain.toml` when run inside the project directory.
* Windows bootstrap supportMartin Robinson2023-07-031-2/+2
|
* Start organizing platform-specific Python codeMartin Robinson2023-05-191-5/+16
| | | | | | This starts to split platform-specific Python code into its own module, which should help to tidy up our mach commands and make things more reusable.
* Replace usage of six.moves.urllib with urllibMartin Robinson2023-04-101-2/+2
| | | | | | Also organize some of the imports. Now that Servo only uses Python 3, this module is unnecessary. This is part of the gradual migration to using only Python 3.
* Remove unused salt bootstrapping process.Josh Matthews2023-01-191-9/+0
|
* Use except Exception where Py2/3 disagreesKagami Sascha Rosylight2020-06-211-1/+1
|
* Fix remaining flake8 warningsKagami Sascha Rosylight2020-06-211-4/+4
|
* Mach: rename default_toolchain to rust_toolchainSimon Sapin2020-01-021-2/+1
|
* Fix except statement in order to be compatible with Python3marmeladema2019-10-161-1/+1
|
* Use urllib from six module in order to be compatible with Python3marmeladema2019-10-161-3/+3
|
* Download platform-tools even for non-emulator buildsPaul Rouget2019-08-271-0/+1
|
* Remove `./mach env` as it is a lie.Simon Sapin2019-07-011-12/+0
| | | | | We stopped overriding `$PATH` since using rustup. The printed variables are not sufficient to do anything.
* Upgrade NDK to v15c.Josh Matthews2019-05-011-5/+5
|
* Reduce log spam when running sdkmanagerSimon Sapin2018-10-111-6/+29
|
* Add --accept-all-licences to ./mach bootstrap-androidSimon Sapin2018-10-111-4/+12
|
* Add `--build` and `--emulator-x86` to `./mach bootstrap-android`Simon Sapin2018-10-111-24/+34
| | | | This allows not downloading dependencies that are not needed for a praticular task.
* Comment on ./mach bootstrapManish Goregaokar2018-09-111-0/+3
|
* Add mach bootstrap-gstreamerManish Goregaokar2018-09-111-0/+9
|
* Make ./mach bootstrap into a full-fledged linux dependency installerManish Goregaokar2018-09-111-0/+9
|
* Fix python indentation.Josh Matthews2018-08-011-1/+1
|
* mach: Avoid python error when there's no cargo cache.Josh Matthews2018-08-011-8/+9
|
* Update Gradle and SDKPaul Rouget2018-07-311-1/+1
|
* Auto merge of #21104 - wayling:master, r=jdmbors-servo2018-07-281-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "./mach env" cause unclear message. We did't use "LD_LIBRARY_PATH" and no need display this. <!-- Please describe your changes on the following line: --> Remove the print message. --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/21104) <!-- Reviewable:end -->
| * "./mach env" cause unclear messagewayling2018-07-281-4/+4
| | | | | | | | Use the "get" instead to avoid the error.
* | Remove unused --update parameter to ./mach bootstrap-androidSimon Sapin2018-07-121-4/+1
| |
* | Android: increase emulator disk size, for debug buildsSimon Sapin2018-07-021-1/+1
| | | | | | | | Avoid INSTALL_FAILED_INSUFFICIENT_STORAGE on install.
* | bootstrap-android: check SHA1 hashes of downloaded archivesSimon Sapin2018-07-021-3/+16
| |
* | Add "./mach android-emulator"Simon Sapin2018-07-021-1/+1
| |
* | Use the bootstraped Android toolchains by defaultSimon Sapin2018-07-021-16/+6
| |
* | bootstrap-android: always run sdkmanagerSimon Sapin2018-07-021-39/+38
| | | | | | | | It is quick when already up to date
* | bootstrap-android: use predictable paths for SDK and NDKSimon Sapin2018-07-021-10/+14
| | | | | | | | … independent of the version number
* | Create emulator images for both ARM and x86Simon Sapin2018-07-021-16/+33
| |
* | Do not prompt for Android emulator hardware profileSimon Sapin2018-07-021-8/+12
| |
* | TidySimon Sapin2018-07-021-1/+0
| |
* | mach bootstrap-android: configure and show how to start an emulatorSimon Sapin2018-07-021-0/+6
| |
* | Create and Android virtual deviceSimon Sapin2018-07-021-0/+9
| |
* | Use more recent Android toolsSimon Sapin2018-07-021-29/+32
| | | | | | | | The older version seems to insist on updating itself when asked to install other components.
* | Install complete Android SDK (as much as on Buildbot CI)Simon Sapin2018-07-021-9/+20
| |
* | Add `./mach bootstrap-android`Simon Sapin2018-07-021-1/+52
|/
* Auto merge of #20789 - Eijebong:fix-clean-cache, r=jdmbors-servo2018-06-061-2/+8
|\ | | | | | | | | | | | | | | | | | | | | Don't try to list files in directories that don't exist Fixes #20784 <!-- 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/20789) <!-- Reviewable:end -->
| * Don't try to list files in directories that don't existBastien Orivel2018-05-151-2/+8
| | | | | | | | Fixes #20784
* | Remove geckolib-related build commands.Emilio Cobos Álvarez2018-05-171-9/+6
|/
* Show actual exception when deletion fails.Josh Matthews2018-03-081-0/+2
|
* Added default fall-back when CARGO_HOME is not set for clean-cargo-cacheTimur Borkhodoev2018-01-221-1/+2
|
* auto clean cachetigercosmos2018-01-181-6/+6
|
* Use rustup.rs instead of custom bootstrapSimon Sapin2018-01-101-199/+23
| | | | Fixes #11361, closes #18874
* Stop using "alternate" rustc builds.Simon Sapin2017-11-141-9/+2
| | | | | With https://github.com/rust-lang/rust/pull/45810, normal Nightly now has LLVM assertions disabled.
* Auto merge of #18953 - servo:keep, r=jdmbors-servo2017-10-201-1/+4
|\ | | | | | | | | | | | | | | | | | | Fix './mach clean-nightlies --keep 3' not keeping anything. This affects CI, re-downloading Nightly for every build. <!-- 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/18953) <!-- Reviewable:end -->
| * Fix './mach clean-nightlies --keep 3' not keeping anything.Simon Sapin2017-10-191-1/+4
| |