Use %var% instead of @var@ as placeholders for the static build dynamic module lists. This prevents acoutput-fast.pl from complaining about unknown variables.
git-svn-id: svn://10.0.0.236/trunk@99904 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -39,7 +39,7 @@ struct nsModuleComponentInfoContainer {
|
||||
PRUint32 count;
|
||||
};
|
||||
|
||||
@DECLARE_COMPONENT_LIST@
|
||||
%DECLARE_COMPONENT_LIST%
|
||||
|
||||
static nsresult
|
||||
NS_RegisterStaticModules(nsIFile *aPath)
|
||||
@@ -51,7 +51,7 @@ NS_RegisterStaticModules(nsIFile *aPath)
|
||||
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "Static mods cannot get global component manager.");
|
||||
|
||||
@COMPONENT_NS_GET_MODULE@
|
||||
%COMPONENT_NS_GET_MODULE%
|
||||
|
||||
{};
|
||||
|
||||
@@ -124,7 +124,7 @@ static nsModuleComponentInfo components[] =
|
||||
|
||||
static nsModuleComponentInfoContainer componentsList[] = {
|
||||
{ components, sizeof(components)/sizeof(components[0]) },
|
||||
@COMPONENT_LIST@
|
||||
%COMPONENT_LIST%
|
||||
{ nsnull, 0 }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user