Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

browser(webkit): call build.sh twice on Windows (#4875)

Yury Semikhatsky736ef4e879f7
diff --git a/browser_patches/webkit/build.sh b/browser_patches/webkit/build.sh
index e5a0144c70..07a5f85b97 100755
--- a/browser_patches/webkit/build.sh
+++ b/browser_patches/webkit/build.sh
@@ -71,6 +71,10 @@ elif [[ "$(uname)" == "Linux" ]]; then
fi
elif [[ "$(uname)" == MINGW* ]]; then
/c/Windows/System32/cmd.exe "/c $(cygpath -w ${SCRIPT_FOLDER}/buildwin.bat)"
+ # Run build step twice on Windows to work around adjust-angle-include-paths.py not
+ # being called at right time. See
+ # https://github.com/WebKit/WebKit/commit/e9a19fe7e3c245252be6ed70c86639d09227a6dc
+ /c/Windows/System32/cmd.exe "/c $(cygpath -w ${SCRIPT_FOLDER}/buildwin.bat)"
else
echo "ERROR: cannot upload on this platform!" 1>&2
exit 1;