| Index: chrome/browser/resources/chromeos/chromevox/chromevox.gni
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox.gni b/chrome/browser/resources/chromeos/chromevox/chromevox.gni
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8f25de01b5f4326164aee3aef25cdcb87b9723fb
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/chromeos/chromevox/chromevox.gni
|
| @@ -0,0 +1,204 @@
|
| +# Copyright 2015 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +# Common variables shared amongst all ChromeVox targets.
|
| +
|
| +assert(is_chromeos)
|
| +
|
| +# TODO(plundblad): Move the below variables to BUILD.gn when crbug.com/395883
|
| +# is resolved.
|
| +
|
| +closure_library_dir =
|
| + "//chrome/third_party/chromevox/third_party/closure-library/closure/goog"
|
| +
|
| +jsbundler_modules = rebase_path([
|
| + "depstree.py",
|
| + "source.py",
|
| + "treescan.py",
|
| + ],
|
| + ".",
|
| + "$closure_library_dir/../bin/build")
|
| +jsbundler_modules += [ "//third_party/WebKit/Source/build/scripts/rjsmin.py" ]
|
| +
|
| +# List of all modules that are included in one or more of the production
|
| +# chromevox scripts.
|
| +chromevox_modules = [
|
| + "braille/braille_display_manager.js",
|
| + "braille/braille_input_handler.js",
|
| + "braille/braille_key_types.js",
|
| + "braille/braille_table.js",
|
| + "braille/braille_translator_manager.js",
|
| + "braille/expanding_braille_translator.js",
|
| + "braille/liblouis.js",
|
| + "braille/nav_braille.js",
|
| + "braille/pan_strategy.js",
|
| + "braille/spans.js",
|
| + "chromevox/background/background.js",
|
| + "chromevox/background/braille_captions_background.js",
|
| + "chromevox/background/injected_script_loader.js",
|
| + "chromevox/background/kbexplorer.js",
|
| + "chromevox/background/keymaps/key_map.js",
|
| + "chromevox/background/mathmaps/math_map.js",
|
| + "chromevox/background/options.js",
|
| + "chromevox/background/prefs.js",
|
| + "chromevox/background/tabs_api_handler.js",
|
| + "chromevox/injected/active_indicator.js",
|
| + "chromevox/injected/api_implementation.js",
|
| + "chromevox/injected/api_util.js",
|
| + "chromevox/injected/console_tts.js",
|
| + "chromevox/injected/event_suspender.js",
|
| + "chromevox/injected/event_watcher.js",
|
| + "chromevox/injected/history.js",
|
| + "chromevox/injected/init_document.js",
|
| + "chromevox/injected/init_globals.js",
|
| + "chromevox/injected/initial_speech.js",
|
| + "chromevox/injected/keyboard_handler.js",
|
| + "chromevox/injected/live_regions.js",
|
| + "chromevox/injected/navigation_history.js",
|
| + "chromevox/injected/navigation_manager.js",
|
| + "chromevox/injected/navigation_shifter.js",
|
| + "chromevox/injected/navigation_speaker.js",
|
| + "chromevox/injected/node_breadcrumb.js",
|
| + "chromevox/injected/pdf_processor.js",
|
| + "chromevox/injected/script_installer.js",
|
| + "chromevox/injected/serializer.js",
|
| + "chromevox/injected/ui/braille_overlay_widget.js",
|
| + "chromevox/injected/ui/context_menu_widget.js",
|
| + "chromevox/injected/ui/keyboard_help_widget.js",
|
| + "chromevox/injected/ui/node_search_widget.js",
|
| + "chromevox/injected/ui/overlay_widget.js",
|
| + "chromevox/injected/ui/search_widget.js",
|
| + "chromevox/injected/ui/select_widget.js",
|
| + "chromevox/injected/ui/widget.js",
|
| + "chromevox/injected/user_commands.js",
|
| + "chromevox/injected/user_event_detail.js",
|
| + "chromevox/messages/msgs.js",
|
| + "chromevox/messages/spoken_message.js",
|
| + "chromevox/messages/spoken_messages.js",
|
| + "common/aria_util.js",
|
| + "common/aural_style_util.js",
|
| + "common/braille_text_handler.js",
|
| + "common/braille_util.js",
|
| + "common/buildinfo.js",
|
| + "common/chromevox.js",
|
| + "common/chromevox_json.js",
|
| + "common/command_store.js",
|
| + "common/composite_tts.js",
|
| + "common/content_editable_extractor.js",
|
| + "common/cursor.js",
|
| + "common/cursor_selection.js",
|
| + "common/date_widget.js",
|
| + "common/description_util.js",
|
| + "common/dom_predicates.js",
|
| + "common/dom_util.js",
|
| + "common/earcon_util.js",
|
| + "common/editable_text.js",
|
| + "common/editable_text_area_shadow.js",
|
| + "common/editable_text_base.js",
|
| + "common/find_util.js",
|
| + "common/focus_util.js",
|
| + "common/focuser.js",
|
| + "common/group_util.js",
|
| + "common/interframe.js",
|
| + "common/key_sequence.js",
|
| + "common/key_util.js",
|
| + "common/math_semantic_attr.js",
|
| + "common/math_semantic_tree.js",
|
| + "common/math_semantic_util.js",
|
| + "common/math_util.js",
|
| + "common/media_widget.js",
|
| + "common/memoize.js",
|
| + "common/nav_description.js",
|
| + "common/nav_math_description.js",
|
| + "common/node_state.js",
|
| + "common/page_selection.js",
|
| + "common/platform_util.js",
|
| + "common/selection_util.js",
|
| + "common/spannable.js",
|
| + "common/string_util.js",
|
| + "common/table_util.js",
|
| + "common/time_widget.js",
|
| + "common/traverse_content.js",
|
| + "common/traverse_math.js",
|
| + "common/traverse_table.js",
|
| + "common/traverse_util.js",
|
| + "common/xpath_util.js",
|
| + "cvox2/background/automation_predicate.js",
|
| + "cvox2/background/automation_util.js",
|
| + "cvox2/background/background.js",
|
| + "cvox2/background/classic_compatibility.js",
|
| + "cvox2/background/cursors.js",
|
| + "cvox2/background/output.js",
|
| + "extensions/searchvox/abstract_result.js",
|
| + "extensions/searchvox/constants.js",
|
| + "extensions/searchvox/context_menu.js",
|
| + "extensions/searchvox/loader.js",
|
| + "extensions/searchvox/results.js",
|
| + "extensions/searchvox/search.js",
|
| + "extensions/searchvox/search_tools.js",
|
| + "extensions/searchvox/util.js",
|
| + "host/chrome/braille.js",
|
| + "host/chrome/braille_background.js",
|
| + "host/chrome/earcons.js",
|
| + "host/chrome/earcons_background.js",
|
| + "host/chrome/extension_bridge.js",
|
| + "host/chrome/host.js",
|
| + "host/chrome/mathjax.js",
|
| + "host/chrome/tts.js",
|
| + "host/chrome/tts_background.js",
|
| + "host/chrome/tts_base.js",
|
| + "host/interface/abstract_braille.js",
|
| + "host/interface/abstract_earcons.js",
|
| + "host/interface/abstract_host.js",
|
| + "host/interface/abstract_mathjax.js",
|
| + "host/interface/abstract_tts.js",
|
| + "host/interface/braille_interface.js",
|
| + "host/interface/host_factory.js",
|
| + "host/interface/mathjax_interface.js",
|
| + "host/interface/tts_interface.js",
|
| + "speech_rules/base_rule_store.js",
|
| + "speech_rules/math_simple_store.js",
|
| + "speech_rules/math_store.js",
|
| + "speech_rules/mathml_store.js",
|
| + "speech_rules/mathml_store_rules.js",
|
| + "speech_rules/mathml_store_util.js",
|
| + "speech_rules/speech_rule.js",
|
| + "speech_rules/speech_rule_engine.js",
|
| + "speech_rules/speech_rule_evaluator.js",
|
| + "speech_rules/speech_rule_functions.js",
|
| + "speech_rules/speech_rule_store.js",
|
| + "speech_rules/store_util.js",
|
| + "walkers/abstract_node_walker.js",
|
| + "walkers/abstract_selection_walker.js",
|
| + "walkers/abstract_shifter.js",
|
| + "walkers/abstract_walker.js",
|
| + "walkers/bare_object_walker.js",
|
| + "walkers/character_walker.js",
|
| + "walkers/column_walker.js",
|
| + "walkers/group_walker.js",
|
| + "walkers/layout_line_walker.js",
|
| + "walkers/math_shifter.js",
|
| + "walkers/object_walker.js",
|
| + "walkers/row_walker.js",
|
| + "walkers/sentence_walker.js",
|
| + "walkers/structural_line_walker.js",
|
| + "walkers/table_shifter.js",
|
| + "walkers/table_walker.js",
|
| + "walkers/word_walker.js",
|
| +]
|
| +
|
| +# Closure library modules neede by chromevox.
|
| +relative_closure_library_modules = [
|
| + "i18n/pluralrules.js",
|
| + "i18n/ordinalrules.js",
|
| + "i18n/messageformat.js",
|
| + "string/string.js",
|
| + "dom/nodetype.js",
|
| + "base.js",
|
| + "asserts/asserts.js",
|
| + "debug/error.js",
|
| + "object/object.js",
|
| +]
|
| +
|
| +closure_library_modules =
|
| + rebase_path(relative_closure_library_modules, ".", closure_library_dir)
|
|
|