| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("//chrome/browser/resources/chromeos/chromevox/run_jsbundler.gni") | 8 import("//chrome/browser/resources/chromeos/chromevox/run_jsbundler.gni") |
| 9 | 9 |
| 10 assert(is_chromeos) | 10 assert(is_chromeos) |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 js2gtest("switch_access_webuijs_tests") { | 53 js2gtest("switch_access_webuijs_tests") { |
| 54 test_type = "webui" | 54 test_type = "webui" |
| 55 sources = [ | 55 sources = [ |
| 56 "auto_scan_manager_unittest.gtestjs", | 56 "auto_scan_manager_unittest.gtestjs", |
| 57 "automation_predicate_unittest.gtestjs", | 57 "automation_predicate_unittest.gtestjs", |
| 58 "tree_walker_unittest.gtestjs", | 58 "tree_walker_unittest.gtestjs", |
| 59 ] | 59 ] |
| 60 extra_js_files = [ | 60 extra_js_files = [ |
| 61 "auto_scan_manager.js", | 61 "auto_scan_manager.js", |
| 62 "automation_predicate.js", | 62 "automation_predicate.js", |
| 63 "test_support.js", |
| 63 "tree_walker.js", | 64 "tree_walker.js", |
| 64 ] | 65 ] |
| 65 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 66 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 66 } | 67 } |
| 67 | 68 |
| 68 # TODO: refactor this into another file like generate_manifest.gni | 69 # TODO: refactor this into another file like generate_manifest.gni |
| 69 # to share with other extensions. | 70 # to share with other extensions. |
| 70 template("manifest") { | 71 template("manifest") { |
| 71 version_file = "//chrome/VERSION" | 72 version_file = "//chrome/VERSION" |
| 72 version_script = "//build/util/version.py" | 73 version_script = "//build/util/version.py" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 98 } | 99 } |
| 99 | 100 |
| 100 manifest("switch_access_manifest") { | 101 manifest("switch_access_manifest") { |
| 101 output_file = "$switch_access_dir/manifest.json" | 102 output_file = "$switch_access_dir/manifest.json" |
| 102 } | 103 } |
| 103 | 104 |
| 104 manifest("switch_access_guest_manifest") { | 105 manifest("switch_access_guest_manifest") { |
| 105 output_file = "$switch_access_dir/manifest_guest.json" | 106 output_file = "$switch_access_dir/manifest_guest.json" |
| 106 is_guest_manifest = true | 107 is_guest_manifest = true |
| 107 } | 108 } |
| OLD | NEW |