2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:21 +04:00
|
|
|
# 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/.
|
|
|
|
|
2014-07-24 21:56:40 +04:00
|
|
|
DIRS += ['util', 'tables']
|
2014-07-29 03:55:55 +04:00
|
|
|
TEST_DIRS += ['tests']
|
2013-03-19 22:47:00 +04:00
|
|
|
|
2014-07-24 21:56:40 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIEntityConverter.idl',
|
|
|
|
'nsISaveAsCharset.idl',
|
|
|
|
'nsIUnicodeNormalizer.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'unicharutil'
|
|
|
|
|
|
|
|
EXPORTS += [
|
|
|
|
'nsICaseConversion.h',
|
|
|
|
'nsIUGenCategory.h',
|
|
|
|
'nsUnicharUtilCIID.h',
|
|
|
|
'nsUnicodeNormalizer.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'nsCaseConversionImp2.cpp',
|
|
|
|
'nsCategoryImp.cpp',
|
|
|
|
'nsEntityConverter.cpp',
|
|
|
|
'nsSaveAsCharset.cpp',
|
|
|
|
]
|
|
|
|
|
2016-09-29 14:27:50 +03:00
|
|
|
if CONFIG['ENABLE_INTL_API']:
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'nsUnicodeNormalizer_ICU.cpp',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'nsUnicodeNormalizer.cpp',
|
|
|
|
]
|
|
|
|
|
2014-07-24 21:56:40 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2016-05-11 10:00:01 +03:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|