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 += [ "//third_party/WebKit/Source/build/scripts/rjsmin.py" ] |
| 22 |
| 23 # List of all modules that are included in one or more of the production |
| 24 # chromevox scripts. |
| 25 chromevox_modules = [ |
| 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", |
| 35 "braille/spans.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", |
| 88 "common/cursor.js", |
| 89 "common/cursor_selection.js", |
| 90 "common/date_widget.js", |
| 91 "common/description_util.js", |
| 92 "common/dom_predicates.js", |
| 93 "common/dom_util.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", |
| 100 "common/focuser.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", |
| 110 "common/memoize.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_braille.js", |
| 151 "host/interface/abstract_earcons.js", |
| 152 "host/interface/abstract_host.js", |
| 153 "host/interface/abstract_mathjax.js", |
| 154 "host/interface/abstract_tts.js", |
| 155 "host/interface/braille_interface.js", |
| 156 "host/interface/host_factory.js", |
| 157 "host/interface/mathjax_interface.js", |
| 158 "host/interface/tts_interface.js", |
| 159 "speech_rules/base_rule_store.js", |
| 160 "speech_rules/math_simple_store.js", |
| 161 "speech_rules/math_store.js", |
| 162 "speech_rules/mathml_store.js", |
| 163 "speech_rules/mathml_store_rules.js", |
| 164 "speech_rules/mathml_store_util.js", |
| 165 "speech_rules/speech_rule.js", |
| 166 "speech_rules/speech_rule_engine.js", |
| 167 "speech_rules/speech_rule_evaluator.js", |
| 168 "speech_rules/speech_rule_functions.js", |
| 169 "speech_rules/speech_rule_store.js", |
| 170 "speech_rules/store_util.js", |
| 171 "walkers/abstract_node_walker.js", |
| 172 "walkers/abstract_selection_walker.js", |
| 173 "walkers/abstract_shifter.js", |
| 174 "walkers/abstract_walker.js", |
| 175 "walkers/bare_object_walker.js", |
| 176 "walkers/character_walker.js", |
| 177 "walkers/column_walker.js", |
| 178 "walkers/group_walker.js", |
| 179 "walkers/layout_line_walker.js", |
| 180 "walkers/math_shifter.js", |
| 181 "walkers/object_walker.js", |
| 182 "walkers/row_walker.js", |
| 183 "walkers/sentence_walker.js", |
| 184 "walkers/structural_line_walker.js", |
| 185 "walkers/table_shifter.js", |
| 186 "walkers/table_walker.js", |
| 187 "walkers/word_walker.js", |
| 188 ] |
| 189 |
| 190 # Closure library modules neede by chromevox. |
| 191 relative_closure_library_modules = [ |
| 192 "i18n/pluralrules.js", |
| 193 "i18n/ordinalrules.js", |
| 194 "i18n/messageformat.js", |
| 195 "string/string.js", |
| 196 "dom/nodetype.js", |
| 197 "base.js", |
| 198 "asserts/asserts.js", |
| 199 "debug/error.js", |
| 200 "object/object.js", |
| 201 ] |
| 202 |
| 203 closure_library_modules = |
| 204 rebase_path(relative_closure_library_modules, ".", closure_library_dir) |
OLD | NEW |