|
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 EXPORTS += [ |
|
8 'AccEvent.h', |
|
9 'nsAccessibilityService.h' |
|
10 ] |
|
11 |
|
12 EXPORTS.mozilla.a11y += [ |
|
13 'AccTypes.h', |
|
14 'DocManager.h', |
|
15 'FocusManager.h', |
|
16 'Platform.h', |
|
17 'RelationType.h', |
|
18 'Role.h', |
|
19 'SelectionManager.h', |
|
20 'States.h', |
|
21 ] |
|
22 |
|
23 if CONFIG['MOZ_DEBUG']: |
|
24 EXPORTS.mozilla.a11y += [ |
|
25 'Logging.h', |
|
26 ] |
|
27 |
|
28 UNIFIED_SOURCES += [ |
|
29 'AccCollector.cpp', |
|
30 'AccEvent.cpp', |
|
31 'AccGroupInfo.cpp', |
|
32 'AccIterator.cpp', |
|
33 'ARIAMap.cpp', |
|
34 'ARIAStateMap.cpp', |
|
35 'Asserts.cpp', |
|
36 'DocManager.cpp', |
|
37 'EventQueue.cpp', |
|
38 'Filters.cpp', |
|
39 'FocusManager.cpp', |
|
40 'NotificationController.cpp', |
|
41 'nsAccessibilityService.cpp', |
|
42 'nsAccessiblePivot.cpp', |
|
43 'nsAccUtils.cpp', |
|
44 'nsCoreUtils.cpp', |
|
45 'nsEventShell.cpp', |
|
46 'nsTextEquivUtils.cpp', |
|
47 'SelectionManager.cpp', |
|
48 'StyleInfo.cpp', |
|
49 'TextAttrs.cpp', |
|
50 'TextRange.cpp', |
|
51 'TextUpdater.cpp', |
|
52 'TreeWalker.cpp', |
|
53 ] |
|
54 |
|
55 if CONFIG['A11Y_LOG']: |
|
56 UNIFIED_SOURCES += [ |
|
57 'Logging.cpp', |
|
58 ] |
|
59 |
|
60 LOCAL_INCLUDES += [ |
|
61 '../generic', |
|
62 '../html', |
|
63 '../xpcom', |
|
64 '../xul', |
|
65 '/dom/xbl', |
|
66 '/ipc/chromium/src', |
|
67 '/layout/generic', |
|
68 '/layout/style', |
|
69 '/layout/svg', |
|
70 '/layout/xul', |
|
71 '/layout/xul/tree/', |
|
72 ] |
|
73 |
|
74 if CONFIG['MOZ_ENABLE_GTK']: |
|
75 LOCAL_INCLUDES += [ |
|
76 '../atk', |
|
77 ] |
|
78 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': |
|
79 LOCAL_INCLUDES += [ |
|
80 '../windows/ia2', |
|
81 '../windows/msaa', |
|
82 ] |
|
83 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
|
84 LOCAL_INCLUDES += [ |
|
85 '../mac', |
|
86 ] |
|
87 else: |
|
88 LOCAL_INCLUDES += [ |
|
89 '../other', |
|
90 ] |
|
91 |
|
92 FINAL_LIBRARY = 'xul' |