2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:21 -08: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/.
|
|
|
|
|
2015-05-08 16:37:22 -07:00
|
|
|
# This file builds the unicharutil_external_s library which should be used
|
|
|
|
# by frozen (dependent) linkage components. Internal-linkage code should use
|
|
|
|
# unicharutil_s which is built in the internal/ subdirectory.
|
|
|
|
|
2015-04-03 06:55:00 -07:00
|
|
|
DIRS += ['internal', 'standalone']
|
2013-03-19 11:47:00 -07:00
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
2014-06-01 15:17:41 -07:00
|
|
|
'GreekCasing.h',
|
2014-01-23 07:42:54 -08:00
|
|
|
'ICUUtils.h',
|
2014-06-01 15:17:54 -07:00
|
|
|
'IrishCasing.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsBidiUtils.h',
|
|
|
|
'nsSpecialCasingData.h',
|
2013-07-01 14:24:53 -07:00
|
|
|
'nsUnicharUtils.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'nsUnicodeProperties.h',
|
|
|
|
'nsUnicodeScriptCodes.h',
|
|
|
|
]
|
|
|
|
|
2013-08-30 06:09:06 -07:00
|
|
|
include('objs.mozbuild')
|
|
|
|
|
2013-11-10 13:41:53 -08:00
|
|
|
UNIFIED_SOURCES += intl_unicharutil_util_cppsrcs
|
2013-04-23 14:54:15 -07:00
|
|
|
|
2014-09-02 22:10:54 -07:00
|
|
|
Library('unicharutil_external_s')
|
2013-10-24 10:51:00 -07:00
|
|
|
|
|
|
|
FORCE_STATIC_LIB = True
|
2013-11-27 05:55:07 -08:00
|
|
|
|
2014-07-22 21:29:09 -07:00
|
|
|
SDK_LIBRARY = True
|
|
|
|
|
2014-02-11 06:12:33 -08:00
|
|
|
USE_STATIC_LIBS = True
|
2013-11-28 06:24:15 -08:00
|
|
|
|
2013-11-27 05:55:07 -08:00
|
|
|
if CONFIG['_MSC_VER']:
|
|
|
|
DEFINES['_USE_ANSI_CPP'] = True
|
2014-06-27 07:32:05 -07:00
|
|
|
# Don't include directives about which CRT to use
|
|
|
|
CFLAGS += ['-Zl']
|
|
|
|
CXXFLAGS += ['-Zl']
|
2014-07-24 08:55:33 -07:00
|
|
|
|
|
|
|
if CONFIG['ENABLE_INTL_API']:
|
|
|
|
CXXFLAGS += CONFIG['MOZ_ICU_CFLAGS']
|
2014-12-04 01:11:14 -08:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
FAIL_ON_WARNINGS = True
|
2015-05-08 16:37:22 -07:00
|
|
|
|
|
|
|
DIST_INSTALL = True
|