Bug 589667. Make the layout debugger actually work in libxul builds. r=ted

This commit is contained in:
Boris Zbarsky 2010-09-10 17:26:16 -04:00
parent a345bf434b
commit 503106afe9
2 changed files with 7 additions and 1 deletions

@ -278,3 +278,9 @@ ifdef MOZ_JAVAXPCOM
dlldeps-javaxpcom.cpp: $(topsrcdir)/extensions/java/xpcom/src/dlldeps-javaxpcom.cpp
$(INSTALL) $^ .
endif
ifdef MOZ_DEBUG
ifdef ENABLE_TESTS
DEFINES += -DENABLE_LAYOUTDEBUG
endif
endif

@ -129,7 +129,7 @@
#define SYSTEMPREF_MODULES
#endif
#if defined(MOZ_DEBUG) && defined(ENABLE_TESTS)
#ifdef ENABLE_LAYOUTDEBUG
#define LAYOUT_DEBUG_MODULE MODULE(nsLayoutDebugModule)
#else
#define LAYOUT_DEBUG_MODULE