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(use_cros_fe) |
11 | 11 |
12 declare_args() { | 12 declare_args() { |
13 # Whether to compress the main Chromevox javascript files or load the | 13 # Whether to compress the main Chromevox javascript files or load the |
14 # modules individually from source files. | 14 # modules individually from source files. |
15 chromevox_compress_js = !is_debug | 15 chromevox_compress_js = !is_debug |
16 } | 16 } |
17 | 17 |
18 chromevox_out_dir = "$root_out_dir/resources/chromeos/chromevox" | 18 chromevox_out_dir = "$root_out_dir/resources/chromeos/chromevox" |
19 | 19 |
20 group("chromevox") { | 20 group("chromevox") { |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 ] | 384 ] |
385 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 385 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
386 } | 386 } |
387 | 387 |
388 js2gtest("chromevox_extjs_tests") { | 388 js2gtest("chromevox_extjs_tests") { |
389 test_type = "extension" | 389 test_type = "extension" |
390 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources | 390 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources |
391 sources -= [ "braille/liblouis_test.extjs" ] # TODO(GYP) | 391 sources -= [ "braille/liblouis_test.extjs" ] # TODO(GYP) |
392 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 392 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
393 } | 393 } |
OLD | NEW |