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.
8 # TODO(plundblad): Move the below variables to BUILD.gn when crbug.com/395883
12 "//chrome/third_party/chromevox/third_party/closure-library/closure/goog"
14 jsbundler_modules = rebase_path([
20 "$closure_library_dir/../bin/build")
21 jsbundler_modules += [ "//third_party/WebKit/Source/build/scripts/rjsmin.py" ]
23 # List of all modules that are included in one or more of the production
26 "braille/braille_display_manager.js",
27 "braille/braille_input_handler.js",
28 "braille/braille_key_types.js",
29 "braille/braille_table.js",
30 "braille/braille_translator_manager.js",
31 "braille/expanding_braille_translator.js",
32 "braille/liblouis.js",
33 "braille/nav_braille.js",
34 "braille/pan_strategy.js",
36 "chromevox/background/background.js",
37 "chromevox/background/braille_captions_background.js",
38 "chromevox/background/injected_script_loader.js",
39 "chromevox/background/kbexplorer.js",
40 "chromevox/background/keymaps/key_map.js",
41 "chromevox/background/mathmaps/math_map.js",
42 "chromevox/background/options.js",
43 "chromevox/background/prefs.js",
44 "chromevox/background/tabs_api_handler.js",
45 "chromevox/injected/active_indicator.js",
46 "chromevox/injected/api_implementation.js",
47 "chromevox/injected/api_util.js",
48 "chromevox/injected/console_tts.js",
49 "chromevox/injected/event_suspender.js",
50 "chromevox/injected/event_watcher.js",
51 "chromevox/injected/history.js",
52 "chromevox/injected/init_document.js",
53 "chromevox/injected/init_globals.js",
54 "chromevox/injected/initial_speech.js",
55 "chromevox/injected/keyboard_handler.js",
56 "chromevox/injected/live_regions.js",
57 "chromevox/injected/navigation_history.js",
58 "chromevox/injected/navigation_manager.js",
59 "chromevox/injected/navigation_shifter.js",
60 "chromevox/injected/navigation_speaker.js",
61 "chromevox/injected/node_breadcrumb.js",
62 "chromevox/injected/pdf_processor.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/widget.js",
73 "chromevox/injected/user_commands.js",
74 "chromevox/injected/user_event_detail.js",
75 "chromevox/messages/msgs.js",
76 "chromevox/messages/spoken_message.js",
77 "chromevox/messages/spoken_messages.js",
78 "common/aria_util.js",
79 "common/aural_style_util.js",
80 "common/braille_text_handler.js",
81 "common/braille_util.js",
82 "common/buildinfo.js",
83 "common/chromevox.js",
84 "common/chromevox_json.js",
85 "common/command_store.js",
86 "common/composite_tts.js",
87 "common/content_editable_extractor.js",
89 "common/cursor_selection.js",
90 "common/date_widget.js",
91 "common/description_util.js",
92 "common/dom_predicates.js",
94 "common/earcon_util.js",
95 "common/editable_text.js",
96 "common/editable_text_area_shadow.js",
97 "common/editable_text_base.js",
98 "common/find_util.js",
99 "common/focus_util.js",
101 "common/group_util.js",
102 "common/interframe.js",
103 "common/key_sequence.js",
104 "common/key_util.js",
105 "common/math_semantic_attr.js",
106 "common/math_semantic_tree.js",
107 "common/math_semantic_util.js",
108 "common/math_util.js",
109 "common/media_widget.js",
111 "common/nav_description.js",
112 "common/nav_math_description.js",
113 "common/node_state.js",
114 "common/page_selection.js",
115 "common/platform_util.js",
116 "common/selection_util.js",
117 "common/spannable.js",
118 "common/string_util.js",
119 "common/table_util.js",
120 "common/time_widget.js",
121 "common/traverse_content.js",
122 "common/traverse_math.js",
123 "common/traverse_table.js",
124 "common/traverse_util.js",
125 "common/xpath_util.js",
126 "cvox2/background/automation_predicate.js",
127 "cvox2/background/automation_util.js",
128 "cvox2/background/background.js",
129 "cvox2/background/classic_compatibility.js",
130 "cvox2/background/cursors.js",
131 "cvox2/background/output.js",
132 "extensions/searchvox/abstract_result.js",
133 "extensions/searchvox/constants.js",
134 "extensions/searchvox/context_menu.js",
135 "extensions/searchvox/loader.js",
136 "extensions/searchvox/results.js",
137 "extensions/searchvox/search.js",
138 "extensions/searchvox/search_tools.js",
139 "extensions/searchvox/util.js",
140 "host/chrome/braille.js",
141 "host/chrome/braille_background.js",
142 "host/chrome/earcons.js",
143 "host/chrome/earcons_background.js",
144 "host/chrome/extension_bridge.js",
145 "host/chrome/host.js",
146 "host/chrome/mathjax.js",
147 "host/chrome/tts.js",
148 "host/chrome/tts_background.js",
149 "host/chrome/tts_base.js",
150 "host/interface/abstract_earcons.js",
151 "host/interface/abstract_host.js",
152 "host/interface/abstract_mathjax.js",
153 "host/interface/abstract_tts.js",
154 "host/interface/braille_interface.js",
155 "host/interface/host_factory.js",
156 "host/interface/mathjax_interface.js",
157 "host/interface/tts_interface.js",
158 "speech_rules/base_rule_store.js",
159 "speech_rules/math_simple_store.js",
160 "speech_rules/math_store.js",
161 "speech_rules/mathml_store.js",
162 "speech_rules/mathml_store_rules.js",
163 "speech_rules/mathml_store_util.js",
164 "speech_rules/speech_rule.js",
165 "speech_rules/speech_rule_engine.js",
166 "speech_rules/speech_rule_evaluator.js",
167 "speech_rules/speech_rule_functions.js",
168 "speech_rules/speech_rule_store.js",
169 "speech_rules/store_util.js",
170 "walkers/abstract_node_walker.js",
171 "walkers/abstract_selection_walker.js",
172 "walkers/abstract_shifter.js",
173 "walkers/abstract_walker.js",
174 "walkers/bare_object_walker.js",
175 "walkers/character_walker.js",
176 "walkers/column_walker.js",
177 "walkers/group_walker.js",
178 "walkers/layout_line_walker.js",
179 "walkers/math_shifter.js",
180 "walkers/object_walker.js",
181 "walkers/row_walker.js",
182 "walkers/sentence_walker.js",
183 "walkers/structural_line_walker.js",
184 "walkers/table_shifter.js",
185 "walkers/table_walker.js",
186 "walkers/word_walker.js",
189 # Closure library modules neede by chromevox.
190 relative_closure_library_modules = [
191 "i18n/pluralrules.js",
192 "i18n/ordinalrules.js",
193 "i18n/messageformat.js",
197 "asserts/asserts.js",
202 closure_library_modules =
203 rebase_path(relative_closure_library_modules, ".", closure_library_dir)