From b77b31c55cf63c0ac176aab2a9f430dd6cce7d7a Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 30 Jan 2020 19:10:05 -0800 Subject: [PATCH] devops: strip linux binaries The `--strip-unneeded` removes all symbols needed for library compilation as part of a `.a` static library. ([source](https://www.technovelty.org/linux/stripping-shared-libraries.html)) So these are safe to remove and they should keep our binary debuggable. These should save us ~100Mb unzipped. References #658 --- browser_patches/webkit/archive.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/browser_patches/webkit/archive.sh b/browser_patches/webkit/archive.sh index dbc2d824a3..11a8834381 100755 --- a/browser_patches/webkit/archive.sh +++ b/browser_patches/webkit/archive.sh @@ -82,6 +82,7 @@ createZipForLinux() { # tar resulting directory and cleanup TMP. cd $tmpdir + strip --strip-unneeded * || true zip --symlinks -r $ZIP_PATH ./ cd - rm -rf $tmpdir