forked from mirrors/gecko-dev
Bug 1506016 - If we're building with MOZ_COPY_PDBS, build the pdb next to the executable r=firefox-build-system-reviewers,mshal
This will allow us to copy the pdbs for test files into the resulting test file archive, but doesn't do it automatically. Bug 1505936 is for copying some of them. Differential Revision: https://phabricator.services.mozilla.com/D29761 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
80fbae9239
commit
4e6bb3e03d
1 changed files with 22 additions and 0 deletions
|
|
@ -121,8 +121,30 @@ endif # FORCE_SHARED_LIB
|
|||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
|
||||
#
|
||||
# This next line captures both the default (non-MOZ_COPY_PDBS)
|
||||
# case as well as the MOZ_COPY_PDBS-for-mingwclang case.
|
||||
#
|
||||
# For the default case, placing the pdb in the build
|
||||
# directory is needed.
|
||||
#
|
||||
# For the MOZ_COPY_PDBS, non-mingwclang case - we need to
|
||||
# build the pdb next to the executable (handled in the if
|
||||
# statement immediately below.)
|
||||
#
|
||||
# For the MOZ_COPY_PDBS, mingwclang case - we also need to
|
||||
# build the pdb next to the executable, but this macro doesn't
|
||||
# work for jsapi-tests which is a little special, so we specify
|
||||
# the output directory below with MOZ_PROGRAM_LDFLAGS.
|
||||
#
|
||||
LINK_PDBFILE ?= $(basename $(@F)).pdb
|
||||
|
||||
ifdef MOZ_COPY_PDBS
|
||||
ifneq ($(CC_TYPE),clang)
|
||||
LINK_PDBFILE = $(basename $@).pdb
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef GNU_CC
|
||||
|
||||
ifdef SIMPLE_PROGRAMS
|
||||
|
|
|
|||
Loading…
Reference in a new issue