aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/platform/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed build error on macos (#33200)Ben2024-08-271-1/+1
| | | | | | This was due to uname reporting the architecture as arm64 instead of aarch64 on macos Signed-off-by: Benjamin Vincent Schulenburg <bennyschulenburg@gmx.de>
* Implement `bootstrap-gstreamer` for all platformsMartin Robinson2023-05-251-8/+18
| | | | | | | | | | | | | | | | | | This change makes it so that the Platform classes can now handle installing GStreamer dependencies and properly setting up the environment including when cross-compiling. For Windows and Linux is now installed into `target/dependencies/gstreamer` when not installed system-wide. In addition: 1. Creating and moving existing environment path append helpers to `util.py`. 2. Combining the `set_run_env` and `build_dev` functions and moving some outside code into them so that it can be shared. Now code that used to call `set_run_env` calls `build_dev` and then `os.environ.update(...)`. 3. Adding Python typing information in many places. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Start organizing platform-specific Python codeMartin Robinson2023-05-191-0/+64
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.