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) |
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") { |
21 deps = [ | 21 deps = [ |
| 22 ":chromevox_copied_files", |
| 23 ":chromevox_guest_manifest", |
| 24 ":chromevox_manifest", |
22 "//chrome/browser/resources/chromeos/braille_ime:braille_ime_manifest", | 25 "//chrome/browser/resources/chromeos/braille_ime:braille_ime_manifest", |
23 "//chrome/browser/resources/chromeos/chromevox/strings:chromevox_strings", | 26 "//chrome/browser/resources/chromeos/chromevox/strings:chromevox_strings", |
24 "//chrome/third_party/chromevox:chromevox_third_party_resources", | 27 "//chrome/third_party/chromevox:chromevox_third_party_resources", |
25 "//third_party/liblouis", | 28 "//third_party/liblouis", |
26 | |
27 #<(DEPTH)/third_party/liblouis/liblouis_nacl.gyp:liblouis_nacl_wrapper_nacl'
# TODO(GYP) | |
28 ":chromevox_copied_files", | |
29 ":chromevox_guest_manifest", | |
30 ":chromevox_manifest", | |
31 ] | 29 ] |
32 if (chromevox_compress_js) { | 30 if (chromevox_compress_js) { |
33 deps += [ | 31 deps += [ |
34 ":chromevox_background_script", | 32 ":chromevox_background_script", |
35 ":chromevox_content_script", | 33 ":chromevox_content_script", |
36 ":chromevox_kbexplorer_script", | 34 ":chromevox_kbexplorer_script", |
37 ":chromevox_options_script", | 35 ":chromevox_options_script", |
38 ":chromevox_panel_script", | 36 ":chromevox_panel_script", |
39 ] | 37 ] |
40 } else { | 38 } else { |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 deps_js = test_deps_js_outputs[0] | 385 deps_js = test_deps_js_outputs[0] |
388 deps = [ | 386 deps = [ |
389 ":chromevox_test_deps_js", | 387 ":chromevox_test_deps_js", |
390 ] | 388 ] |
391 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 389 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
392 } | 390 } |
393 | 391 |
394 js2gtest("chromevox_extjs_tests") { | 392 js2gtest("chromevox_extjs_tests") { |
395 test_type = "extension" | 393 test_type = "extension" |
396 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources | 394 sources = chromevox_tests_gypi_values.chromevox_tests_extjs_sources |
397 sources -= [ "braille/liblouis_test.extjs" ] # TODO(GYP) | |
398 gen_include_files = | 395 gen_include_files = |
399 chromevox_tests_gypi_values.chromevox_tests_ext_gen_include_sources | 396 chromevox_tests_gypi_values.chromevox_tests_ext_gen_include_sources |
400 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 397 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
401 } | 398 } |
OLD | NEW |