зеркало из https://github.com/mozilla/gecko-dev.git
Add build options for all the extensions. This ensures that restarting a build after extensions builds the jar files for the extensions. r=sfraser.
This commit is contained in:
Родитель
22b6e494e3
Коммит
4cfcfc4fba
|
@ -62,6 +62,10 @@ bidi 1 IBMBIDI
|
|||
p3p 0
|
||||
jsdebugger 0
|
||||
moz_logging 1
|
||||
chatzilla 1
|
||||
xml_rpc 1
|
||||
cview 1
|
||||
help 1
|
||||
|
||||
filepath_flags
|
||||
idepath ":CodeWarrior IDE Path.txt"
|
||||
|
|
|
@ -304,30 +304,36 @@ sub ProcessJarManifests()
|
|||
# a hash of jars passed as context to the following calls
|
||||
my(%jars);
|
||||
|
||||
if ($main::build{extensions})
|
||||
if ($main::options{chatzilla})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:irc:jar.mn", $chrome_dir, \%jars);
|
||||
}
|
||||
if ($main::options{cview})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:cview:resources:jar.mn", $chrome_dir, \%jars);
|
||||
}
|
||||
if ($main::options{help})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:help:resources:jar.mn", $chrome_dir, \%jars);
|
||||
if ($main::options{vixen})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:vixen:resources:jar.mn", $chrome_dir, \%jars);
|
||||
}
|
||||
if ($main::options{inspector})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:inspector:resources:content:jar.mn", $chrome_dir, \%jars);
|
||||
CreateJarFromManifest(":mozilla:extensions:inspector:resources:locale:en-US:jar.mn", $chrome_dir, \%jars);
|
||||
CreateJarFromManifest(":mozilla:extensions:inspector:resources:skin:classic:jar.mn", $chrome_dir, \%jars);
|
||||
CreateJarFromManifest(":mozilla:extensions:inspector:resources:skin:modern:jar.mn", $chrome_dir, \%jars);
|
||||
}
|
||||
if ($main::options{p3p})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:p3p:resources:jar.mn", $chrome_dir, \%jars);
|
||||
}
|
||||
if ($main::options{jsdebugger})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:venkman:resources:jar.mn", $chrome_dir, \%jars);
|
||||
}
|
||||
}
|
||||
if ($main::options{vixen})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:vixen:resources:jar.mn", $chrome_dir, \%jars);
|
||||
}
|
||||
if ($main::options{inspector})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:inspector:resources:content:jar.mn", $chrome_dir, \%jars);
|
||||
CreateJarFromManifest(":mozilla:extensions:inspector:resources:locale:en-US:jar.mn", $chrome_dir, \%jars);
|
||||
CreateJarFromManifest(":mozilla:extensions:inspector:resources:skin:classic:jar.mn", $chrome_dir, \%jars);
|
||||
CreateJarFromManifest(":mozilla:extensions:inspector:resources:skin:modern:jar.mn", $chrome_dir, \%jars);
|
||||
}
|
||||
if ($main::options{p3p})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:p3p:resources:jar.mn", $chrome_dir, \%jars);
|
||||
}
|
||||
if ($main::options{jsdebugger})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:venkman:resources:jar.mn", $chrome_dir, \%jars);
|
||||
}
|
||||
|
||||
CreateJarFromManifest(":mozilla:caps:src:jar.mn", $chrome_dir, \%jars);
|
||||
|
@ -1761,10 +1767,16 @@ sub BuildExtensionsProjects()
|
|||
my($packages_chrome_dir) = "$chrome_dir" . "packages:";
|
||||
|
||||
# Chatzilla
|
||||
InstallResources(":mozilla:extensions:irc:js:lib:MANIFEST_COMPONENTS", "${dist_dir}Components");
|
||||
if ($main::options{chatzilla})
|
||||
{
|
||||
InstallResources(":mozilla:extensions:irc:js:lib:MANIFEST_COMPONENTS", "${dist_dir}Components");
|
||||
}
|
||||
|
||||
# XML-RPC
|
||||
InstallFromManifest(":mozilla:extensions:xml-rpc:src:MANIFEST_COMPONENTS", "${dist_dir}Components");
|
||||
if ($main::options{xml_rpc})
|
||||
{
|
||||
InstallFromManifest(":mozilla:extensions:xml-rpc:src:MANIFEST_COMPONENTS", "${dist_dir}Components");
|
||||
}
|
||||
|
||||
# Transformiix
|
||||
if ($main::options{transformiix})
|
||||
|
|
Загрузка…
Ссылка в новой задаче