gecko-dev/toolkit/crashreporter/tools
Ted Mielczarek dcdf597820 bug 1255485 - build PROGRAMs directly in dist/bin instead of copying them. r=nalexander
Historically we built all our binaries in directories in the objdir, then
symlinked them into dist/bin. Some binaries needed to be copied instead
so that certain relative path lookups work properly, so we resorted to
sprinkling `NSDISTMODE=copy` around Makefiles.

This change makes it so we build PROGRAMs (not any other sort of targets)
directly in dist/bin instead. We could do the same for our other targets
with a little more work.

There were several places in the tree that were copying built binaries to
some other place and needed fixup to match the new location of binaries.

On Windows pdb files are left in the objdir where the program was
originally linked. symbolstore.py needs to locate the pdb file both to
determine whether it should dump symbols for a binary and also to copy
the pdb file into the symbol package. We fix this by simply looking for
the pdb file in the current working directory if it isn't present next
to the binary, which matches how we invoke symbolstore.py.

MozReview-Commit-ID: 8TOD1uTXD5e
2018-01-10 14:26:12 -05:00
..
win32
python.ini Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester 2016-11-16 09:59:22 -05:00
symbolstore.py bug 1255485 - build PROGRAMs directly in dist/bin instead of copying them. r=nalexander 2018-01-10 14:26:12 -05:00
unit-symbolstore.py bug 1255485 - build PROGRAMs directly in dist/bin instead of copying them. r=nalexander 2018-01-10 14:26:12 -05:00
upload_symbols.py Bug 1424967: Fix remaining lint error in upload_symbols.py; r=ted.mielczarek 2017-12-12 22:42:23 -07:00