| 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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 rebase_path("$root_out_dir/test_data", root_build_dir) + ":", | 370 rebase_path("$root_out_dir/test_data", root_build_dir) + ":", |
| 371 ] | 371 ] |
| 372 deps = [ | 372 deps = [ |
| 373 ":chromevox_test_messages_js", | 373 ":chromevox_test_messages_js", |
| 374 ] | 374 ] |
| 375 } | 375 } |
| 376 | 376 |
| 377 js2gtest("chromevox_unitjs_tests") { | 377 js2gtest("chromevox_unitjs_tests") { |
| 378 test_type = "webui" | 378 test_type = "webui" |
| 379 sources = chromevox_tests_gypi_values.chromevox_tests_unitjs_sources | 379 sources = chromevox_tests_gypi_values.chromevox_tests_unitjs_sources |
| 380 extra_gen_files = |
| 381 chromevox_tests_gypi_values.chromevox_tests_unit_extra_js_sources |
| 380 test_deps_js_outputs = get_target_outputs(":chromevox_test_deps_js") | 382 test_deps_js_outputs = get_target_outputs(":chromevox_test_deps_js") |
| 381 deps_js = test_deps_js_outputs[0] | 383 deps_js = test_deps_js_outputs[0] |
| 382 deps = [ | 384 deps = [ |
| 383 ":chromevox_test_deps_js", | 385 ":chromevox_test_deps_js", |
| 384 ] | 386 ] |
| 385 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 387 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 386 } | 388 } |
| 387 | 389 |
| 388 js2gtest("chromevox_extjs_tests") { | 390 js2gtest("chromevox_extjs_tests") { |
| 389 test_type = "extension" | 391 test_type = "extension" |
| 390 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources | 392 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources |
| 391 sources -= [ "braille/liblouis_test.extjs" ] # TODO(GYP) | 393 sources -= [ "braille/liblouis_test.extjs" ] # TODO(GYP) |
| 394 extra_gen_files = |
| 395 chromevox_tests_gypi_values.chromevox_tests_ext_extra_js_sources |
| 392 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 396 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 393 } | 397 } |
| OLD | NEW |