| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 "//chrome:packed_resources", | 325 "//chrome:packed_resources", |
| 326 "//chrome:resources", | 326 "//chrome:resources", |
| 327 "//chrome:strings", | 327 "//chrome:strings", |
| 328 "//chrome/browser", | 328 "//chrome/browser", |
| 329 "//chrome/renderer", | 329 "//chrome/renderer", |
| 330 "//chrome/test:test_support", | 330 "//chrome/test:test_support", |
| 331 "//chrome/test:test_support_ui", | 331 "//chrome/test:test_support_ui", |
| 332 "//content/test:browsertest_base", | 332 "//content/test:browsertest_base", |
| 333 "//testing/gmock", | 333 "//testing/gmock", |
| 334 "//testing/gtest", | 334 "//testing/gtest", |
| 335 # Because the browser_tests use translate, they need CLD data. |
| 336 "//third_party/cld_2:cld2_platform_impl" |
| 335 ] | 337 ] |
| 336 if (cld_version == 0 || cld_version == 2) { | |
| 337 # Because the browser_tests use translate, they need CLD data. | |
| 338 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | |
| 339 } | |
| 340 } | 338 } |
| 341 | 339 |
| 342 action("chromevox_test_messages_js") { | 340 action("chromevox_test_messages_js") { |
| 343 script = "tools/generate_test_messages.py" | 341 script = "tools/generate_test_messages.py" |
| 344 sources = [ | 342 sources = [ |
| 345 "$chromevox_out_dir/_locales/en/messages.json", | 343 "$chromevox_out_dir/_locales/en/messages.json", |
| 346 ] | 344 ] |
| 347 output_file = "$root_out_dir/test_data/chrome/browser/resources/chromeos/chrom
evox/host/testing/test_messages.js" | 345 output_file = "$root_out_dir/test_data/chrome/browser/resources/chromeos/chrom
evox/host/testing/test_messages.js" |
| 348 outputs = [ | 346 outputs = [ |
| 349 output_file, | 347 output_file, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 390 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 393 } | 391 } |
| 394 | 392 |
| 395 js2gtest("chromevox_extjs_tests") { | 393 js2gtest("chromevox_extjs_tests") { |
| 396 test_type = "extension" | 394 test_type = "extension" |
| 397 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources | 395 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources |
| 398 gen_include_files = | 396 gen_include_files = |
| 399 chromevox_tests_gypi_values.chromevox_tests_ext_gen_include_sources | 397 chromevox_tests_gypi_values.chromevox_tests_ext_gen_include_sources |
| 400 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 398 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 401 } | 399 } |
| OLD | NEW |