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:
cbiesinger%web.de 2004-04-10 14:15:16 +00:00
parent 5d5482f43f
commit 95ec3916fa
3 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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);

View File

@ -43,7 +43,9 @@
#include "nsIStringBundle.h"
#include "nsISupportsArray.h"
#ifdef MOZ_USE_NATIVE_UCONV
#include "nsINativeUConvService.h"
#endif
class nsCharsetConverterManager : public nsICharsetConverterManager
{