Add way to configure value of XPCOM_DEBUG_BREAK. b=374828 r=preed

This commit is contained in:
dbaron%dbaron.org 2007-03-22 04:59:11 +00:00
Родитель d65ac86a1d
Коммит 11272eaa32
2 изменённых файлов: 7 добавлений и 3 удалений

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

@ -24,7 +24,7 @@ use Config; # for $Config{sig_name} and $Config{sig_num}
use File::Find ();
use File::Copy;
$::UtilsVersion = '$Revision: 1.352 $ ';
$::UtilsVersion = '$Revision: 1.353 $ ';
package TinderUtils;
@ -900,8 +900,7 @@ sub BuildIt {
# Bypass profile manager at startup.
$ENV{MOZ_BYPASS_PROFILE_AT_STARTUP} = 1;
# Avoid debug assertion dialogs (win32)
$ENV{XPCOM_DEBUG_BREAK} = "warn";
$ENV{XPCOM_DEBUG_BREAK} = "$Settings::MozAssertBehavior";
# Set up tag stuff.
# Only one tag per file, so -r will override any -D settings.

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

@ -129,6 +129,11 @@ $MozConfigFileName = 'mozconfig';
$UseMozillaProfile = 1;
$MozProfileName = 'default';
# This sets the value of the XPCOM_DEBUG_BREAK environment variable. We
# default to 'warn', which suppresses the assertion dialogs on Windows
# and gives platform parity. Use 'abort' for fatal assertions.
$MozAssertBehavior = 'warn';
#- Set these to what makes sense for your system
$Make = 'gmake'; # Must be GNU make
$MakeOverrides = '';