gecko-dev/intl/lwbrk/moz.build
Xidorn Quan 9dc47921e1 Bug 1368418 part 1 - Remove nsISemanticUnitScanner. r=emk
Code search indicates that this is not used internally, and the only
addon uses this is Breadcrumbs, which hasn't been updated since 2009,
thus it is already not compatible with current Firefox.

MozReview-Commit-ID: 1lUs7ceaaE1

--HG--
extra : rebase_source : 87060c33291ba415c6c70767c132c4a5b74d29fb
2017-05-29 16:05:29 +10:00

42 lines
962 B
Python

# -*- Mode: python; 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/.
TEST_DIRS += ['gtest']
EXPORTS += [
'nsILineBreaker.h',
'nsIWordBreaker.h',
'nsLWBrkCIID.h',
]
UNIFIED_SOURCES += [
'nsJISx4051LineBreaker.cpp',
'nsSampleWordBreaker.cpp',
]
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
SOURCES += [
'nsPangoBreaker.cpp',
]
CXXFLAGS += CONFIG['MOZ_PANGO_CFLAGS']
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'