mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
profiler-ready: make alias of ProfilerLib
This commit is contained in:
parent
7150dd0908
commit
3df62eb289
@ -827,6 +827,41 @@ sub MakeResourceAliases()
|
||||
}
|
||||
|
||||
|
||||
#//--------------------------------------------------------------------------------------------------
|
||||
#// Make library aliases
|
||||
#//--------------------------------------------------------------------------------------------------
|
||||
|
||||
sub MakeLibAliases()
|
||||
{
|
||||
my($dist_dir) = _getDistDirectory();
|
||||
|
||||
local(*F);
|
||||
my($filepath, $appath, $psi) = (':mozilla:build:mac:idepath.txt');
|
||||
if (open(F, $filepath)) {
|
||||
$appath = <F>;
|
||||
close(F);
|
||||
|
||||
#// WasteLib
|
||||
my($wastelibpath) = $appath;
|
||||
$wastelibpath =~ s/[^:]*$/MacOS Support:WASTE 1.3 Distribution:WASTELib/;
|
||||
print ("Making alias for $wastelibpath\n");
|
||||
MakeAlias("$wastelibpath", "$dist_dir"."Essential Files:");
|
||||
|
||||
#// ProfilerLib
|
||||
if ($main::DEBUG)
|
||||
{
|
||||
my($profilerlibpath) = $appath;
|
||||
$profilerlibpath =~ s/[^:]*$/MacOS Support:Libraries:Profiler Common:ProfilerLib/;
|
||||
print ("Making alias for $profilerlibpath\n");
|
||||
MakeAlias("$profilerlibpath", "$dist_dir"."Essential Files:");
|
||||
}
|
||||
}
|
||||
else {
|
||||
print STDERR "Can't find $filepath\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#//--------------------------------------------------------------------------------------------------
|
||||
#// Build NGLayout
|
||||
#//--------------------------------------------------------------------------------------------------
|
||||
@ -841,25 +876,6 @@ sub BuildLayoutProjects()
|
||||
my($dist_dir) = _getDistDirectory();
|
||||
|
||||
|
||||
|
||||
#//
|
||||
#// Make WasteLib alias
|
||||
#//
|
||||
local(*F);
|
||||
my($filepath, $appath, $psi) = (':mozilla:build:mac:idepath.txt');
|
||||
if (open(F, $filepath)) {
|
||||
$appath = <F>;
|
||||
close(F);
|
||||
#// beard: use pattern substitution to generate path to WasteLib. (thanks gordon!)
|
||||
$appath =~ s/[^:]*$/MacOS Support:WASTE 1.3 Distribution:WASTELib/;
|
||||
my($wastelibpath) = $appath;
|
||||
MakeAlias("$wastelibpath", "$dist_dir"."Essential Files:");
|
||||
}
|
||||
else {
|
||||
print STDERR "Can't find $filepath\n";
|
||||
}
|
||||
|
||||
|
||||
#//
|
||||
#// Build Layout projects
|
||||
#//
|
||||
@ -1025,12 +1041,13 @@ sub BuildProjects()
|
||||
# activate CodeWarrior
|
||||
ActivateApplication('CWIE');
|
||||
|
||||
MakeResourceAliases();
|
||||
MakeLibAliases();
|
||||
BuildStubs();
|
||||
BuildCommonProjects();
|
||||
BuildInternationalProjects();
|
||||
BuildLayoutProjects();
|
||||
BuildEditorProjects();
|
||||
MakeResourceAliases();
|
||||
BuildViewerProjects();
|
||||
BuildXPAppProjects();
|
||||
BuildMailNewsProjects();
|
||||
|
Loading…
Reference in New Issue
Block a user