Fix build scripts to work when using BuildNGLayout{Debug}.pl to both pull and build (configure after the checkout), and fix MozJar.pm to generate correct paths in installed-chrome.txt when not using jar files.

This commit is contained in:
sfraser%netscape.com 2000-09-26 02:24:55 +00:00
Родитель 2ddd8e4418
Коммит 408c4b2f00
3 изменённых файлов: 5 добавлений и 5 удалений

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

@ -193,10 +193,10 @@ else
Moz::StopForErrors();
#Moz::DontStopForErrors();
ConfigureBuildSystem();
Checkout();
ConfigureBuildSystem();
my(@gen_files) = (
":mozilla:xpfe:appshell:public:nsBuildID.h",
":mozilla:xpfe:browser:resources:locale:en-US:navigator.dtd"

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

@ -190,10 +190,10 @@ else
Moz::StopForErrors();
#Moz::DontStopForErrors();
ConfigureBuildSystem();
Checkout();
ConfigureBuildSystem();
chdir($MOZ_SRC);
BuildDist();

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

@ -418,7 +418,7 @@ sub registerChromePackage($$$$$$)
if ($main::options{use_jars}) {
$chrome_entry = "$chrome_type,install,url,jar:resource:/chrome/$manifest_subdir!/$chrome_type/$pkg_name";
} else {
$manifest_subdir =~ s/\.jar$/\//;
$manifest_subdir =~ s/\.jar$//;
$chrome_entry = "$chrome_type,install,url,resource:/chrome/$manifest_subdir/$chrome_type/$pkg_name";
}