| OLD | NEW |
| 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("//chrome/common/features.gni") | 6 import("//chrome/common/features.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 import("//chrome/test/base/js2gtest.gni") | 8 import("//chrome/test/base/js2gtest.gni") |
| 9 import("run_jsbundler.gni") | 9 import("run_jsbundler.gni") |
| 10 | 10 |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 chromevox_options_script_loader_file = "chromevox/background/options_loader.js" | 258 chromevox_options_script_loader_file = "chromevox/background/options_loader.js" |
| 259 chromevox_panel_script_loader_file = "cvox2/background/panel_loader.js" | 259 chromevox_panel_script_loader_file = "cvox2/background/panel_loader.js" |
| 260 | 260 |
| 261 # Instead of setting up one copy target for each subdirectory, use a script | 261 # Instead of setting up one copy target for each subdirectory, use a script |
| 262 # to copy all files. | 262 # to copy all files. |
| 263 run_jsbundler("chromevox_copied_files") { | 263 run_jsbundler("chromevox_copied_files") { |
| 264 mode = "copy" | 264 mode = "copy" |
| 265 dest_dir = chromevox_out_dir | 265 dest_dir = chromevox_out_dir |
| 266 sources = [ | 266 sources = [ |
| 267 "chromevox/background/background.html", | 267 "chromevox/background/background.html", |
| 268 "chromevox/background/checked.png", |
| 268 "chromevox/background/earcons/alert_modal.ogg", | 269 "chromevox/background/earcons/alert_modal.ogg", |
| 269 "chromevox/background/earcons/alert_nonmodal.ogg", | 270 "chromevox/background/earcons/alert_nonmodal.ogg", |
| 270 "chromevox/background/earcons/button.ogg", | 271 "chromevox/background/earcons/button.ogg", |
| 271 "chromevox/background/earcons/check_off.ogg", | 272 "chromevox/background/earcons/check_off.ogg", |
| 272 "chromevox/background/earcons/check_on.ogg", | 273 "chromevox/background/earcons/check_on.ogg", |
| 273 "chromevox/background/earcons/editable_text.ogg", | 274 "chromevox/background/earcons/editable_text.ogg", |
| 274 "chromevox/background/earcons/invalid_keypress.ogg", | 275 "chromevox/background/earcons/invalid_keypress.ogg", |
| 275 "chromevox/background/earcons/link.ogg", | 276 "chromevox/background/earcons/link.ogg", |
| 276 "chromevox/background/earcons/list_item.ogg", | 277 "chromevox/background/earcons/list_item.ogg", |
| 277 "chromevox/background/earcons/listbox.ogg", | 278 "chromevox/background/earcons/listbox.ogg", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 "chromevox/background/mathmaps/symbols/math_arrows.json", | 319 "chromevox/background/mathmaps/symbols/math_arrows.json", |
| 319 "chromevox/background/mathmaps/symbols/math_characters.json", | 320 "chromevox/background/mathmaps/symbols/math_characters.json", |
| 320 "chromevox/background/mathmaps/symbols/math_delimiters.json", | 321 "chromevox/background/mathmaps/symbols/math_delimiters.json", |
| 321 "chromevox/background/mathmaps/symbols/math_digits.json", | 322 "chromevox/background/mathmaps/symbols/math_digits.json", |
| 322 "chromevox/background/mathmaps/symbols/math_geometry.json", | 323 "chromevox/background/mathmaps/symbols/math_geometry.json", |
| 323 "chromevox/background/mathmaps/symbols/math_harpoons.json", | 324 "chromevox/background/mathmaps/symbols/math_harpoons.json", |
| 324 "chromevox/background/mathmaps/symbols/math_non_characters.json", | 325 "chromevox/background/mathmaps/symbols/math_non_characters.json", |
| 325 "chromevox/background/mathmaps/symbols/math_symbols.json", | 326 "chromevox/background/mathmaps/symbols/math_symbols.json", |
| 326 "chromevox/background/mathmaps/symbols/math_whitespace.json", | 327 "chromevox/background/mathmaps/symbols/math_whitespace.json", |
| 327 "chromevox/background/mathmaps/symbols/other_stars.json", | 328 "chromevox/background/mathmaps/symbols/other_stars.json", |
| 329 "chromevox/background/options.css", |
| 328 "chromevox/background/options.html", | 330 "chromevox/background/options.html", |
| 331 "chromevox/background/unchecked.png", |
| 329 "chromevox/injected/api.js", | 332 "chromevox/injected/api.js", |
| 330 "cvox2/background/background.html", | 333 "cvox2/background/background.html", |
| 331 "cvox2/background/earcons/control.wav", | 334 "cvox2/background/earcons/control.wav", |
| 332 "cvox2/background/earcons/selection.wav", | 335 "cvox2/background/earcons/selection.wav", |
| 333 "cvox2/background/earcons/selection_reverse.wav", | 336 "cvox2/background/earcons/selection_reverse.wav", |
| 334 "cvox2/background/earcons/skim.wav", | 337 "cvox2/background/earcons/skim.wav", |
| 335 "cvox2/background/earcons/small_room_2.wav", | 338 "cvox2/background/earcons/small_room_2.wav", |
| 336 "cvox2/background/earcons/static.wav", | 339 "cvox2/background/earcons/static.wav", |
| 337 "cvox2/background/panel.css", | 340 "cvox2/background/panel.css", |
| 338 "cvox2/background/panel.html", | 341 "cvox2/background/panel.html", |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 ] | 683 ] |
| 681 gen_include_files = [ | 684 gen_include_files = [ |
| 682 "testing/assert_additions.js", | 685 "testing/assert_additions.js", |
| 683 "testing/callback_helper.js", | 686 "testing/callback_helper.js", |
| 684 "testing/chromevox_e2e_test_base.js", | 687 "testing/chromevox_e2e_test_base.js", |
| 685 "testing/chromevox_next_e2e_test_base.js", | 688 "testing/chromevox_next_e2e_test_base.js", |
| 686 "testing/mock_feedback.js", | 689 "testing/mock_feedback.js", |
| 687 ] | 690 ] |
| 688 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 691 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 689 } | 692 } |
| OLD | NEW |