зеркало из https://github.com/mozilla/pjs.git
profile and coverage builds need different optimization flags (mostly for talkback)
r=dprice
This commit is contained in:
Родитель
0bb0a60b6b
Коммит
f944f16b34
22
config/WIN32
22
config/WIN32
|
@ -68,23 +68,27 @@ OS_LFLAGS=/DEBUG /DEBUGTYPE:CV /PDB:$(PDBFILE)
|
|||
|
||||
!else
|
||||
|
||||
# Initialize to non-profile, non-coverage optimization
|
||||
OPTIMIZER=-O1 -UDEBUG -DNDEBUG
|
||||
OS_LFLAGS=/OPT:nowin98
|
||||
|
||||
# if MOZ_DEBUG is not set and MOZ_PROFILE is set, then we generate
|
||||
# an optimized build with debugging symbols. Useful for debugging
|
||||
# compiler optimization bugs, as well as running with Quantify.
|
||||
|
||||
!if defined(MOZ_COVERAGE) || defined (MOZ_PROFILE)
|
||||
OS_LFLAGS=/DEBUG /DEBUGTYPE:CV /PDB:$(PDBFILE) /OPT:REF /OPT:nowin98
|
||||
!if defined (MOZ_PROFILE)
|
||||
OS_LFLAGS=/DEBUG /DEBUGTYPE:CV /PDB:NONE /OPT:REF /OPT:nowin98
|
||||
OPTIMIZER=-Zi -O1 -UDEBUG -DNDEBUG
|
||||
!else
|
||||
|
||||
# MOZ_PROFILE not set.
|
||||
# optimize it, no symbols
|
||||
#
|
||||
OPTIMIZER=-O1 -UDEBUG -DNDEBUG
|
||||
OS_LFLAGS=/OPT:nowin98
|
||||
!endif
|
||||
# MOZ_PROFILE
|
||||
|
||||
# if MOZ_COVERAGE is set, we handle pdb files slightly differently
|
||||
!if defined(MOZ_COVERAGE)
|
||||
OS_LFLAGS=/DEBUG /DEBUGTYPE:CV /PDB:$(PDBFILE) /OPT:REF /OPT:nowin98
|
||||
OPTIMIZER=-Zi -O1 -UDEBUG -DNDEBUG
|
||||
!endif
|
||||
# MOZ_COVERAGE
|
||||
|
||||
!endif
|
||||
# MOZ_DEBUG
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче