aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
Commit message (Collapse)AuthorAgeFilesLines
* docs: clarify 'clean' commandFlorian-Schoenherr2021-08-211-2/+2
| | | | Signed-off-by: Florian-Schoenherr <florian.schoenherr99@gmail.com>
* Auto merge of #27865 - servo:github-actions-dev, r=jdmbors-servo2021-03-111-14/+9
|\ | | | | | | Add Github Actions workflow for mac/linux/windows builds
| * Ensure clang-cl is always used in windows builds.Josh Matthews2021-02-261-9/+1
| |
| * Don't package gstreamer when it's disabled.Josh Matthews2021-02-261-5/+8
| |
* | Use build-std instead of xargo.Josh Matthews2021-02-251-1/+0
|/
* Use new S3 bucketsSimon Sapin2020-11-111-2/+2
| | | | CC https://github.com/servo/project/issues/25
* Ignore UWP restrictions for host binaries.Josh Matthews2020-07-301-4/+4
|
* Add more gstreamer plugins to nightly builds.Josh Matthews2020-07-271-0/+3
|
* Load explicit set of gstreamer plugins on macos, and include them in the ↵Josh Matthews2020-07-161-54/+30
| | | | nightly package.
* Update Servo logo filesAlex Touchet2020-06-291-1/+1
|
* Use except Exception where Py2/3 disagreesKagami Sascha Rosylight2020-06-211-2/+2
|
* Fix new flake8 warningsKagami Sascha Rosylight2020-06-201-4/+4
|
* Fix Py3 environment setting failuresKagami Sascha Rosylight2020-06-201-1/+4
|
* Add VCINSTALLDIR to the 'do not run within vcvarsall' checkManish Goregaokar2020-04-161-2/+3
|
* Report error when vcvarsall failsManish Goregaokar2020-04-161-1/+5
|
* implement mach clean-uwpPaul Rouget2020-04-081-9/+19
|
* Auto merge of #25365 - MeFisto94:autolaunch-vcvars, r=jdmbors-servo2020-03-231-0/+11
|\ | | | | | | | | | | | | | | | | | | | | | | Launch vcvarsall.bat for the recognized VS Installation Directory from python instead of making mach.bat try that on hardcoded paths. Move the Execution of vcvars (which sets up the environment for visual studio tools) from mach.bat to python, so that ./mach works under mozilla-build and that #25300 can be used. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #25360 #25336 - [X] These changes do not require tests because changes to build infra
| * Launch vcvarsall.bat for the recognized VS Installation Directory from ↵MeFisto942019-12-231-0/+11
| | | | | | | | python instead of making mach.bat try that on hardcoded paths.
* | Copy openssl DLLs to unit test directory.Josh Matthews2020-03-171-4/+5
| |
* | Synchronize ANGLE linking path with VS project.Josh Matthews2020-02-201-2/+14
| |
* | Auto merge of #25736 - Darkspirit:ossl, r=jdmbors-servo2020-02-141-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add OpenSSL 1.1.1 build check, Update HSTS Preload list * This variant also works with cross-compilation. PR should fail in CI on Android at first: The net crate successfully compiled after switching to OpenSSL 1.1.1 on Android. It seemed openssl.sh doesn't need any changes.(?) * Updated HSTS preload list and public suffix list. * Configured OpenSSL [SECLEVEL=2](https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_security_level.html) like [Debian](https://wiki.debian.org/ContinuousIntegration/TriagingTips/openssl-1.1.1) Stable: > As a result RSA, DSA and DH keys shorter than [2048 bits](https://github.com/cabforum/documents/blob/16a5a9bb78a193266f8d1465de1ee5a1acf5d184/docs/BR.md#6153-subscriber-certificates) and ECC keys shorter than 224 bits are prohibited. * Although all other crates compile I generally get a `libscript-fe019dd3e0a4e06d.rlib: bad extended name index at 8` error on simpleservo_jniapi, I guess Debian Testing is too new and I just haven't found the right steps so far. ./mach build -d --android ``` = note: /home/darkspirit/github/servo/android-toolchains/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld.gold: error: /home/darkspirit/github/servo/target/android/armv7-linux-androideabi/debug/deps/libscript-fe019dd3e0a4e06d.rlib: bad extended name index at 8 clang: error: linker command failed with exit code 1 (use -v to see invocation) toolchain: /home/darkspirit/github/servo/android-toolchains/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin libs dir: /home/darkspirit/github/servo/android-toolchains/ndk/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a sysroot: /home/darkspirit/github/servo/android-toolchains/ndk/platforms/android-21/arch-arm targetdir: /home/darkspirit/github/servo/target/android/armv7-linux-androideabi/debug/build/simpleservo_jniapi-26ef18debb5b3630/out/../../.. ``` - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #25708, fix #25619.
| * | Switch Android to OpenSSL 1.1.1dJan Andre Ikenmeyer2020-02-121-2/+2
| | |
* | | Build: check for VC142 MSVC redist dirRobert Bragg2020-02-111-1/+1
|/ /
* | Revert "Auto merge of #25509 - jdm:angle-up, r=asajeffrey"Josh Matthews2020-02-101-1/+1
| | | | | | | | | | This reverts commit ce6204b904e62307915e0870611bad473cd48843, reversing changes made to 904fcb4317ffd0f1ed6d0400cdb768fedacfda3d.
* | Update ANGLE for UWP build.Josh Matthews2020-01-131-1/+1
| |
* | mach: run `rustup target add` in `ensure_bootstrapped`Simon Sapin2020-01-021-9/+1
| |
* | Mach: rename default_toolchain to rust_toolchainSimon Sapin2020-01-021-1/+1
|/
* Auto merge of #25247 - pshaughn:clean_virtualenv2.7, r=jdmbors-servo2019-12-121-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mach clean now finds the right virtualenv to remove <!-- Please describe your changes on the following line: --> mach clean now knows about the https://github.com/servo/servo/commit/00cf7452ef2bcb272dafb09a711301a2ef280ae2 change and will remove _virtualenv2.7 appropriately --- <!-- 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 problems discussed today with SimonSapin in IRC <!-- Either: --> - [X] These changes do not require tests because the functionality being changed uninstalls some of the test framework <!-- 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. -->
| * mach clean now finds the right virtualenvPatrick Shaughnessy2019-12-111-1/+2
| |
* | Fix tidiness errors for Python3 compatibility across whole repomarmeladema2019-12-111-1/+1
|/
* Update ANGLE for UWP fix.Josh Matthews2019-12-091-1/+1
|
* Extract media_stack pick into CommandBaseTuncer Ayaz2019-11-211-12/+1
|
* Implement `./mach check --media-stack`Tuncer Ayaz2019-11-211-4/+0
| | | | While at it, extract --media-stack flag into command_base.py.
* Pass feature list to build_env()Tuncer Ayaz2019-11-211-1/+1
|
* Allow mach build to explicitly set the media stackAlan Jeffrey2019-11-211-1/+18
| | | | | | | | You can select the media backend by building as follows: $ ./mach build -d --media-stack=dummy or $ ./mach build -d --media-stack=gstreamer
* Prepend `-Ztimings=info`, don’t append, so it can be overriddenSimon Sapin2019-11-191-1/+3
|
* Make Cargo print timing information to stdoutSimon Sapin2019-11-161-0/+3
| | | | | | | | | | This adds lines such as ``` Completed cssparser v0.27.1 custom-build in 2.4s Completed cssparser v0.27.1 custom-build (run) in 0.6s Completed cssparser v0.27.1 in 1.1s ```
* Use surfman for managing GL surfacesPatrick Walton2019-11-011-2/+5
| | | | | | 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>
* Update to ANGLE 2.1.15 nuget package.Josh Matthews2019-10-251-1/+1
|
* Auto merge of #24435 - marmeladema:issue-23607/compat, r=jdmbors-servo2019-10-161-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue 23607: first pass of changes for compatibility with Python3 As much as i want to migrate entirely to Python3 (see #23607), it will require some time as changes in web-platform-tests are significant and rely on upstream fixes to be merged and synced downstream. In the meantime, lets improve compatibility with Python3 so that later, migration will be less painful. Build system is definitely not ready yet for Python3, but its a step in the right direction. --- <!-- 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 <!-- 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. -->
| * Use urllib from six module in order to be compatible with Python3marmeladema2019-10-161-2/+2
| |
* | Fix syntax error.Josh Matthews2019-10-151-1/+1
| |
* | Restore convenience UWP build flags.Josh Matthews2019-10-151-2/+16
|/
* Support building UWP with native UWP rustc target.Josh Matthews2019-10-121-11/+10
|
* Update to UWP compatible OpenSSL build.Josh Matthews2019-10-021-1/+1
|
* Isolate UWP builds from external gstreamersManish Goregaokar2019-10-021-0/+4
|
* Allow playing video/webm on WindowsFernando Jiménez Moreno2019-09-241-0/+1
|
* Auto merge of #24260 - paulrouget:miscUWP, r=jdmbors-servo2019-09-211-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | Some small UWP improvements - isolate the default url in its own file. As we keep tweaking it. - allow code generation and local network connections - cleaning the newly introduce AppPackages directory <!-- 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/24260) <!-- Reviewable:end -->
| * Cleanup AppPackages on mach cleanPaul Rouget2019-09-211-0/+1
| |
* | Auto merge of #24185 - jdm:uwp-native-build, r=asajeffreybors-servo2019-09-201-0/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix many WACK errors These changes ensure that all native dependencies are built with the compiler flags that will prevent forbidden API uses. They also incorporate a fork of rand_os that backports UWP support from more recent rand releases. This is necessary in the short term to avoid having to wait for the entire ecosystem to migrate to the most recent rand release. Depends on https://github.com/servo/mozjs/pull/200 and https://github.com/servo/rust-mozjs/pull/471. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because no windows WACK tests <!-- 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/24185) <!-- Reviewable:end -->