Bug 936899 - Build all of the uconv library in unified mode; r=smontagu

This commit is contained in:
Ehsan Akhgari 2013-11-10 14:41:29 -05:00
parent 719c8ac7d1
commit a3f7ee4300
14 changed files with 199 additions and 297 deletions

View File

@ -7,7 +7,6 @@
DIRS += [
'idl',
'public',
'util',
'ucvja',
'ucvcn',
'ucvlatin',

View File

@ -13,16 +13,6 @@ LOCAL_INCLUDES = -I$(srcdir)/../util \
-I$(srcdir)/../ucvcn \
$(NULL)
SHARED_LIBRARY_LIBS += \
../ucvlatin/$(LIB_PREFIX)ucvlatin_s.$(LIB_SUFFIX) \
../ucvibm/$(LIB_PREFIX)ucvibm_s.$(LIB_SUFFIX) \
../ucvja/$(LIB_PREFIX)ucvja_s.$(LIB_SUFFIX) \
../ucvtw2/$(LIB_PREFIX)ucvtw2_s.$(LIB_SUFFIX) \
../ucvtw/$(LIB_PREFIX)ucvtw_s.$(LIB_SUFFIX) \
../ucvko/$(LIB_PREFIX)ucvko_s.$(LIB_SUFFIX) \
../ucvcn/$(LIB_PREFIX)ucvcn_s.$(LIB_SUFFIX) \
$(NULL)
include $(topsrcdir)/config/rules.mk
ifneq (,$(INTEL_ARCHITECTURE))

View File

@ -24,6 +24,197 @@ UNIFIED_SOURCES += [
'nsUTF8ToUnicode.cpp',
]
UNIFIED_SOURCES += [
'../ucvcn/nsGBKConvUtil.cpp',
'../ucvcn/nsGBKToUnicode.cpp',
'../ucvcn/nsHZToUnicode.cpp',
'../ucvcn/nsISO2022CNToUnicode.cpp',
'../ucvcn/nsUnicodeToGB2312V2.cpp',
'../ucvcn/nsUnicodeToGBK.cpp',
'../ucvcn/nsUnicodeToHZ.cpp',
]
UNIFIED_SOURCES += [
'../ucvibm/nsCP850ToUnicode.cpp',
'../ucvibm/nsCP852ToUnicode.cpp',
'../ucvibm/nsCP855ToUnicode.cpp',
'../ucvibm/nsCP857ToUnicode.cpp',
'../ucvibm/nsCP862ToUnicode.cpp',
'../ucvibm/nsCP864ToUnicode.cpp',
'../ucvibm/nsUnicodeToCP850.cpp',
'../ucvibm/nsUnicodeToCP852.cpp',
'../ucvibm/nsUnicodeToCP855.cpp',
'../ucvibm/nsUnicodeToCP857.cpp',
'../ucvibm/nsUnicodeToCP862.cpp',
'../ucvibm/nsUnicodeToCP864.cpp',
]
UNIFIED_SOURCES += [
'../ucvja/nsJapaneseToUnicode.cpp',
'../ucvja/nsUnicodeToEUCJP.cpp',
'../ucvja/nsUnicodeToISO2022JP.cpp',
'../ucvja/nsUnicodeToJISx0201.cpp',
'../ucvja/nsUnicodeToSJIS.cpp',
]
UNIFIED_SOURCES += [
'../ucvko/nsCP949ToUnicode.cpp',
'../ucvko/nsISO2022KRToUnicode.cpp',
'../ucvko/nsJohabToUnicode.cpp',
'../ucvko/nsUnicodeToCP949.cpp',
'../ucvko/nsUnicodeToJohab.cpp',
]
UNIFIED_SOURCES += [
'../ucvlatin/nsARMSCII8ToUnicode.cpp',
'../ucvlatin/nsAsciiToUnicode.cpp',
'../ucvlatin/nsCP1250ToUnicode.cpp',
'../ucvlatin/nsCP1251ToUnicode.cpp',
'../ucvlatin/nsCP1253ToUnicode.cpp',
'../ucvlatin/nsCP1254ToUnicode.cpp',
'../ucvlatin/nsCP1255ToUnicode.cpp',
'../ucvlatin/nsCP1256ToUnicode.cpp',
'../ucvlatin/nsCP1257ToUnicode.cpp',
'../ucvlatin/nsCP1258ToUnicode.cpp',
'../ucvlatin/nsCP866ToUnicode.cpp',
'../ucvlatin/nsCP874ToUnicode.cpp',
'../ucvlatin/nsISO885910ToUnicode.cpp',
'../ucvlatin/nsISO885911ToUnicode.cpp',
'../ucvlatin/nsISO885913ToUnicode.cpp',
'../ucvlatin/nsISO885914ToUnicode.cpp',
'../ucvlatin/nsISO885915ToUnicode.cpp',
'../ucvlatin/nsISO885916ToUnicode.cpp',
'../ucvlatin/nsISO88592ToUnicode.cpp',
'../ucvlatin/nsISO88593ToUnicode.cpp',
'../ucvlatin/nsISO88594ToUnicode.cpp',
'../ucvlatin/nsISO88595ToUnicode.cpp',
'../ucvlatin/nsISO88596EToUnicode.cpp',
'../ucvlatin/nsISO88596IToUnicode.cpp',
'../ucvlatin/nsISO88596ToUnicode.cpp',
'../ucvlatin/nsISO88597ToUnicode.cpp',
'../ucvlatin/nsISO88598EToUnicode.cpp',
'../ucvlatin/nsISO88598IToUnicode.cpp',
'../ucvlatin/nsISO88598ToUnicode.cpp',
'../ucvlatin/nsISO88599ToUnicode.cpp',
'../ucvlatin/nsISOIR111ToUnicode.cpp',
'../ucvlatin/nsKOI8RToUnicode.cpp',
'../ucvlatin/nsKOI8UToUnicode.cpp',
'../ucvlatin/nsMacArabicToUnicode.cpp',
'../ucvlatin/nsMacCEToUnicode.cpp',
'../ucvlatin/nsMacCroatianToUnicode.cpp',
'../ucvlatin/nsMacCyrillicToUnicode.cpp',
'../ucvlatin/nsMacDevanagariToUnicode.cpp',
'../ucvlatin/nsMacFarsiToUnicode.cpp',
'../ucvlatin/nsMacGreekToUnicode.cpp',
'../ucvlatin/nsMacGujaratiToUnicode.cpp',
'../ucvlatin/nsMacGurmukhiToUnicode.cpp',
'../ucvlatin/nsMacHebrewToUnicode.cpp',
'../ucvlatin/nsMacIcelandicToUnicode.cpp',
'../ucvlatin/nsMacRomanianToUnicode.cpp',
'../ucvlatin/nsMacTurkishToUnicode.cpp',
'../ucvlatin/nsMUTF7ToUnicode.cpp',
'../ucvlatin/nsT61ToUnicode.cpp',
'../ucvlatin/nsTCVN5712ToUnicode.cpp',
'../ucvlatin/nsTIS620ToUnicode.cpp',
'../ucvlatin/nsUnicodeToAdobeEuro.cpp',
'../ucvlatin/nsUnicodeToARMSCII8.cpp',
'../ucvlatin/nsUnicodeToAscii.cpp',
'../ucvlatin/nsUnicodeToCP1250.cpp',
'../ucvlatin/nsUnicodeToCP1251.cpp',
'../ucvlatin/nsUnicodeToCP1253.cpp',
'../ucvlatin/nsUnicodeToCP1254.cpp',
'../ucvlatin/nsUnicodeToCP1255.cpp',
'../ucvlatin/nsUnicodeToCP1256.cpp',
'../ucvlatin/nsUnicodeToCP1257.cpp',
'../ucvlatin/nsUnicodeToCP1258.cpp',
'../ucvlatin/nsUnicodeToCP866.cpp',
'../ucvlatin/nsUnicodeToCP874.cpp',
'../ucvlatin/nsUnicodeToISO885910.cpp',
'../ucvlatin/nsUnicodeToISO885911.cpp',
'../ucvlatin/nsUnicodeToISO885913.cpp',
'../ucvlatin/nsUnicodeToISO885914.cpp',
'../ucvlatin/nsUnicodeToISO885915.cpp',
'../ucvlatin/nsUnicodeToISO885916.cpp',
'../ucvlatin/nsUnicodeToISO88592.cpp',
'../ucvlatin/nsUnicodeToISO88593.cpp',
'../ucvlatin/nsUnicodeToISO88594.cpp',
'../ucvlatin/nsUnicodeToISO88595.cpp',
'../ucvlatin/nsUnicodeToISO88596.cpp',
'../ucvlatin/nsUnicodeToISO88596E.cpp',
'../ucvlatin/nsUnicodeToISO88596I.cpp',
'../ucvlatin/nsUnicodeToISO88597.cpp',
'../ucvlatin/nsUnicodeToISO88598.cpp',
'../ucvlatin/nsUnicodeToISO88598E.cpp',
'../ucvlatin/nsUnicodeToISO88598I.cpp',
'../ucvlatin/nsUnicodeToISO88599.cpp',
'../ucvlatin/nsUnicodeToISOIR111.cpp',
'../ucvlatin/nsUnicodeToKOI8R.cpp',
'../ucvlatin/nsUnicodeToKOI8U.cpp',
'../ucvlatin/nsUnicodeToMacArabic.cpp',
'../ucvlatin/nsUnicodeToMacCE.cpp',
'../ucvlatin/nsUnicodeToMacCroatian.cpp',
'../ucvlatin/nsUnicodeToMacCyrillic.cpp',
'../ucvlatin/nsUnicodeToMacDevanagari.cpp',
'../ucvlatin/nsUnicodeToMacFarsi.cpp',
'../ucvlatin/nsUnicodeToMacGreek.cpp',
'../ucvlatin/nsUnicodeToMacGujarati.cpp',
'../ucvlatin/nsUnicodeToMacGurmukhi.cpp',
'../ucvlatin/nsUnicodeToMacHebrew.cpp',
'../ucvlatin/nsUnicodeToMacIcelandic.cpp',
'../ucvlatin/nsUnicodeToMacRomanian.cpp',
'../ucvlatin/nsUnicodeToMacTurkish.cpp',
'../ucvlatin/nsUnicodeToMUTF7.cpp',
'../ucvlatin/nsUnicodeToSymbol.cpp',
'../ucvlatin/nsUnicodeToT61.cpp',
'../ucvlatin/nsUnicodeToTCVN5712.cpp',
'../ucvlatin/nsUnicodeToTIS620.cpp',
'../ucvlatin/nsUnicodeToTSCII.cpp',
'../ucvlatin/nsUnicodeToUserDefined.cpp',
'../ucvlatin/nsUnicodeToUTF16.cpp',
'../ucvlatin/nsUnicodeToUTF7.cpp',
'../ucvlatin/nsUnicodeToVISCII.cpp',
'../ucvlatin/nsUnicodeToVPS.cpp',
'../ucvlatin/nsUnicodeToZapfDingbat.cpp',
'../ucvlatin/nsUserDefinedToUnicode.cpp',
'../ucvlatin/nsUTF16ToUnicode.cpp',
'../ucvlatin/nsUTF7ToUnicode.cpp',
'../ucvlatin/nsVISCIIToUnicode.cpp',
'../ucvlatin/nsVPSToUnicode.cpp',
]
UNIFIED_SOURCES += [
'../ucvtw/nsBIG5HKSCSToUnicode.cpp',
'../ucvtw/nsBIG5ToUnicode.cpp',
'../ucvtw/nsUnicodeToBIG5.cpp',
'../ucvtw/nsUnicodeToBIG5HKSCS.cpp',
'../ucvtw/nsUnicodeToHKSCS.cpp',
]
UNIFIED_SOURCES += [
'../ucvtw2/nsEUCTWToUnicode.cpp',
'../ucvtw2/nsUnicodeToEUCTW.cpp',
]
UNIFIED_SOURCES += [
'../util/nsUCConstructors.cpp',
'../util/nsUCSupport.cpp',
'../util/nsUnicodeDecodeHelper.cpp',
'../util/nsUnicodeEncodeHelper.cpp',
'../util/ugen.c',
'../util/umap.c',
'../util/uscan.c',
]
if CONFIG['OS_ARCH'] == 'OS2':
UNIFIED_SOURCES += [
'../ucvibm/nsCP1125ToUnicode.cpp',
'../ucvibm/nsCP1131ToUnicode.cpp',
'../ucvibm/nsCP869ToUnicode.cpp',
'../ucvibm/nsUnicodeToCP1125.cpp',
'../ucvibm/nsUnicodeToCP1131.cpp',
'../ucvibm/nsUnicodeToCP869.cpp',
]
if CONFIG['INTEL_ARCHITECTURE']:
SOURCES += [
'nsUTF8ToUnicodeSSE2.cpp',
@ -37,3 +228,7 @@ MSVC_ENABLE_PGO = True
EXPORT_LIBRARY = True
LOCAL_INCLUDES += [
'../util',
]

View File

@ -4,26 +4,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
MODULE = 'ucvcn'
EXPORTS += [
'nsUCvCnCID.h',
]
UNIFIED_SOURCES += [
'nsGBKConvUtil.cpp',
'nsGBKToUnicode.cpp',
'nsHZToUnicode.cpp',
'nsISO2022CNToUnicode.cpp',
'nsUnicodeToGB2312V2.cpp',
'nsUnicodeToGBK.cpp',
'nsUnicodeToHZ.cpp',
]
LIBRARY_NAME = 'ucvcn_s'
LIBXUL_LIBRARY = True
LOCAL_INCLUDES += [
'../util',
]

View File

@ -4,41 +4,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
MODULE = 'ucvibm'
EXPORTS += [
'nsUCvIBMCID.h',
]
UNIFIED_SOURCES += [
'nsCP850ToUnicode.cpp',
'nsCP852ToUnicode.cpp',
'nsCP855ToUnicode.cpp',
'nsCP857ToUnicode.cpp',
'nsCP862ToUnicode.cpp',
'nsCP864ToUnicode.cpp',
'nsUnicodeToCP850.cpp',
'nsUnicodeToCP852.cpp',
'nsUnicodeToCP855.cpp',
'nsUnicodeToCP857.cpp',
'nsUnicodeToCP862.cpp',
'nsUnicodeToCP864.cpp',
]
if CONFIG['OS_ARCH'] == 'OS2':
UNIFIED_SOURCES += [
'nsCP1125ToUnicode.cpp',
'nsCP1131ToUnicode.cpp',
'nsCP869ToUnicode.cpp',
'nsUnicodeToCP1125.cpp',
'nsUnicodeToCP1131.cpp',
'nsUnicodeToCP869.cpp',
]
LIBRARY_NAME = 'ucvibm_s'
LIBXUL_LIBRARY = True
LOCAL_INCLUDES += [
'../util',
]

View File

@ -4,25 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
MODULE = 'ucvja'
EXPORTS += [
'nsUCVJA2CID.h',
'nsUCVJACID.h',
]
UNIFIED_SOURCES += [
'nsJapaneseToUnicode.cpp',
'nsUnicodeToEUCJP.cpp',
'nsUnicodeToISO2022JP.cpp',
'nsUnicodeToJISx0201.cpp',
'nsUnicodeToSJIS.cpp',
]
LIBRARY_NAME = 'ucvja_s'
LIBXUL_LIBRARY = True
LOCAL_INCLUDES += [
'../util',
]

View File

@ -13,8 +13,6 @@
#include "mozilla/Assertions.h"
static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CID);
#ifdef XP_OS2
// HTML5-incompliant behavior for OS/2, see bug 108136
// This is bogus. The right fix would be working around the font problems
@ -388,6 +386,8 @@ NS_IMETHODIMP nsISO2022JPToUnicodeV2::Convert(
const char * aSrc, int32_t * aSrcLen,
PRUnichar * aDest, int32_t * aDestLen)
{
static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CID);
static const uint16_t fbIdx[128] =
{
/* 0x8X */

View File

@ -4,24 +4,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
MODULE = 'ucvko'
EXPORTS += [
'nsUCvKOCID.h',
]
UNIFIED_SOURCES += [
'nsCP949ToUnicode.cpp',
'nsISO2022KRToUnicode.cpp',
'nsJohabToUnicode.cpp',
'nsUnicodeToCP949.cpp',
'nsUnicodeToJohab.cpp',
]
LIBRARY_NAME = 'ucvko_s'
LIBXUL_LIBRARY = True
LOCAL_INCLUDES += [
'../util',
]

View File

@ -7,10 +7,10 @@
#include "nsICharsetConverterManager.h"
#include "nsServiceManagerUtils.h"
static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CID);
NS_IMETHODIMP nsISO2022KRToUnicode::Convert(const char * aSrc, int32_t * aSrcLen, PRUnichar * aDest, int32_t * aDestLen)
{
static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CID);
const unsigned char* srcEnd = (unsigned char*)aSrc + *aSrcLen;
const unsigned char* src =(unsigned char*) aSrc;
PRUnichar* destEnd = aDest + *aDestLen;

View File

@ -4,134 +4,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
MODULE = 'ucvlatin'
EXPORTS += [
'nsUCvLatinCID.h',
]
UNIFIED_SOURCES += [
'nsARMSCII8ToUnicode.cpp',
'nsAsciiToUnicode.cpp',
'nsCP1250ToUnicode.cpp',
'nsCP1251ToUnicode.cpp',
'nsCP1253ToUnicode.cpp',
'nsCP1254ToUnicode.cpp',
'nsCP1255ToUnicode.cpp',
'nsCP1256ToUnicode.cpp',
'nsCP1257ToUnicode.cpp',
'nsCP1258ToUnicode.cpp',
'nsCP866ToUnicode.cpp',
'nsCP874ToUnicode.cpp',
'nsISO885910ToUnicode.cpp',
'nsISO885911ToUnicode.cpp',
'nsISO885913ToUnicode.cpp',
'nsISO885914ToUnicode.cpp',
'nsISO885915ToUnicode.cpp',
'nsISO885916ToUnicode.cpp',
'nsISO88592ToUnicode.cpp',
'nsISO88593ToUnicode.cpp',
'nsISO88594ToUnicode.cpp',
'nsISO88595ToUnicode.cpp',
'nsISO88596EToUnicode.cpp',
'nsISO88596IToUnicode.cpp',
'nsISO88596ToUnicode.cpp',
'nsISO88597ToUnicode.cpp',
'nsISO88598EToUnicode.cpp',
'nsISO88598IToUnicode.cpp',
'nsISO88598ToUnicode.cpp',
'nsISO88599ToUnicode.cpp',
'nsISOIR111ToUnicode.cpp',
'nsKOI8RToUnicode.cpp',
'nsKOI8UToUnicode.cpp',
'nsMacArabicToUnicode.cpp',
'nsMacCEToUnicode.cpp',
'nsMacCroatianToUnicode.cpp',
'nsMacCyrillicToUnicode.cpp',
'nsMacDevanagariToUnicode.cpp',
'nsMacFarsiToUnicode.cpp',
'nsMacGreekToUnicode.cpp',
'nsMacGujaratiToUnicode.cpp',
'nsMacGurmukhiToUnicode.cpp',
'nsMacHebrewToUnicode.cpp',
'nsMacIcelandicToUnicode.cpp',
'nsMacRomanianToUnicode.cpp',
'nsMacTurkishToUnicode.cpp',
'nsMUTF7ToUnicode.cpp',
'nsT61ToUnicode.cpp',
'nsTCVN5712ToUnicode.cpp',
'nsTIS620ToUnicode.cpp',
'nsUnicodeToAdobeEuro.cpp',
'nsUnicodeToARMSCII8.cpp',
'nsUnicodeToAscii.cpp',
'nsUnicodeToCP1250.cpp',
'nsUnicodeToCP1251.cpp',
'nsUnicodeToCP1253.cpp',
'nsUnicodeToCP1254.cpp',
'nsUnicodeToCP1255.cpp',
'nsUnicodeToCP1256.cpp',
'nsUnicodeToCP1257.cpp',
'nsUnicodeToCP1258.cpp',
'nsUnicodeToCP866.cpp',
'nsUnicodeToCP874.cpp',
'nsUnicodeToISO885910.cpp',
'nsUnicodeToISO885911.cpp',
'nsUnicodeToISO885913.cpp',
'nsUnicodeToISO885914.cpp',
'nsUnicodeToISO885915.cpp',
'nsUnicodeToISO885916.cpp',
'nsUnicodeToISO88592.cpp',
'nsUnicodeToISO88593.cpp',
'nsUnicodeToISO88594.cpp',
'nsUnicodeToISO88595.cpp',
'nsUnicodeToISO88596.cpp',
'nsUnicodeToISO88596E.cpp',
'nsUnicodeToISO88596I.cpp',
'nsUnicodeToISO88597.cpp',
'nsUnicodeToISO88598.cpp',
'nsUnicodeToISO88598E.cpp',
'nsUnicodeToISO88598I.cpp',
'nsUnicodeToISO88599.cpp',
'nsUnicodeToISOIR111.cpp',
'nsUnicodeToKOI8R.cpp',
'nsUnicodeToKOI8U.cpp',
'nsUnicodeToMacArabic.cpp',
'nsUnicodeToMacCE.cpp',
'nsUnicodeToMacCroatian.cpp',
'nsUnicodeToMacCyrillic.cpp',
'nsUnicodeToMacDevanagari.cpp',
'nsUnicodeToMacFarsi.cpp',
'nsUnicodeToMacGreek.cpp',
'nsUnicodeToMacGujarati.cpp',
'nsUnicodeToMacGurmukhi.cpp',
'nsUnicodeToMacHebrew.cpp',
'nsUnicodeToMacIcelandic.cpp',
'nsUnicodeToMacRomanian.cpp',
'nsUnicodeToMacTurkish.cpp',
'nsUnicodeToMUTF7.cpp',
'nsUnicodeToSymbol.cpp',
'nsUnicodeToT61.cpp',
'nsUnicodeToTCVN5712.cpp',
'nsUnicodeToTIS620.cpp',
'nsUnicodeToTSCII.cpp',
'nsUnicodeToUserDefined.cpp',
'nsUnicodeToUTF16.cpp',
'nsUnicodeToUTF7.cpp',
'nsUnicodeToVISCII.cpp',
'nsUnicodeToVPS.cpp',
'nsUnicodeToZapfDingbat.cpp',
'nsUserDefinedToUnicode.cpp',
'nsUTF16ToUnicode.cpp',
'nsUTF7ToUnicode.cpp',
'nsVISCIIToUnicode.cpp',
'nsVPSToUnicode.cpp',
]
LIBRARY_NAME = 'ucvlatin_s'
LIBXUL_LIBRARY = True
LOCAL_INCLUDES += [
'../src',
'../util',
]

View File

@ -4,24 +4,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
MODULE = 'ucvtw'
EXPORTS += [
'nsUCvTWCID.h',
]
UNIFIED_SOURCES += [
'nsBIG5HKSCSToUnicode.cpp',
'nsBIG5ToUnicode.cpp',
'nsUnicodeToBIG5.cpp',
'nsUnicodeToBIG5HKSCS.cpp',
'nsUnicodeToHKSCS.cpp',
]
LIBRARY_NAME = 'ucvtw_s'
LIBXUL_LIBRARY = True
LOCAL_INCLUDES += [
'../util',
]

View File

@ -4,21 +4,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
MODULE = 'ucvtw2'
EXPORTS += [
'nsUCvTW2CID.h',
]
UNIFIED_SOURCES += [
'nsEUCTWToUnicode.cpp',
'nsUnicodeToEUCTW.cpp',
]
LIBRARY_NAME = 'ucvtw2_s'
LIBXUL_LIBRARY = True
LOCAL_INCLUDES += [
'../util',
]

View File

@ -1,29 +0,0 @@
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
MODULE = 'uconv'
UNIFIED_SOURCES += [
'nsUCConstructors.cpp',
'nsUCSupport.cpp',
'nsUnicodeDecodeHelper.cpp',
'nsUnicodeEncodeHelper.cpp',
]
LIBRARY_NAME = 'ucvutil_s'
LIBXUL_LIBRARY = True
UNIFIED_SOURCES += [
'ugen.c',
'umap.c',
'uscan.c',
]
MSVC_ENABLE_PGO = True
EXPORT_LIBRARY = True

View File

@ -136,7 +136,6 @@ endif
STATIC_LIBS += \
xpcom_core \
ucvutil_s \
chromium_s \
snappy_s \
$(NULL)