From d524cf98c7f67a12f06c4626649d4571aa6d57fc Mon Sep 17 00:00:00 2001 From: "Nyx (Neal Orman)" Date: Wed, 24 Nov 2010 17:09:33 -0500 Subject: SH-481 FIX linux build is over 200 MB A previous merge in our move to the public branch cut out the binary strip command from viewer_manifest.py. Putting it back in to restore small binaries. --- indra/newview/viewer_manifest.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/newview') diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index e637c43674..5503cc8372 100644 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -971,6 +971,11 @@ class Linux_i686Manifest(LinuxManifest): self.path("libvivoxplatform.so") self.end_prefix("lib") + if self.args['buildtype'].lower() == 'release' and self.is_packaging_viewer(): + print "* Going strip-crazy on the packaged binaries, since this is a RELEASE build" + self.run_command("find %(d)r/bin %(d)r/lib -type f | xargs --no-run-if-empty strip -S" % {'d': self.get_dst_prefix()} ) # makes some small assumptions about our packaged dir structure + + class Linux_x86_64Manifest(LinuxManifest): def construct(self): super(Linux_x86_64Manifest, self).construct() -- cgit v1.2.3