From ecf55b01c68e5600f9f4951c08af696e62cdeab8 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Mon, 1 Aug 2022 09:28:19 -0700 Subject: [PATCH] devops: do not bundle `libstdc++` with Firefox builds (#16103) Turns out we were bundling x86_64 `libstdc++` with aarch64 builds on Ubuntu, which was useless and implies that this library might not be needed at all. --- browser_patches/firefox/archive.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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