OLD | NEW |
| (Empty) |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 # Common variables shared amongst all ChromeVox targets. | |
5 | |
6 assert(is_chromeos) | |
7 | |
8 # TODO(plundblad): Move the below variables to BUILD.gn when crbug.com/395883 | |
9 # is resolved. | |
10 | |
11 closure_library_dir = | |
12 "//chrome/third_party/chromevox/third_party/closure-library/closure/goog" | |
13 | |
14 jsbundler_modules = rebase_path([ | |
15 "depstree.py", | |
16 "source.py", | |
17 "treescan.py", | |
18 ], | |
19 ".", | |
20 "$closure_library_dir/../bin/build") | |
21 jsbundler_modules += | |
22 [ "//third_party/WebKit/Source/devtools/scripts/rjsmin.py" ] | |
23 | |
24 # List of all modules that are included in one or more of the production | |
25 # chromevox scripts. | |
26 chromevox_modules = [ | |
27 "braille/braille_display_manager.js", | |
28 "braille/braille_input_handler.js", | |
29 "braille/braille_key_types.js", | |
30 "braille/braille_table.js", | |
31 "braille/braille_translator_manager.js", | |
32 "braille/expanding_braille_translator.js", | |
33 "braille/liblouis.js", | |
34 "braille/nav_braille.js", | |
35 "braille/pan_strategy.js", | |
36 "braille/spans.js", | |
37 "chromevox/background/background.js", | |
38 "chromevox/background/braille_captions_background.js", | |
39 "chromevox/background/injected_script_loader.js", | |
40 "chromevox/background/kbexplorer.js", | |
41 "chromevox/background/keymaps/key_map.js", | |
42 "chromevox/background/mathmaps/math_map.js", | |
43 "chromevox/background/options.js", | |
44 "chromevox/background/prefs.js", | |
45 "chromevox/background/tabs_api_handler.js", | |
46 "chromevox/injected/active_indicator.js", | |
47 "chromevox/injected/api_implementation.js", | |
48 "chromevox/injected/api_util.js", | |
49 "chromevox/injected/console_tts.js", | |
50 "chromevox/injected/event_suspender.js", | |
51 "chromevox/injected/event_watcher.js", | |
52 "chromevox/injected/history.js", | |
53 "chromevox/injected/init_document.js", | |
54 "chromevox/injected/init_globals.js", | |
55 "chromevox/injected/initial_speech.js", | |
56 "chromevox/injected/keyboard_handler.js", | |
57 "chromevox/injected/live_regions.js", | |
58 "chromevox/injected/navigation_history.js", | |
59 "chromevox/injected/navigation_manager.js", | |
60 "chromevox/injected/navigation_shifter.js", | |
61 "chromevox/injected/navigation_speaker.js", | |
62 "chromevox/injected/node_breadcrumb.js", | |
63 "chromevox/injected/script_installer.js", | |
64 "chromevox/injected/serializer.js", | |
65 "chromevox/injected/ui/braille_overlay_widget.js", | |
66 "chromevox/injected/ui/context_menu_widget.js", | |
67 "chromevox/injected/ui/keyboard_help_widget.js", | |
68 "chromevox/injected/ui/node_search_widget.js", | |
69 "chromevox/injected/ui/overlay_widget.js", | |
70 "chromevox/injected/ui/search_widget.js", | |
71 "chromevox/injected/ui/select_widget.js", | |
72 "chromevox/injected/ui/spoken_messages.js", | |
73 "chromevox/injected/ui/widget.js", | |
74 "chromevox/injected/user_commands.js", | |
75 "chromevox/injected/user_event_detail.js", | |
76 "common/aria_util.js", | |
77 "common/aural_style_util.js", | |
78 "common/braille_text_handler.js", | |
79 "common/braille_util.js", | |
80 "common/buildinfo.js", | |
81 "common/chromevox.js", | |
82 "common/chromevox_json.js", | |
83 "common/command_store.js", | |
84 "common/composite_tts.js", | |
85 "common/content_editable_extractor.js", | |
86 "common/cursor.js", | |
87 "common/cursor_selection.js", | |
88 "common/date_widget.js", | |
89 "common/description_util.js", | |
90 "common/dom_predicates.js", | |
91 "common/dom_util.js", | |
92 "common/earcon_util.js", | |
93 "common/editable_text.js", | |
94 "common/editable_text_area_shadow.js", | |
95 "common/editable_text_base.js", | |
96 "common/find_util.js", | |
97 "common/focus_util.js", | |
98 "common/focuser.js", | |
99 "common/group_util.js", | |
100 "common/interframe.js", | |
101 "common/key_sequence.js", | |
102 "common/key_util.js", | |
103 "common/math_semantic_attr.js", | |
104 "common/math_semantic_tree.js", | |
105 "common/math_semantic_util.js", | |
106 "common/math_util.js", | |
107 "common/media_widget.js", | |
108 "common/memoize.js", | |
109 "common/msgs.js", | |
110 "common/nav_description.js", | |
111 "common/nav_math_description.js", | |
112 "common/node_state.js", | |
113 "common/page_selection.js", | |
114 "common/platform_util.js", | |
115 "common/selection_util.js", | |
116 "common/spannable.js", | |
117 "common/string_util.js", | |
118 "common/table_util.js", | |
119 "common/time_widget.js", | |
120 "common/traverse_content.js", | |
121 "common/traverse_math.js", | |
122 "common/traverse_table.js", | |
123 "common/traverse_util.js", | |
124 "common/xpath_util.js", | |
125 "cvox2/background/automation_object_constructor_installer.js", | |
126 "cvox2/background/automation_predicate.js", | |
127 "cvox2/background/automation_util.js", | |
128 "cvox2/background/background.js", | |
129 "cvox2/background/base_automation_handler.js", | |
130 "cvox2/background/chromevox_state.js", | |
131 "cvox2/background/command_handler.js", | |
132 "cvox2/background/constants.js", | |
133 "cvox2/background/cursors.js", | |
134 "cvox2/background/desktop_automation_handler.js", | |
135 "cvox2/background/earcon_engine.js", | |
136 "cvox2/background/editing.js", | |
137 "cvox2/background/i_search.js", | |
138 "cvox2/background/keyboard_handler.js", | |
139 "cvox2/background/live_regions.js", | |
140 "cvox2/background/next_earcons.js", | |
141 "cvox2/background/notifications.js", | |
142 "cvox2/background/output.js", | |
143 "cvox2/background/panel.js", | |
144 "cvox2/background/panel_command.js", | |
145 "cvox2/background/panel_menu.js", | |
146 "cvox2/background/panel_menu_item.js", | |
147 "cvox2/background/stubs.js", | |
148 "cvox2/background/tabs_automation_handler.js", | |
149 "cvox2/background/tree_walker.js", | |
150 "cvox2/background/tutorial.js", | |
151 "cvox2/injected/keyboard_handler.js", | |
152 "cvox2/injected/loader.js", | |
153 "extensions/searchvox/abstract_result.js", | |
154 "extensions/searchvox/constants.js", | |
155 "extensions/searchvox/context_menu.js", | |
156 "extensions/searchvox/loader.js", | |
157 "extensions/searchvox/results.js", | |
158 "extensions/searchvox/search.js", | |
159 "extensions/searchvox/search_tools.js", | |
160 "extensions/searchvox/util.js", | |
161 "host/chrome/braille.js", | |
162 "host/chrome/braille_background.js", | |
163 "host/chrome/classic_earcons.js", | |
164 "host/chrome/earcons.js", | |
165 "host/chrome/extension_bridge.js", | |
166 "host/chrome/host.js", | |
167 "host/chrome/mathjax.js", | |
168 "host/chrome/tts.js", | |
169 "host/chrome/tts_background.js", | |
170 "host/chrome/tts_base.js", | |
171 "host/interface/abstract_earcons.js", | |
172 "host/interface/abstract_host.js", | |
173 "host/interface/abstract_mathjax.js", | |
174 "host/interface/abstract_tts.js", | |
175 "host/interface/braille_interface.js", | |
176 "host/interface/host_factory.js", | |
177 "host/interface/mathjax_interface.js", | |
178 "host/interface/tts_interface.js", | |
179 "speech_rules/base_rule_store.js", | |
180 "speech_rules/math_simple_store.js", | |
181 "speech_rules/math_store.js", | |
182 "speech_rules/mathml_store.js", | |
183 "speech_rules/mathml_store_rules.js", | |
184 "speech_rules/mathml_store_util.js", | |
185 "speech_rules/speech_rule.js", | |
186 "speech_rules/speech_rule_engine.js", | |
187 "speech_rules/speech_rule_evaluator.js", | |
188 "speech_rules/speech_rule_functions.js", | |
189 "speech_rules/speech_rule_store.js", | |
190 "speech_rules/store_util.js", | |
191 "walkers/abstract_node_walker.js", | |
192 "walkers/abstract_selection_walker.js", | |
193 "walkers/abstract_shifter.js", | |
194 "walkers/abstract_walker.js", | |
195 "walkers/bare_object_walker.js", | |
196 "walkers/character_walker.js", | |
197 "walkers/column_walker.js", | |
198 "walkers/group_walker.js", | |
199 "walkers/layout_line_walker.js", | |
200 "walkers/math_shifter.js", | |
201 "walkers/object_walker.js", | |
202 "walkers/row_walker.js", | |
203 "walkers/sentence_walker.js", | |
204 "walkers/structural_line_walker.js", | |
205 "walkers/table_shifter.js", | |
206 "walkers/table_walker.js", | |
207 "walkers/word_walker.js", | |
208 ] | |
209 | |
210 # Closure library modules neede by chromevox. | |
211 relative_closure_library_modules = [ | |
212 "i18n/pluralrules.js", | |
213 "i18n/ordinalrules.js", | |
214 "i18n/messageformat.js", | |
215 "string/string.js", | |
216 "dom/nodetype.js", | |
217 "base.js", | |
218 "asserts/asserts.js", | |
219 "debug/error.js", | |
220 "object/object.js", | |
221 ] | |
222 | |
223 closure_library_modules = | |
224 rebase_path(relative_closure_library_modules, ".", closure_library_dir) | |
OLD | NEW |