From 736ef4e879f7e6344073a5294aef9a0d9f9ec298 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 4 Jan 2021 10:49:46 -0800 Subject: [PATCH] browser(webkit): call build.sh twice on Windows (#4875) --- browser_patches/webkit/build.sh | 4 ++++ 1 file changed, 4 insertions(+) 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;