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/.
|
|
|
|
|
2016-11-03 05:46:12 +03:00
|
|
|
TEST_DIRS += ['gtest']
|
2013-03-19 22:47:00 +04:00
|
|
|
|
2017-12-14 07:17:32 +03:00
|
|
|
EXPORTS.mozilla.intl += [
|
|
|
|
'LineBreaker.h',
|
2017-12-14 07:17:38 +03:00
|
|
|
'WordBreaker.h',
|
2017-12-14 07:17:32 +03:00
|
|
|
]
|
|
|
|
|
2014-07-24 21:56:39 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2017-12-14 07:17:32 +03:00
|
|
|
'LineBreaker.cpp',
|
2017-12-14 07:17:38 +03:00
|
|
|
'WordBreaker.cpp',
|
2014-07-24 21:56:39 +04:00
|
|
|
]
|
|
|
|
|
2016-03-16 08:06:26 +03:00
|
|
|
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
2014-07-24 21:56:39 +04:00
|
|
|
SOURCES += [
|
|
|
|
'nsPangoBreaker.cpp',
|
|
|
|
]
|
2016-03-16 08:06:26 +03:00
|
|
|
CXXFLAGS += CONFIG['MOZ_PANGO_CFLAGS']
|
2014-07-24 21:56:39 +04:00
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
|
|
SOURCES += [
|
|
|
|
'nsUniscribeBreaker.cpp',
|
|
|
|
]
|
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'nsCarbonBreaker.cpp',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
SOURCES += [
|
|
|
|
'nsRuleBreaker.cpp',
|
|
|
|
]
|
|
|
|
SOURCES += [
|
|
|
|
'rulebrk.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|