Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(807)

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/BUILD.gn

Issue 1282593002: Add ChromeVox panel and implement caption display functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes to accessibility_manager in this change Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/braille/braille_display_manager.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//chrome/test/base/js2gtest.gni") 7 import("//chrome/test/base/js2gtest.gni")
8 import("chromevox.gni") 8 import("chromevox.gni")
9 9
10 assert(is_chromeos) 10 assert(is_chromeos)
(...skipping 18 matching lines...) Expand all
29 ":chromevox_manifest", 29 ":chromevox_manifest",
30 ":chromevox_guest_manifest", 30 ":chromevox_guest_manifest",
31 ] 31 ]
32 if (chromevox_compress_js) { 32 if (chromevox_compress_js) {
33 deps += [ 33 deps += [
34 ":chromevox1_background_script", 34 ":chromevox1_background_script",
35 ":chromevox1_content_script", 35 ":chromevox1_content_script",
36 ":chromevox1_kbexplorer_script", 36 ":chromevox1_kbexplorer_script",
37 ":chromevox1_options_script", 37 ":chromevox1_options_script",
38 ":chromevox2_background_script", 38 ":chromevox2_background_script",
39 ":chromevox2_panel_script",
39 ] 40 ]
40 } else { 41 } else {
41 deps += [ ":chromevox_deps_js" ] 42 deps += [ ":chromevox_deps_js" ]
42 } 43 }
43 } 44 }
44 45
45 template("run_jsbundler") { 46 template("run_jsbundler") {
46 assert(defined(invoker.mode)) 47 assert(defined(invoker.mode))
47 assert(defined(invoker.sources)) 48 assert(defined(invoker.sources))
48 if (defined(invoker.modules)) { 49 if (defined(invoker.modules)) {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 sources += 141 sources +=
141 chromevox_assets_gypi_values.chromevox_assets_chromevox_background_keymaps 142 chromevox_assets_gypi_values.chromevox_assets_chromevox_background_keymaps
142 sources += chromevox_assets_gypi_values.chromevox_assets_chromevox_background_ mathmaps_functions 143 sources += chromevox_assets_gypi_values.chromevox_assets_chromevox_background_ mathmaps_functions
143 sources += chromevox_assets_gypi_values.chromevox_assets_chromevox_background_ mathmaps_symbols 144 sources += chromevox_assets_gypi_values.chromevox_assets_chromevox_background_ mathmaps_symbols
144 sources += [ 145 sources += [
145 "chromevox/background/background.html", 146 "chromevox/background/background.html",
146 "chromevox/background/kbexplorer.html", 147 "chromevox/background/kbexplorer.html",
147 "chromevox/background/options.html", 148 "chromevox/background/options.html",
148 "chromevox/injected/api.js", 149 "chromevox/injected/api.js",
149 "cvox2/background/background.html", 150 "cvox2/background/background.html",
151 "cvox2/background/panel.html",
150 ] 152 ]
151 if (chromevox_compress_js) { 153 if (chromevox_compress_js) {
152 sources += [ "chromevox/injected/api_util.js" ] 154 sources += [ "chromevox/injected/api_util.js" ]
153 } else { 155 } else {
154 sources += chromevox_modules 156 sources += chromevox_modules
155 sources += [ 157 sources += [
156 "closure/closure_preinit.js", 158 "closure/closure_preinit.js",
157 chromevox_vars_gypi_values.chromevox1_background_script_loader_file, 159 chromevox_vars_gypi_values.chromevox1_background_script_loader_file,
158 chromevox_vars_gypi_values.chromevox1_content_script_loader_file, 160 chromevox_vars_gypi_values.chromevox1_content_script_loader_file,
159 chromevox_vars_gypi_values.chromevox1_kbexplorer_loader_file, 161 chromevox_vars_gypi_values.chromevox1_kbexplorer_loader_file,
160 chromevox_vars_gypi_values.chromevox1_options_script_loader_file, 162 chromevox_vars_gypi_values.chromevox1_options_script_loader_file,
161 chromevox_vars_gypi_values.chromevox2_background_script_loader_file, 163 chromevox_vars_gypi_values.chromevox2_background_script_loader_file,
164 chromevox_vars_gypi_values.chromevox2_panel_script_loader_file,
162 ] 165 ]
163 } 166 }
164 if (!chromevox_compress_js) { 167 if (!chromevox_compress_js) {
165 sources += closure_library_modules 168 sources += closure_library_modules
166 } 169 }
167 rewrite_rules = [ 170 rewrite_rules = [
168 rebase_path(".", root_build_dir) + ":", 171 rebase_path(".", root_build_dir) + ":",
169 rebase_path(closure_library_dir, root_build_dir) + ":closure", 172 rebase_path(closure_library_dir, root_build_dir) + ":closure",
170 ] 173 ]
171 } 174 }
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 output_file = "$chromevox_out_dir/chromeVoxChromeOptionsScript.js" 287 output_file = "$chromevox_out_dir/chromeVoxChromeOptionsScript.js"
285 } 288 }
286 289
287 compress_js("chromevox2_background_script") { 290 compress_js("chromevox2_background_script") {
288 sources = [ 291 sources = [
289 chromevox_vars_gypi_values.chromevox1_background_script_loader_file, 292 chromevox_vars_gypi_values.chromevox1_background_script_loader_file,
290 chromevox_vars_gypi_values.chromevox2_background_script_loader_file, 293 chromevox_vars_gypi_values.chromevox2_background_script_loader_file,
291 ] 294 ]
292 output_file = "$chromevox_out_dir/chromeVox2ChromeBackgroundScript.js" 295 output_file = "$chromevox_out_dir/chromeVox2ChromeBackgroundScript.js"
293 } 296 }
297
298 compress_js("chromevox2_panel_script") {
299 sources = [
300 chromevox_vars_gypi_values.chromevox2_panel_script_loader_file,
301 ]
302 output_file = "$chromevox_out_dir/chromeVoxPanelScript.js"
303 }
294 } else { 304 } else {
295 generate_deps_js("chromevox_deps_js") { 305 generate_deps_js("chromevox_deps_js") {
296 sources = chromevox_modules + closure_library_modules 306 sources = chromevox_modules + closure_library_modules
297 output_file = "$chromevox_out_dir/deps.js" 307 output_file = "$chromevox_out_dir/deps.js"
298 rewrite_rules = [ 308 rewrite_rules = [
299 rebase_path(".", root_build_dir) + ":..", 309 rebase_path(".", root_build_dir) + ":..",
300 rebase_path(closure_library_dir, root_build_dir) + ":../closure", 310 rebase_path(closure_library_dir, root_build_dir) + ":../closure",
301 ] 311 ]
302 } 312 }
303 } 313 }
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 ] 394 ]
385 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 395 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
386 } 396 }
387 397
388 js2gtest("chromevox_extjs_tests") { 398 js2gtest("chromevox_extjs_tests") {
389 test_type = "extension" 399 test_type = "extension"
390 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources 400 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources
391 sources -= [ "braille/liblouis_test.extjs" ] # TODO(GYP) 401 sources -= [ "braille/liblouis_test.extjs" ] # TODO(GYP)
392 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 402 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
393 } 403 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/braille/braille_display_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698