mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 577431, Skip files when dsymutil doesn't produce a .dSYM, r=josh, a=blocking2.0
--HG-- extra : rebase_source : 6c383aefae214e894b470dd9d725e2d50b7ce7ae
This commit is contained in:
parent
e9875aee54
commit
9c97e75b52
@ -710,6 +710,9 @@ class Dumper_Mac(Dumper):
|
||||
# dsymutil takes --arch=foo instead of -a foo like everything else
|
||||
os.system("dsymutil %s %s >/dev/null" % (' '.join([a.replace('-a ', '--arch=') for a in self.archs]),
|
||||
file))
|
||||
if not os.path.exists(dsymbundle):
|
||||
# dsymutil won't produce a .dSYM for files without symbols
|
||||
return False
|
||||
res = Dumper.ProcessFile(self, dsymbundle)
|
||||
# CopyDebug will already have been run from Dumper.ProcessFile
|
||||
shutil.rmtree(dsymbundle)
|
||||
|
Loading…
x
Reference in New Issue
Block a user