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

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

Issue 2775303004: Add i18n support to Select-to-speak (Closed)
Patch Set: 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
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)
11 11
12 select_to_speak_out_dir = "$root_out_dir/resources/chromeos/select_to_speak" 12 select_to_speak_out_dir = "$root_out_dir/resources/chromeos/select_to_speak"
13 13
14 group("select_to_speak") { 14 group("select_to_speak") {
15 deps = [ 15 deps = [
16 ":select_to_speak_copied_files", 16 ":select_to_speak_copied_files",
17 ":select_to_speak_guest_manifest", 17 ":select_to_speak_guest_manifest",
18 ":select_to_speak_manifest", 18 ":select_to_speak_manifest",
19 "//chrome/browser/resources/chromeos/select_to_speak/strings:select_to_speak _strings",
19 ] 20 ]
20 } 21 }
21 22
22 # 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
23 # to copy all files. 24 # to copy all files.
24 run_jsbundler("select_to_speak_copied_files") { 25 run_jsbundler("select_to_speak_copied_files") {
25 mode = "copy" 26 mode = "copy"
26 dest_dir = select_to_speak_out_dir 27 dest_dir = select_to_speak_out_dir
27 sources = [ 28 sources = [
28 "select_to_speak.js", 29 "select_to_speak.js",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 } 67 }
67 68
68 manifest("select_to_speak_manifest") { 69 manifest("select_to_speak_manifest") {
69 output_file = "$select_to_speak_out_dir/manifest.json" 70 output_file = "$select_to_speak_out_dir/manifest.json"
70 } 71 }
71 72
72 manifest("select_to_speak_guest_manifest") { 73 manifest("select_to_speak_guest_manifest") {
73 output_file = "$select_to_speak_out_dir/manifest_guest.json" 74 output_file = "$select_to_speak_out_dir/manifest_guest.json"
74 is_guest_manifest = true 75 is_guest_manifest = true
75 } 76 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698