Bug 1082983 - Enable the Windows console in ASAN builds; r=glandium
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 16 Oct 2014 09:13:03 -0400
changeset 210740 4687c6761b0fdd11726b03ef892fd24036004203
parent 210739 3ee039a4699934e561db26c9667ca446dda58af4
child 210741 0b1d0cf23bdbf660c456b64ed2d48562d0b338ca
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersglandium
bugs1082983
milestone36.0a1
Bug 1082983 - Enable the Windows console in ASAN builds; r=glandium These builds are not very useful without a console, which is where the ASAN reports go to.
browser/app/Makefile.in
--- a/browser/app/Makefile.in
+++ b/browser/app/Makefile.in
@@ -20,17 +20,17 @@ DEFINES += \
 
 ifdef LIBXUL_SDK #{
 PREF_JS_EXPORTS += $(srcdir)/profile/channel-prefs.js
 endif #} LIBXUL_SDK
 
 # Build a binary bootstrapping with XRE_main
 
 ifndef MOZ_WINCONSOLE
-ifdef MOZ_DEBUG
+ifneq (,$(MOZ_DEBUG)$(MOZ_ASAN))
 MOZ_WINCONSOLE = 1
 else
 MOZ_WINCONSOLE = 0
 endif
 endif
 
 # This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
 # shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.