gecko-dev/config/makefiles
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
..
xpidl Bug 1219081 - Remove undefined reference to libxul_sdk_includes from XPIDL makefile. r=glandium 2018-02-20 10:22:36 -08:00
autotargets.mk
debugmake.mk
functions.mk
java-build.mk Bug 1440433 - Part 2: Remove ANDROID_APK_{NAME,PACKAGE}. r=jchen 2018-02-22 13:36:49 -08:00
makeutils.mk
nonrecursive.mk
target_binaries.mk bug 1255485 - build PROGRAMs directly in dist/bin instead of copying them. r=nalexander 2018-01-10 14:26:12 -05:00