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 11 matching lines...) Expand all Loading... |
22 # Instead of setting up one copy target for each subdirectory, use a script | 22 # Instead of setting up one copy target for each subdirectory, use a script |
23 # to copy all files. | 23 # to copy all files. |
24 run_jsbundler("switch_access_copied_files") { | 24 run_jsbundler("switch_access_copied_files") { |
25 mode = "copy" | 25 mode = "copy" |
26 dest_dir = switch_access_dir | 26 dest_dir = switch_access_dir |
27 sources = [ | 27 sources = [ |
28 "auto_scan_manager.js", | 28 "auto_scan_manager.js", |
29 "automation_manager.js", | 29 "automation_manager.js", |
30 "automation_predicate.js", | 30 "automation_predicate.js", |
31 "background.js", | 31 "background.js", |
| 32 "commands.js", |
32 "keyboard_handler.js", | 33 "keyboard_handler.js", |
33 "options.css", | 34 "options.css", |
34 "options.html", | 35 "options.html", |
35 "options.js", | 36 "options.js", |
36 "prefs.js", | 37 "prefs.js", |
37 "switch_access.js", | 38 "switch_access.js", |
38 "tree_walker.js", | 39 "tree_walker.js", |
39 ] | 40 ] |
40 rewrite_rules = [ | 41 rewrite_rules = [ |
41 rebase_path(".", root_build_dir) + ":", | 42 rebase_path(".", root_build_dir) + ":", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 } | 100 } |
100 | 101 |
101 manifest("switch_access_manifest") { | 102 manifest("switch_access_manifest") { |
102 output_file = "$switch_access_dir/manifest.json" | 103 output_file = "$switch_access_dir/manifest.json" |
103 } | 104 } |
104 | 105 |
105 manifest("switch_access_guest_manifest") { | 106 manifest("switch_access_guest_manifest") { |
106 output_file = "$switch_access_dir/manifest_guest.json" | 107 output_file = "$switch_access_dir/manifest_guest.json" |
107 is_guest_manifest = true | 108 is_guest_manifest = true |
108 } | 109 } |
OLD | NEW |