mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
devops: fix webkit building on windows (#4618)
This commit is contained in:
parent
13e2ef1d10
commit
d8520f0695
@ -4,6 +4,7 @@ set +x
|
||||
|
||||
trap "cd $(pwd -P)" EXIT
|
||||
cd "$(dirname $0)"
|
||||
SCRIPT_FOLDER="$(pwd -P)"
|
||||
|
||||
build_gtk() {
|
||||
if ! [[ -d ./WebKitBuild/GTK/DependenciesGTK ]]; then
|
||||
@ -69,7 +70,7 @@ elif [[ "$(uname)" == "Linux" ]]; then
|
||||
build_wpe
|
||||
fi
|
||||
elif [[ "$(uname)" == MINGW* ]]; then
|
||||
/c/Windows/System32/cmd.exe "/c buildwin.bat"
|
||||
/c/Windows/System32/cmd.exe "/c $(cygpath -w ${SCRIPT_FOLDER}/buildwin.bat)"
|
||||
else
|
||||
echo "ERROR: cannot upload on this platform!" 1>&2
|
||||
exit 1;
|
||||
|
@ -1,5 +1,5 @@
|
||||
set PATH=%WEBKIT_BUILD_PATH%
|
||||
set WEBKIT_LIBRARIES=%~dp0WebKitLibraries\win
|
||||
set WEBKIT_OUTPUTDIR=%~dp0WebKitBuild
|
||||
perl %~dp0Tools\Scripts\build-webkit --wincairo --release --no-ninja --touch-events --orientation-events --dark-mode-css --generate-project-only --cmakeargs="-DLIBVPX_PACKAGE_PATH=C:\vcpkg\packages\libvpx_x64-windows"
|
||||
%DEVENV% %~dp0WebKitBuild\Release\WebKit.sln /build "Release|x64"
|
||||
set WEBKIT_LIBRARIES=WebKitLibraries\win
|
||||
set WEBKIT_OUTPUTDIR=WebKitBuild
|
||||
perl Tools\Scripts\build-webkit --wincairo --release --no-ninja --touch-events --orientation-events --dark-mode-css --generate-project-only --cmakeargs="-DLIBVPX_PACKAGE_PATH=C:\vcpkg\packages\libvpx_x64-windows"
|
||||
%DEVENV% WebKitBuild\Release\WebKit.sln /build "Release|x64"
|
||||
|
Loading…
Reference in New Issue
Block a user