diff options
| author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2010-11-24 17:09:33 -0500 | 
|---|---|---|
| committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2010-11-24 17:09:33 -0500 | 
| commit | d524cf98c7f67a12f06c4626649d4571aa6d57fc (patch) | |
| tree | 52fb7177a3976d50ec4521fc2845d880b888d598 | |
| parent | 3d83c6501e07a33ad04a6f049dd462089f818fb8 (diff) | |
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.
| -rw-r--r-- | indra/newview/viewer_manifest.py | 5 | 
1 files changed, 5 insertions, 0 deletions
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()  | 
