|
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/. |
|
6 |
|
7 UNIFIED_SOURCES += [ |
|
8 'nsJISx4051LineBreaker.cpp', |
|
9 'nsSampleWordBreaker.cpp', |
|
10 'nsSemanticUnitScanner.cpp', |
|
11 ] |
|
12 |
|
13 if CONFIG['MOZ_WIDGET_GTK']: |
|
14 SOURCES += [ |
|
15 'nsPangoBreaker.cpp', |
|
16 ] |
|
17 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': |
|
18 SOURCES += [ |
|
19 'nsUniscribeBreaker.cpp', |
|
20 ] |
|
21 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
|
22 UNIFIED_SOURCES += [ |
|
23 'nsCarbonBreaker.cpp', |
|
24 ] |
|
25 else: |
|
26 SOURCES += [ |
|
27 'nsRuleBreaker.cpp', |
|
28 ] |
|
29 SOURCES += [ |
|
30 'rulebrk.c', |
|
31 ] |
|
32 |
|
33 |
|
34 |
|
35 MSVC_ENABLE_PGO = True |
|
36 |
|
37 FINAL_LIBRARY = 'i18n' |