gecko-dev/modules/libmar
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
..
sign
src
tests bug 1255485 - build PROGRAMs directly in dist/bin instead of copying them. r=nalexander 2018-01-10 14:26:12 -05:00
tool
verify
moz.build
README

This directory contains code for a simple archive file format, which
is documented at http://wiki.mozilla.org/Software_Update:MAR

The src directory builds a small static library used to create, read, and
extract an archive file.  The tool directory builds a command line utility
around the library.