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

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

Issue 2795633002: Make select-to-speak work with Google Docs. (Closed)
Patch Set: Ready to land Created 3 years, 7 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 12 matching lines...) Expand all
23 # Instead of setting up one copy target for each subdirectory, use a script 23 # Instead of setting up one copy target for each subdirectory, use a script
24 # to copy all files. 24 # to copy all files.
25 run_jsbundler("select_to_speak_copied_files") { 25 run_jsbundler("select_to_speak_copied_files") {
26 mode = "copy" 26 mode = "copy"
27 dest_dir = select_to_speak_out_dir 27 dest_dir = select_to_speak_out_dir
28 sources = [ 28 sources = [
29 "checked.png", 29 "checked.png",
30 "options.css", 30 "options.css",
31 "options.html", 31 "options.html",
32 "select_to_speak.js", 32 "select_to_speak.js",
33 "select_to_speak_gdocs_script.js",
33 "select_to_speak_main.js", 34 "select_to_speak_main.js",
34 "select_to_speak_options.js", 35 "select_to_speak_options.js",
35 "unchecked.png", 36 "unchecked.png",
36 ] 37 ]
37 rewrite_rules = [ 38 rewrite_rules = [
38 rebase_path(".", root_build_dir) + ":", 39 rebase_path(".", root_build_dir) + ":",
39 rebase_path(closure_library_dir, root_build_dir) + ":closure", 40 rebase_path(closure_library_dir, root_build_dir) + ":closure",
40 ] 41 ]
41 } 42 }
42 43
(...skipping 30 matching lines...) Expand all
73 } 74 }
74 75
75 manifest("select_to_speak_manifest") { 76 manifest("select_to_speak_manifest") {
76 output_file = "$select_to_speak_out_dir/manifest.json" 77 output_file = "$select_to_speak_out_dir/manifest.json"
77 } 78 }
78 79
79 manifest("select_to_speak_guest_manifest") { 80 manifest("select_to_speak_guest_manifest") {
80 output_file = "$select_to_speak_out_dir/manifest_guest.json" 81 output_file = "$select_to_speak_out_dir/manifest_guest.json"
81 is_guest_manifest = true 82 is_guest_manifest = true
82 } 83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698