bug 212101 only build the NativeUConvService when needed
patch by Stephen Walker <sdwalker@myrealbox.com> r=mkaply sr=dougt a=mkaply
This commit is contained in:
Родитель
847fda7647
Коммит
b45a5991ea
|
@ -40,7 +40,13 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
MODULE = uconv
|
||||
|
||||
DIRS = idl public util ucvja ucvcn ucvlatin ucvtw ucvtw2 ucvko ucvibm native src
|
||||
DIRS = idl public util ucvja ucvcn ucvlatin ucvtw ucvtw2 ucvko ucvibm
|
||||
|
||||
ifdef MOZ_USE_NATIVE_UCONV
|
||||
DIRS += native
|
||||
endif
|
||||
|
||||
DIRS += src
|
||||
|
||||
ifdef MOZ_MATHML
|
||||
DIRS += ucvmath
|
||||
|
|
|
@ -62,7 +62,10 @@
|
|||
#include "nsIUnicodeDecodeHelper.h"
|
||||
#include "nsIUnicodeEncodeHelper.h"
|
||||
#include "nsCharsetConverterManager.h"
|
||||
|
||||
#ifdef MOZ_USE_NATIVE_UCONV
|
||||
#include "nsNativeUConvService.h"
|
||||
#endif
|
||||
|
||||
static NS_DEFINE_CID(kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
|
||||
static NS_DEFINE_CID(kCharsetAliasCID, NS_CHARSETALIAS_CID);
|
||||
|
|
|
@ -43,7 +43,9 @@
|
|||
#include "nsIStringBundle.h"
|
||||
#include "nsISupportsArray.h"
|
||||
|
||||
#ifdef MOZ_USE_NATIVE_UCONV
|
||||
#include "nsINativeUConvService.h"
|
||||
#endif
|
||||
|
||||
class nsCharsetConverterManager : public nsICharsetConverterManager
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче