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 chromevox_vars_gypi_values = exec_script("//build/gypi_to_gn.py", | |
9 [ rebase_path("chromevox_vars.gypi") ], | |
10 "scope", | |
11 [ "chromevox_vars.gypi" ]) | |
12 | |
13 chromevox_out_dir = "$root_out_dir/resources/chromeos/chromevox" | |
brettw
2015/06/09 22:21:26
I believe this is the only thing from this .gni fi
| |
14 | |
15 closure_library_dir = | |
16 "//chrome/third_party/chromevox/third_party/closure-library/closure/goog" | |
17 | |
18 jsbundler_modules = rebase_path([ | |
19 "depstree.py", | |
20 "source.py", | |
21 "treescan.py", | |
22 ], | |
23 ".", | |
24 "$closure_library_dir/../bin/build") | |
25 jsbundler_modules += [ "//third_party/WebKit/Source/build/scripts/rjsmin.py" ] | |
26 | |
27 # List of all modules that are included in one or more of the production | |
28 # chromevox scripts. | |
29 chromevox_modules = [ | |
30 "braille/braille_display_manager.js", | |
31 "braille/braille_input_handler.js", | |
32 "braille/braille_key_types.js", | |
33 "braille/braille_table.js", | |
34 "braille/braille_translator_manager.js", | |
35 "braille/expanding_braille_translator.js", | |
36 "braille/liblouis.js", | |
37 "braille/nav_braille.js", | |
38 "braille/pan_strategy.js", | |
39 "braille/spans.js", | |
40 "chromevox/background/background.js", | |
41 "chromevox/background/braille_captions_background.js", | |
42 "chromevox/background/injected_script_loader.js", | |
43 "chromevox/background/kbexplorer.js", | |
44 "chromevox/background/keymaps/key_map.js", | |
45 "chromevox/background/mathmaps/math_map.js", | |
46 "chromevox/background/options.js", | |
47 "chromevox/background/prefs.js", | |
48 "chromevox/background/tabs_api_handler.js", | |
49 "chromevox/injected/active_indicator.js", | |
50 "chromevox/injected/api_implementation.js", | |
51 "chromevox/injected/api_util.js", | |
52 "chromevox/injected/console_tts.js", | |
53 "chromevox/injected/event_suspender.js", | |
54 "chromevox/injected/event_watcher.js", | |
55 "chromevox/injected/history.js", | |
56 "chromevox/injected/init_document.js", | |
57 "chromevox/injected/init_globals.js", | |
58 "chromevox/injected/initial_speech.js", | |
59 "chromevox/injected/keyboard_handler.js", | |
60 "chromevox/injected/live_regions.js", | |
61 "chromevox/injected/navigation_history.js", | |
62 "chromevox/injected/navigation_manager.js", | |
63 "chromevox/injected/navigation_shifter.js", | |
64 "chromevox/injected/navigation_speaker.js", | |
65 "chromevox/injected/node_breadcrumb.js", | |
66 "chromevox/injected/pdf_processor.js", | |
67 "chromevox/injected/script_installer.js", | |
68 "chromevox/injected/serializer.js", | |
69 "chromevox/injected/ui/braille_overlay_widget.js", | |
70 "chromevox/injected/ui/context_menu_widget.js", | |
71 "chromevox/injected/ui/keyboard_help_widget.js", | |
72 "chromevox/injected/ui/node_search_widget.js", | |
73 "chromevox/injected/ui/overlay_widget.js", | |
74 "chromevox/injected/ui/search_widget.js", | |
75 "chromevox/injected/ui/select_widget.js", | |
76 "chromevox/injected/ui/widget.js", | |
77 "chromevox/injected/user_commands.js", | |
78 "chromevox/injected/user_event_detail.js", | |
79 "chromevox/messages/msgs.js", | |
80 "chromevox/messages/spoken_message.js", | |
81 "chromevox/messages/spoken_messages.js", | |
82 "common/aria_util.js", | |
83 "common/aural_style_util.js", | |
84 "common/braille_text_handler.js", | |
85 "common/braille_util.js", | |
86 "common/buildinfo.js", | |
87 "common/chromevox.js", | |
88 "common/chromevox_json.js", | |
89 "common/command_store.js", | |
90 "common/composite_tts.js", | |
91 "common/content_editable_extractor.js", | |
92 "common/cursor.js", | |
93 "common/cursor_selection.js", | |
94 "common/date_widget.js", | |
95 "common/description_util.js", | |
96 "common/dom_predicates.js", | |
97 "common/dom_util.js", | |
98 "common/earcon_util.js", | |
99 "common/editable_text.js", | |
100 "common/editable_text_area_shadow.js", | |
101 "common/editable_text_base.js", | |
102 "common/find_util.js", | |
103 "common/focus_util.js", | |
104 "common/focuser.js", | |
105 "common/group_util.js", | |
106 "common/interframe.js", | |
107 "common/key_sequence.js", | |
108 "common/key_util.js", | |
109 "common/math_semantic_attr.js", | |
110 "common/math_semantic_tree.js", | |
111 "common/math_semantic_util.js", | |
112 "common/math_util.js", | |
113 "common/media_widget.js", | |
114 "common/memoize.js", | |
115 "common/nav_description.js", | |
116 "common/nav_math_description.js", | |
117 "common/node_state.js", | |
118 "common/page_selection.js", | |
119 "common/platform_util.js", | |
120 "common/selection_util.js", | |
121 "common/spannable.js", | |
122 "common/string_util.js", | |
123 "common/table_util.js", | |
124 "common/time_widget.js", | |
125 "common/traverse_content.js", | |
126 "common/traverse_math.js", | |
127 "common/traverse_table.js", | |
128 "common/traverse_util.js", | |
129 "common/xpath_util.js", | |
130 "cvox2/background/automation_predicate.js", | |
131 "cvox2/background/automation_util.js", | |
132 "cvox2/background/background.js", | |
133 "cvox2/background/classic_compatibility.js", | |
134 "cvox2/background/cursors.js", | |
135 "cvox2/background/output.js", | |
136 "extensions/searchvox/abstract_result.js", | |
137 "extensions/searchvox/constants.js", | |
138 "extensions/searchvox/context_menu.js", | |
139 "extensions/searchvox/loader.js", | |
140 "extensions/searchvox/results.js", | |
141 "extensions/searchvox/search.js", | |
142 "extensions/searchvox/search_tools.js", | |
143 "extensions/searchvox/util.js", | |
144 "host/chrome/braille.js", | |
145 "host/chrome/braille_background.js", | |
146 "host/chrome/earcons.js", | |
147 "host/chrome/earcons_background.js", | |
148 "host/chrome/extension_bridge.js", | |
149 "host/chrome/host.js", | |
150 "host/chrome/mathjax.js", | |
151 "host/chrome/tts.js", | |
152 "host/chrome/tts_background.js", | |
153 "host/chrome/tts_base.js", | |
154 "host/interface/abstract_braille.js", | |
155 "host/interface/abstract_earcons.js", | |
156 "host/interface/abstract_host.js", | |
157 "host/interface/abstract_mathjax.js", | |
158 "host/interface/abstract_tts.js", | |
159 "host/interface/braille_interface.js", | |
160 "host/interface/host_factory.js", | |
161 "host/interface/mathjax_interface.js", | |
162 "host/interface/tts_interface.js", | |
163 "speech_rules/base_rule_store.js", | |
164 "speech_rules/math_simple_store.js", | |
165 "speech_rules/math_store.js", | |
166 "speech_rules/mathml_store.js", | |
167 "speech_rules/mathml_store_rules.js", | |
168 "speech_rules/mathml_store_util.js", | |
169 "speech_rules/speech_rule.js", | |
170 "speech_rules/speech_rule_engine.js", | |
171 "speech_rules/speech_rule_evaluator.js", | |
172 "speech_rules/speech_rule_functions.js", | |
173 "speech_rules/speech_rule_store.js", | |
174 "speech_rules/store_util.js", | |
175 "walkers/abstract_node_walker.js", | |
176 "walkers/abstract_selection_walker.js", | |
177 "walkers/abstract_shifter.js", | |
178 "walkers/abstract_walker.js", | |
179 "walkers/bare_object_walker.js", | |
180 "walkers/character_walker.js", | |
181 "walkers/column_walker.js", | |
182 "walkers/group_walker.js", | |
183 "walkers/layout_line_walker.js", | |
184 "walkers/math_shifter.js", | |
185 "walkers/object_walker.js", | |
186 "walkers/row_walker.js", | |
187 "walkers/sentence_walker.js", | |
188 "walkers/structural_line_walker.js", | |
189 "walkers/table_shifter.js", | |
190 "walkers/table_walker.js", | |
191 "walkers/word_walker.js", | |
192 ] | |
193 | |
194 # Closure library modules neede by chromevox. | |
195 relative_closure_library_modules = [ | |
196 "i18n/pluralrules.js", | |
197 "i18n/ordinalrules.js", | |
198 "i18n/messageformat.js", | |
199 "string/string.js", | |
200 "dom/nodetype.js", | |
201 "base.js", | |
202 "asserts/asserts.js", | |
203 "debug/error.js", | |
204 "object/object.js", | |
205 ] | |
206 closure_library_modules = | |
207 rebase_path(relative_closure_library_modules, ".", closure_library_dir) | |
OLD | NEW |