aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
Commit message (Collapse)AuthorAgeFilesLines
* fix clean-cargo-cache command (#33408)Gae242024-09-111-1/+1
| | | Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* mach: Expose a `--skip-static-analysis` to `mach boostrap` (#32587)Martin Robinson2024-06-241-2/+5
| | | | | This should speed up runners which just need to run the WPT tests. Fixes #32582.
* bootstrap: Add a `--skip-platform` option (#32176)Martin Robinson2024-04-291-2/+5
| | | | This allows installign `taplo` and `crown` when you are installing dependencies manually.
* Preliminary Android build support (#31086)Mukilan Thiyagarajan2024-01-221-146/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Android build * Fixes * More fixes - Still failing in the linking step * More work on getting linking working Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: use mozjs with ndk r25c. loads servo.org more android build fixes. * fix ./mach run for android and make it follow logs Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * add experimental logic for compositor pause/resume Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * pass DPI from android to simpleservo Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * ci: add android workflow Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * switch to ANDROID_SDK_ROOT and ANDROID_NDK_ROOT vars Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade gradle to 4.10.1 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade to gradle 5.1.1 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade to gradle 8 and agp 8 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * make compositing work again with external present Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: improve mach support for non-NixOS and CI Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fix sampler compilation bug introduced in #30490 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * ci: add android build to main workflow Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * gradle: set MinSdk = targetSdk = 30 NDK requires we compile against the minSdk API level which is 30 in our case. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * add instructions for android in README.md Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: move servosurface to servoview Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: uncomment the mediasession callbacks on MainActivity Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: fix crash on MainAtivity.onDestroy Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: drop VR, arm 5 and unused code This commit drops: * support for google, oculusvr * support for arm5 architecture and also removes * fakeld scripts * unused java code Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * cleanup shell.nix Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: add FIXMEs for gstreamer code Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: remove commented code and debug logs Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * cleanup ServoView.java Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * mach: comment call to download gstreamer deps for android Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * disable bluetooth for jniapi as blurdroid is broken Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fixup! README.md * fixup! remove change in Cargo.toml * fixup! move shell variables together * fixup! cleanup jniapi/Cargo.toml comments * delete commented gstreamer related android code Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * remove unused config variable in servbuild Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: more cleanup Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * force no_static_freetype only for android * use actions to manage sdk, ndk and java Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * rename embedder event names to be more clear. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * link to startup crash issue Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fix lint issues Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade env_logger to 0.10 with duplicate exception libservo and android_logger can use env_logger 0.10 but quickcheck is still stuck on 0.8 and has not seen any activity in the last 2 years. This commit adds a duplicate exception until the quickcheck dependency can be upgraded (or replaced) Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: fix comments Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * disable jemalloc on android Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fixup! replace linux with android in cfg --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* 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
|