Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Side by Side Diff: chrome/browser/resources/chromeos/switch_access/BUILD.gn

Issue 2837023004: Moved code dealing with accessibility tree from switch_access.js to new file, automation_manager.js (Closed)
Patch Set: Small documentation change Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/switch_access/automation_manager.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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)
11 11
12 switch_access_dir = "$root_out_dir/resources/chromeos/switch_access" 12 switch_access_dir = "$root_out_dir/resources/chromeos/switch_access"
13 13
14 group("switch_access") { 14 group("switch_access") {
15 deps = [ 15 deps = [
16 ":switch_access_copied_files", 16 ":switch_access_copied_files",
17 ":switch_access_guest_manifest", 17 ":switch_access_guest_manifest",
18 ":switch_access_manifest", 18 ":switch_access_manifest",
19 ] 19 ]
20 } 20 }
21 21
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 "background.js", 30 "background.js",
30 "keyboard_handler.js", 31 "keyboard_handler.js",
31 "options.css", 32 "options.css",
32 "options.html", 33 "options.html",
33 "options.js", 34 "options.js",
34 "prefs.js", 35 "prefs.js",
35 "switch_access.js", 36 "switch_access.js",
36 "tree_walker.js", 37 "tree_walker.js",
37 ] 38 ]
38 rewrite_rules = [ 39 rewrite_rules = [
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 } 95 }
95 96
96 manifest("switch_access_manifest") { 97 manifest("switch_access_manifest") {
97 output_file = "$switch_access_dir/manifest.json" 98 output_file = "$switch_access_dir/manifest.json"
98 } 99 }
99 100
100 manifest("switch_access_guest_manifest") { 101 manifest("switch_access_guest_manifest") {
101 output_file = "$switch_access_dir/manifest_guest.json" 102 output_file = "$switch_access_dir/manifest_guest.json"
102 is_guest_manifest = true 103 is_guest_manifest = true
103 } 104 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/switch_access/automation_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698