Skip to content
Snippets Groups Projects
Commit c8d58f8d authored by callum_linden's avatar callum_linden
Browse files

Update script that generates Google Breakpad symbols to look in tghe right...

Update script that generates Google Breakpad symbols to look in tghe right place first and default to the original location if not found.
parent a64e0b3e
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,14 @@ def list_files():
def dump_module(m):
print "dumping module '%s' with '%s'..." % (m, dump_syms_tool)
child = subprocess.Popen([dump_syms_tool, m] , stdout=subprocess.PIPE)
dsym_full_path = m
if sys.platform in ['darwin']:
dsym_dir=os.path.join(m+".dSYM", 'Contents', 'Resources', 'DWARF')
if os.path.isdir(dsym_dir):
dsym_full_path=os.path.join(dsym_dir, os.path.basename(m))
else:
dsym_full_path = m
child = subprocess.Popen([dump_syms_tool, dsym_full_path] , stdout=subprocess.PIPE)
out, err = child.communicate()
return (m,child.returncode, out, err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment