mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
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:
parent
5d5482f43f
commit
95ec3916fa
@ -40,7 +40,13 @@ include $(DEPTH)/config/autoconf.mk
|
|||||||
|
|
||||||
MODULE = uconv
|
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
|
ifdef MOZ_MATHML
|
||||||
DIRS += ucvmath
|
DIRS += ucvmath
|
||||||
|
@ -62,7 +62,10 @@
|
|||||||
#include "nsIUnicodeDecodeHelper.h"
|
#include "nsIUnicodeDecodeHelper.h"
|
||||||
#include "nsIUnicodeEncodeHelper.h"
|
#include "nsIUnicodeEncodeHelper.h"
|
||||||
#include "nsCharsetConverterManager.h"
|
#include "nsCharsetConverterManager.h"
|
||||||
|
|
||||||
|
#ifdef MOZ_USE_NATIVE_UCONV
|
||||||
#include "nsNativeUConvService.h"
|
#include "nsNativeUConvService.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
static NS_DEFINE_CID(kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
|
static NS_DEFINE_CID(kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
|
||||||
static NS_DEFINE_CID(kCharsetAliasCID, NS_CHARSETALIAS_CID);
|
static NS_DEFINE_CID(kCharsetAliasCID, NS_CHARSETALIAS_CID);
|
||||||
|
@ -43,7 +43,9 @@
|
|||||||
#include "nsIStringBundle.h"
|
#include "nsIStringBundle.h"
|
||||||
#include "nsISupportsArray.h"
|
#include "nsISupportsArray.h"
|
||||||
|
|
||||||
|
#ifdef MOZ_USE_NATIVE_UCONV
|
||||||
#include "nsINativeUConvService.h"
|
#include "nsINativeUConvService.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
class nsCharsetConverterManager : public nsICharsetConverterManager
|
class nsCharsetConverterManager : public nsICharsetConverterManager
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user