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("//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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 "//chrome:packed_resources", | 334 "//chrome:packed_resources", |
335 "//chrome:resources", | 335 "//chrome:resources", |
336 "//chrome:strings", | 336 "//chrome:strings", |
337 "//chrome/browser", | 337 "//chrome/browser", |
338 "//chrome/renderer", | 338 "//chrome/renderer", |
339 "//chrome/test:test_support", | 339 "//chrome/test:test_support", |
340 "//chrome/test:test_support_ui", | 340 "//chrome/test:test_support_ui", |
341 "//content/test:test_support", | 341 "//content/test:test_support", |
342 "//testing/gmock", | 342 "//testing/gmock", |
343 "//testing/gtest", | 343 "//testing/gtest", |
| 344 "//ui/keyboard:resources", |
| 345 ] |
| 346 |
| 347 data = [ |
| 348 "$root_out_dir/chrome_100_percent.pak", |
| 349 "$root_out_dir/chrome_200_percent.pak", |
| 350 "$root_out_dir/locales/en-US.pak", |
| 351 "$root_out_dir/locales/fr.pak", |
| 352 "$root_out_dir/resources.pak", |
| 353 "$root_out_dir/resources/chromeos/chromevox/", |
| 354 "$root_out_dir/test_data/chrome/browser/resources/chromeos/chromevox/", |
| 355 |
| 356 # Surprisingly, the test uses data from the original location, not the |
| 357 # copied one. |
| 358 "//chrome/browser/resources/chromeos/chromevox/", |
| 359 "//chrome/test/data/webui/test_api.js", |
| 360 "//chrome/third_party/chromevox/", |
| 361 "//chrome/third_party/mock4js/", |
| 362 "//third_party/accessibility-audit/axs_testing.js", |
| 363 "//third_party/chaijs/chai.js", |
344 ] | 364 ] |
345 } | 365 } |
346 | 366 |
347 action("chromevox_test_messages_js") { | 367 action("chromevox_test_messages_js") { |
348 script = "tools/generate_test_messages.py" | 368 script = "tools/generate_test_messages.py" |
349 sources = [ | 369 sources = [ |
350 "$chromevox_out_dir/_locales/en/messages.json", | 370 "$chromevox_out_dir/_locales/en/messages.json", |
351 ] | 371 ] |
352 output_file = "$root_out_dir/test_data/chrome/browser/resources/chromeos/chrom
evox/host/testing/test_messages.js" | 372 output_file = "$root_out_dir/test_data/chrome/browser/resources/chromeos/chrom
evox/host/testing/test_messages.js" |
353 outputs = [ | 373 outputs = [ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 417 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
398 } | 418 } |
399 | 419 |
400 js2gtest("chromevox_extjs_tests") { | 420 js2gtest("chromevox_extjs_tests") { |
401 test_type = "extension" | 421 test_type = "extension" |
402 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources | 422 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources |
403 gen_include_files = | 423 gen_include_files = |
404 chromevox_tests_gypi_values.chromevox_tests_ext_gen_include_sources | 424 chromevox_tests_gypi_values.chromevox_tests_ext_gen_include_sources |
405 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 425 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
406 } | 426 } |
OLD | NEW |