Skip to content

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

devops: bundle libstdc++ from gcc-9 for Ubuntu 18.04 webkit builds (#16643)

Andrey Lushnikovd2a950c8d609
diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBER
index 68336ba232..97ddd81da3 100644
--- a/browser_patches/webkit/BUILD_NUMBER
+++ b/browser_patches/webkit/BUILD_NUMBER
@@ -1,2 +1,2 @@
-1704
-Changed: [email protected] Wed Aug 17 12:16:53 PDT 2022
+1705
+Changed: [email protected] Thu Aug 18 20:47:20 MSK 2022
diff --git a/browser_patches/webkit/archive.sh b/browser_patches/webkit/archive.sh
index 89f95f76b9..b1648256c9 100755
--- a/browser_patches/webkit/archive.sh
+++ b/browser_patches/webkit/archive.sh
@@ -71,6 +71,12 @@ createZipForLinux() {
rm -f "${tmpdir}"/MiniBrowser_${port}_release.zip
done
+ # Bundle libstdc++ version that comes from gcc-9. gcc-9 is not default on Ubuntu 18.04
+ if is_linux ubuntu 18.04; then
+ cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 "${tmpdir}/minibrowser-wpe/lib/libstdc++.so.6"
+ cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 "${tmpdir}/minibrowser-gtk/lib/libstdc++.so.6"
+ fi
+
cd "$tmpdir"
# zip resulting directory and cleanup TMP.