Fix typo in 9b54bd30006c008b4a951331b273613d5bac3abf
[pm.git] / intl / unicharutil / util / moz.build
blob1c07ef047a2b356a2dc6ae3d4229abf58ffd25a0
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 DIRS += ['internal']
9 EXPORTS += [
10     'GreekCasing.h',
11     'ICUUtils.h',
12     'IrishCasing.h',
13     'nsBidiUtils.h',
14     'nsSpecialCasingData.h',
15     'nsUnicharUtils.h',
16     'nsUnicodeProperties.h',
17     'nsUnicodeScriptCodes.h',
20 include('objs.mozbuild')
22 UNIFIED_SOURCES += intl_unicharutil_util_cppsrcs
24 Library('unicharutil_external_s')
26 FORCE_STATIC_LIB = True
28 SDK_LIBRARY = True
30 USE_STATIC_LIBS = True
32 if CONFIG['_MSC_VER']:
33     DEFINES['_USE_ANSI_CPP'] = True
34     # Don't include directives about which CRT to use
35     CFLAGS += ['-Zl']
36     CXXFLAGS += ['-Zl']
38 if CONFIG['ENABLE_INTL_API']:
39     CXXFLAGS += CONFIG['MOZ_ICU_CFLAGS']
41 if CONFIG['GNU_CXX']:
42     FAIL_ON_WARNINGS = True