enable profiling for release builds, to get debugging symbols for talkback.

disable pdbfile generation for now, until talkback understands pdb files.
This commit is contained in:
leaf%mozilla.org 2004-03-31 23:54:26 +00:00
Родитель eeefe89fb9
Коммит 6ac6bba3aa
1 изменённых файлов: 5 добавлений и 1 удалений

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

@ -23,7 +23,7 @@ use Config; # for $Config{sig_name} and $Config{sig_num}
use File::Find ();
use File::Copy;
$::UtilsVersion = '$Revision: 1.254 $ ';
$::UtilsVersion = '$Revision: 1.255 $ ';
package TinderUtils;
@ -360,6 +360,10 @@ sub SetupEnv {
if ($Settings::ReleaseBuild) {
$ENV{BUILD_OFFICIAL} = 1;
$ENV{MOZILLA_OFFICIAL} = 1;
if ($Settings::OS =~ /^WIN/) {
$ENV{MOZ_PROFILE} = 1;
$ENV{PDBFILE} = "NONE";
}
}
if ($Settings::ObjDir ne '') {