aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Make APPX build part of package command. Add nightly build for UWP.Josh Matthews2019-09-121-0/+48
|
* Call gstreamer_root with top_dir string, not func.Joel Martin2019-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 72e28dffcdf560543d312abc0ec4ff76b7c7dfaf introduced a build regression on Linux when resolving the in-tree gstreamer libs. The error: ------------------------------------ $ ./mach build --release ... The details of the failure are as follows: AttributeError: 'function' object has no attribute 'endswith' File "/data/joelm/personal/UTA/dissertation/servo/servo-master.git/python/servo/build_commands.py", line 237, in build env = self.build_env(target=target, is_build=True) File "/data/joelm/personal/UTA/dissertation/servo/servo-master.git/python/servo/command_base.py", line 646, in build_env if self.needs_gstreamer_env(target or host_triple(), env): File "/data/joelm/personal/UTA/dissertation/servo/servo-master.git/python/servo/command_base.py", line 574, in needs_gstreamer_env if path.isdir(gstreamer_root(effective_target, env, self.get_top_dir)): File "/data/joelm/personal/UTA/dissertation/servo/servo-master.git/python/servo/command_base.py", line 257, in gstreamer_root return path.join(topdir, "support", "linux", "gstreamer", "gst") File "/usr/lib/python2.7/posixpath.py", line 70, in join elif path == '' or path.endswith('/'): ------------------------------------ The problem is that get_top_dir is being passed as a function to gstreamer_root in a couple of places instead of being invoked first.
* In mach, add arguments to bare uses of is_windowsAlan Jeffrey2019-08-231-2/+2
|
* Added support to download nuget and added python code to automate the x64 ↵angelortiz10072019-08-211-0/+1
| | | | and arm64 mach build -r/-d --uwp build process.
* Do not require setting PKG_CONFIG_PATH on WindowsFernando Jimenez Moreno2019-08-201-10/+28
|
* Vendor UWP GStreamer binaries.Josh Matthews2019-07-271-13/+11
|
* Use openssl dependency that works on arm64.Josh Matthews2019-07-231-1/+1
|
* Enable uwp feature when building with --uwp.Josh Matthews2019-07-101-0/+1
|
* Auto merge of #20885 - avadacatavra:rustup-req, r=jdmbors-servo2019-07-041-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updated rustup requirement <!-- Please describe your changes on the following line: --> Rustup changed their argparsing, which resulted in `./mach test-unit --nocapture` not working. Servo now requires a higher rustup version to ensure that mach commands work --- <!-- 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/20885) <!-- Reviewable:end -->
| * updated rustup requirementddh2018-05-301-2/+2
| |
* | Add `./mach build --with-layout-2020`Simon Sapin2019-07-041-1/+6
| | | | | | | | | | … with corresponding `layout` and `layout_thread` crates, which for now do nothing.
* | Simplify build process for UWP app.Josh Matthews2019-07-031-0/+12
| |
* | Share more `./mach build` logic with mach check, doc, test-unitSimon Sapin2019-07-021-22/+122
| | | | | | | | Fixes #23659
* | `./mach clean`: cwd is unnecessary when `--manifest-path` is usedSimon Sapin2019-07-011-3/+0
| |
* | build: Cleanup some path-munging code.Emilio Cobos Álvarez2019-06-241-12/+4
| | | | | | | | | | I was looking at this today, and this seems better than the pre-existing code, generally pre-pending to these paths isn't great...
* | Improve windows DLL packaging.Josh Matthews2019-06-111-2/+5
| |
* | Auto merge of #23484 - servo:jdm-patch-53, r=Manishearthbors-servo2019-06-031-1/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Update gstreamer on Windows to 1.16.0. Fixes #23348. <!-- 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/23484) <!-- Reviewable:end -->
| * | Package DLLs correctly for Windows cross builds.Josh Matthews2019-06-031-1/+3
| | |
* | | Switch windows openssl binaries to ones generated by vcpkg.Josh Matthews2019-05-311-4/+12
|/ /
* | Use correct plugin search path for locally cloned gstreamerManish Goregaokar2019-05-171-0/+3
| |