Set FORCE_PR_LOG for this entire directory, if MOZ_LOGGING is defined (bug 347686) r=marria

This commit is contained in:
bryner%brianryner.com 2006-08-25 17:38:33 +00:00
Родитель eb9cc86e75
Коммит 287e875ca9
6 изменённых файлов: 5 добавлений и 25 удалений

Просмотреть файл

@ -111,6 +111,11 @@ EXTRA_DSO_LDOPTS += -NODEFAULTLIB:MSVCRT \
$(NULL) $(NULL)
endif endif
# Enable logging in release builds
ifneq (,$(findstring -DMOZ_LOGGING=1, $(ACDEFINES)))
DEFINES += -DFORCE_PR_LOG
endif
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
export:: $(topsrcdir)/security/nss/lib/freebl/md5.c export:: $(topsrcdir)/security/nss/lib/freebl/md5.c

Просмотреть файл

@ -36,11 +36,6 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
// This must be before any #includes to enable logging in release builds
#ifdef MOZ_LOGGING
#define FORCE_PR_LOG
#endif
#include "nsLoadCollector.h" #include "nsLoadCollector.h"
#include "nsMetricsService.h" #include "nsMetricsService.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"

Просмотреть файл

@ -36,11 +36,6 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
// This must be before any #includes to enable logging in release builds
#ifdef MOZ_LOGGING
#define FORCE_PR_LOG
#endif
#include "nsMetricsService.h" #include "nsMetricsService.h"
#include "nsMetricsEventItem.h" #include "nsMetricsEventItem.h"
#include "nsIMetricsCollector.h" #include "nsIMetricsCollector.h"

Просмотреть файл

@ -39,11 +39,6 @@
#ifndef nsMetricsService_h__ #ifndef nsMetricsService_h__
#define nsMetricsService_h__ #define nsMetricsService_h__
// This must be before any #includes to enable logging in release builds
#ifdef MOZ_LOGGING
#define FORCE_PR_LOG
#endif
#include "nsIMetricsService.h" #include "nsIMetricsService.h"
#include "nsMetricsModule.h" #include "nsMetricsModule.h"
#include "nsMetricsConfig.h" #include "nsMetricsConfig.h"

Просмотреть файл

@ -36,11 +36,6 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
// This must be before any #includes to enable logging in release builds
#ifdef MOZ_LOGGING
#define FORCE_PR_LOG
#endif
#include "nsProfileCollector.h" #include "nsProfileCollector.h"
#include "nsMetricsService.h" #include "nsMetricsService.h"
#include "prsystem.h" #include "prsystem.h"

Просмотреть файл

@ -36,11 +36,6 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
// This must be before any #includes to enable logging in release builds
#ifdef MOZ_LOGGING
#define FORCE_PR_LOG
#endif
#include "nsUICommandCollector.h" #include "nsUICommandCollector.h"
#include "nsMetricsService.h" #include "nsMetricsService.h"