aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/platform/macos.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add GStreamer library directory to DYLD_LIBRARY_PATH (#31163)Martin Robinson2024-01-241-3/+0
| | | | | | | This fixes an issue where the dylib for harfbuzz cannot be found when running unit tests on some systems, because unit tests don't get their rpaths adjusted during build. This is quite likely an issue with dylib dependency management. We just need a bit more exploration of how this is traditionally handled.
* build: Only set PATH for GStreamer (#31078)Martin Robinson2024-01-171-16/+2
| | | | The documentation claims that this is the only environment variable that needs to be set before build.
* Bootstrap pkg-config and cmake on MacOS (#30497)Martin Robinson2023-10-051-1/+13
| | | | | | | These need to be installed in order to build so we can install them via Homebrew. Do this by simply restoring the Homebrew bootstrapping logic we had in place previously. Fixes #27171.
* Remove lzma path workaround for MacOS (#30053)Martin Robinson2023-08-011-15/+3
| | | | | Now that the new version of GStreamer fixes this issue, we can remove the workarounds for this problem as well as all of the homebrew bootstrapping logic.
* Windows bootstrap supportMartin Robinson2023-07-031-1/+1
|
* Implement `./mach bootstrap` for MacOSMartin Robinson2023-06-221-0/+15
|
* Implement `bootstrap-gstreamer` for all platformsMartin Robinson2023-05-251-19/+67
| | | | | | | | | | | | | | | | | | 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/+36
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.