Make sure binary gets properly stripped from debug symbols and exclude those frmo tarfile.

Tue, 27 Mar 2018 22:26:30 +0200

author
Nicky <sl.nicky.ml@googlemail.com>
date
Tue, 27 Mar 2018 22:26:30 +0200
changeset 55015
4d3581d4f3af
parent 55014
55aaf8eaf5ca
child 55016
f955dfd67a93

Make sure binary gets properly stripped from debug symbols and exclude those frmo tarfile.

indra/newview/fs_viewer_manifest.py file | annotate | diff | revisions
indra/newview/viewer_manifest.py file | annotate | diff | revisions
     1.1 --- a/indra/newview/fs_viewer_manifest.py	Tue Mar 27 18:28:31 2018 +0200
     1.2 +++ b/indra/newview/fs_viewer_manifest.py	Tue Mar 27 22:26:30 2018 +0200
     1.3 @@ -110,7 +110,9 @@
     1.4              os.rename("%s/firestorm-symbols-linux-%d.tar.bz2" % (self.args['configuration'].lower(), self.address_size), symName )
     1.5  
     1.6      def fs_linux_tar_excludes(self):
     1.7 -        return "--exclude=core --exclude=.debug/* --exclude=.debug"
     1.8 +        installer_name_components = ['Phoenix',self.app_name(),self.args.get('arch'),'.'.join(self.args['version'])]
     1.9 +        installer_name = "_".join(installer_name_components)
    1.10 +        return "--exclude=%s/bin/.debug" % installer_name
    1.11  
    1.12      def fs_save_windows_symbols(self, substitution_strings):
    1.13          #AO: Try to package up symbols
     2.1 --- a/indra/newview/viewer_manifest.py	Tue Mar 27 18:28:31 2018 +0200
     2.2 +++ b/indra/newview/viewer_manifest.py	Tue Mar 27 22:26:30 2018 +0200
     2.3 @@ -2163,7 +2163,7 @@
     2.4                  [os.path.join(self.get_dst_prefix(), dir) for dir in ('bin', 'lib')] +
     2.5                  # <FS:Ansariel> Remove VMP
     2.6                  #['-type', 'f', '!', '-name', '*.py', '!', '-name', 'SL_Launcher',
     2.7 -                ['-type', 'f', '!',
     2.8 +                ['-type', 'f', "!", "-name", "*.dat", "!", "-name", "*.pak", "!", "-name", "*.bin",
     2.9                  # </FS:Ansariel> Remove VMP
    2.10                   '!', '-name', 'update_install', '-exec', 'strip', '-S', '{}', ';'])
    2.11  

mercurial