Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like grid, listbox, and tree. r=bzbarsky, sr=alecf. git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -39,7 +39,9 @@
|
||||
#include "nsNSSCertificateDB.h"
|
||||
#include "nsNSSCertCache.h"
|
||||
#include "nsCMS.h"
|
||||
#ifdef MOZ_XUL
|
||||
#include "nsCertTree.h"
|
||||
#endif
|
||||
#include "nsCrypto.h"
|
||||
//For the NS_CRYPTO_CONTRACTID define
|
||||
#include "nsDOMCID.h"
|
||||
@@ -151,7 +153,9 @@ NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsPKCS11ModuleDB)
|
||||
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR_INIT(PR_FALSE, PSMContentListener, init)
|
||||
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsNSSCertificateDB)
|
||||
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsNSSCertCache)
|
||||
#ifdef MOZ_XUL
|
||||
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsCertTree)
|
||||
#endif
|
||||
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsCrypto)
|
||||
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsPkcs11)
|
||||
NS_NSS_GENERIC_FACTORY_CONSTRUCTOR(PR_FALSE, nsCMSSecureMessage)
|
||||
@@ -284,14 +288,14 @@ static const nsModuleComponentInfo components[] =
|
||||
NS_FORMPROCESSOR_CONTRACTID,
|
||||
nsKeygenFormProcessor::Create
|
||||
},
|
||||
|
||||
#ifdef MOZ_XUL
|
||||
{
|
||||
"Certificate Tree",
|
||||
NS_CERTTREE_CID,
|
||||
NS_CERTTREE_CONTRACTID,
|
||||
nsCertTreeConstructor
|
||||
},
|
||||
|
||||
#endif
|
||||
{
|
||||
NS_PKCS11_CLASSNAME,
|
||||
NS_PKCS11_CID,
|
||||
|
||||
Reference in New Issue
Block a user