mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 16:51:46 +00:00
added xpt_link tool to the Mac build (if build{xptlink}=1)
This commit is contained in:
parent
6cda25b372
commit
5609e588e4
@ -67,6 +67,8 @@ $build{apprunner} = 0;
|
||||
$build{resources} = 0;
|
||||
$build{jars} = 0;
|
||||
|
||||
$build{xptlink} = 0;
|
||||
|
||||
$options{transformiix} = 0;
|
||||
$options{mathml} = 0;
|
||||
$options{svg} = 0;
|
||||
|
@ -100,6 +100,8 @@ $build{apprunner} = 0;
|
||||
$build{resources} = 0;
|
||||
$build{jars} = 0;
|
||||
|
||||
$build{xptlink} = 0;
|
||||
|
||||
$options{transformiix} = 0;
|
||||
$options{mathml} = 0;
|
||||
$options{svg} = 0;
|
||||
|
@ -1821,6 +1821,18 @@ sub BuildIDLProjects()
|
||||
BuildIDLProject(":mozilla:extensions:xmlextras:macbuild:xmlextrasIDL.mcp", "xmlextras");
|
||||
}
|
||||
|
||||
# xpt_link MPW tool, needed for merging xpt files (release build)
|
||||
|
||||
if ($main::build{xptlink})
|
||||
{
|
||||
my($codewarrior_msl) = getCodeWarriorPath("MSL:MSL_C:MSL_MacOS:");
|
||||
if ( ! -e $codewarrior_msl . "Lib:PPC:MSL C.PPC MPW(NL).Lib") {
|
||||
print("MSL PPC MPW Lib not found... Let's build it.\n");
|
||||
BuildProject($codewarrior_msl . "Project:PPC:MSL C.PPC MPW.mcp", "MSL C.PPC MPW");
|
||||
}
|
||||
BuildOneProject(":mozilla:xpcom:typelib:xpidl:macbuild:xpidl.mcp", "xpt_link", 0, 0, 0);
|
||||
}
|
||||
|
||||
print("--- IDL projects complete ----\n");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user