Repository navigation
cef: macOS 8078 recipe for arm64 and x86_64 - #17
Merged
Merged
Conversation
The macOS 8078 recipe is not written yet, so this fails on a missing recipes/cef/macos/build.sh. The recipe has to use the Linux build's commit, keep proprietary codecs and line tables, and require libcef_sandbox.dylib in the framework. obs-rust/obs-studio#2418.
Host script for arm64 and x86_64. Checkout is 426920c33ef22551e0b8f48cf343d623ac25642d, the Linux 8078 archive. One architecture per run. Pack checks the codec flags and libcef_sandbox.dylib, then deletes that arch's out directory so the other one fits. Refs obs-rust/obs-studio#2418
Member
|
Coordinator review: automate-git.py is pinned to the same CEF commit as the Linux 8078 archive. set -euo pipefail and ${OUT:?} guard the deletions, and the out dir is removed only after the archive exists. The codec flags and libcef_sandbox.dylib are checked before packing (that dylib is what notarization needed signed, obs-rust/obs-studio#2430). RED then GREEN is in the pytest. The repo has no CI; merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Host recipe for the macOS CEF 8078 archives (arm64 and x86_64). The script runs on the Mac, where Xcode is installed. The bosn stacks in this repo are Linux containers, and Chromium has no Linux to macOS cross compile.
Checkout is
426920c33ef22551e0b8f48cf343d623ac25642d, the commit behind the Linux 8078 archive (156.0.8+g426920c+chromium-156.0.8078.48). GN defines areis_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome symbol_level=1 chrome_pgo_phase=0. One architecture per run. The build target is cefclient, because the macOS distrib copies the framework out ofcefclient.app. Pack fails unlessargs.gnhas the codec flags andRelease/Chromium Embedded Framework.framework/Libraries/libcef_sandbox.dylibis in the tree, then it deletes that arch's out directory so the other one fits.9a90fab:test_macos_recipe_pins_codecs_and_the_sandbox_libraryraisesFileNotFoundErrorforrecipes/cef/macos/build.sh.5b1db4a: the script.uv run --group dev pytest tests/test_cef_recipe.py -qreports 2 passed.uv run --group dev ruff check .is clean.The archives themselves come next: build arm64, pack, then x86_64, and upload
cef_binary_8078_macos_arm64.tar.xzandcef_binary_8078_macos_x86_64.tar.xzto the obs-rust/cef 8078 release. The obs-studio pin follows that.Refs obs-rust/obs-studio#2418