Enable Linux symbol generation.

meow-7.2.2
Nicky 2022-02-20 16:58:43 +01:00
parent a0207de2ba
commit 2ccf750cfb
2 changed files with 12 additions and 11 deletions

View File

@ -2861,8 +2861,10 @@ if (PACKAGE AND (RELEASE_CRASH_REPORTING OR NON_RELEASE_CRASH_REPORTING) AND VIE
endif (LINUX)
endif (USE_BUGSPLAT)
# for both Bugsplat and Breakpad
add_dependencies(llpackage generate_symbols)
if (NOT LINUX) #Linux generates symbols via viewer_manifest.py/fs_viewer_manifest.py
# for both Bugsplat and Breakpad
add_dependencies(llpackage generate_symbols)
endif()
endif ()
if (LL_TESTS)

View File

@ -198,17 +198,16 @@ class FSViewerManifest:
from shutil import rmtree
import tarfile
#if isdir( "symbols" ):
# rmtree( "symbols" )
if isdir( "symbols" ):
rmtree( "symbols" )
#files = glob( "%s/bin/*" % self.args['dest'] )
#for f in files:
# self.fs_generate_breakpad_symbols_for_file( f )
#files = glob( "%s/lib/*.so" % self.args['dest'] )
#for f in files:
# self.fs_generate_breakpad_symbols_for_file( f )
files = glob( "%s/bin/*" % self.args['dest'] )
for f in files:
self.fs_generate_breakpad_symbols_for_file( f )
files = glob( "%s/lib/*.so" % self.args['dest'] )
for f in files:
self.fs_generate_breakpad_symbols_for_file( f )
if isdir( "symbols" ):
for a in self.args: