mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-11 12:33:45 +03:00
3b159b45ff
A single place with all listed required xcode versions makes it easier to manage XCode on bots. |
||
---|---|---|
.. | ||
ffmpeg-license | ||
.gitignore | ||
archive.sh | ||
BUILD_NUMBER | ||
build-linux.sh | ||
build-mac.sh | ||
build.sh | ||
clean.sh | ||
CONFIG.sh | ||
crosscompile-from-linux.sh | ||
EXPECTED_BUILDS | ||
README.md |
Playwright and FFMPEG
Playwright requires FFMPEG to produce screncast and bundles FFMPEG binaries for Mac , Linux and Windows.
Configuration
We compile libvpx
and ffmpeg
only. Their source versions and build
configurations are defined in //browser_patches/ffmpeg/CONFIG.sh
.
Building ffmpeg-linux
Compilation scripts are based on:
Prerequisites:
- Mac or Linux
- Docker
Building:
~/playwright$ ./browser_patches/ffmpeg/build.sh --linux
Building ffmpeg-mac
Compilation scripts are based on:
- https://trac.ffmpeg.org/wiki/CompilationGuide/Generic
- https://trac.ffmpeg.org/wiki/CompilationGuide/macOS
Prerequisites:
- Mac
- xcode command line tools:
xcode-select --install
- homebrew
Building:
~/playwright$ ./browser_patches/ffmpeg/build.sh --mac
Building ffmpeg-win*
Cross-compilation scripts are based on:
- https://trac.ffmpeg.org/wiki/CompilationGuide/Generic
- https://trac.ffmpeg.org/wiki/CompilationGuide/CrossCompilingForWindows
Prerequisites:
- Mac or Linux
- Docker
Building:
~/playwright$ ./browser_patches/ffmpeg/build.sh --cross-compile-win64