Skip to content

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

devops: do not bundle `libstdc++` with Firefox builds (#16103)

Andrey Lushnikovecf55b01c68e
diff --git a/browser_patches/firefox/archive.sh b/browser_patches/firefox/archive.sh
index 7bdbdbb157..1c34d8fb06 100755
--- a/browser_patches/firefox/archive.sh
+++ b/browser_patches/firefox/archive.sh
@@ -50,11 +50,7 @@ if ! [[ -d "$OBJ_FOLDER/dist/firefox" ]]; then
exit 1;
fi
-# Copy the libstdc++ version we linked against.
-# TODO(aslushnikov): this won't be needed with official builds.
-if is_linux; then
- cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 "${OBJ_FOLDER}/dist/firefox/libstdc++.so.6"
-elif is_win; then
+if is_win; then
# Bundle vcruntime14_1.dll - see https://github.com/microsoft/playwright/issues/9974
cd "$(printMSVCRedistDir)"
cp -t "${OBJ_FOLDER}/dist/firefox" vcruntime140_1.dll