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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/chromevox.gyp

Issue 1277183003: Add ChromeVox panel and implement caption display functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN build Created 5 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 { 5 {
6 'conditions': [ 6 'conditions': [
7 ['chromeos==1', { 7 ['chromeos==1', {
8 'variables': { 8 'variables': {
9 # Whether to compress the 4 main ChromeVox scripts. 9 # Whether to compress the 4 main ChromeVox scripts.
10 'chromevox_compress_js%': '1', 10 'chromevox_compress_js%': '1',
(...skipping 26 matching lines...) Expand all
37 '../braille_ime/braille_ime.gyp:braille_ime_manifest', 37 '../braille_ime/braille_ime.gyp:braille_ime_manifest',
38 ], 38 ],
39 'conditions': [ 39 'conditions': [
40 ['disable_nacl==0 and disable_nacl_untrusted==0', { 40 ['disable_nacl==0 and disable_nacl_untrusted==0', {
41 'dependencies': [ 41 'dependencies': [
42 '<(DEPTH)/third_party/liblouis/liblouis_nacl.gyp:liblouis_nacl_w rapper_nacl', 42 '<(DEPTH)/third_party/liblouis/liblouis_nacl.gyp:liblouis_nacl_w rapper_nacl',
43 ], 43 ],
44 }], 44 }],
45 ['chromevox_compress_js==1', { 45 ['chromevox_compress_js==1', {
46 'dependencies': [ 46 'dependencies': [
47 'chromevox1_content_script', 47 'chromevox_content_script',
48 'chromevox1_kbexplorer_script', 48 'chromevox_kbexplorer_script',
49 'chromevox1_options_script', 49 'chromevox_options_script',
50 'chromevox2_background_script', 50 'chromevox_background_script',
51 'chromevox_panel_script',
51 ], 52 ],
52 }, { # chromevox_compress_js==0 53 }, { # chromevox_compress_js==0
53 'dependencies': [ 54 'dependencies': [
54 'chromevox_copied_scripts', 55 'chromevox_copied_scripts',
55 'chromevox_deps', 56 'chromevox_deps',
56 ], 57 ],
57 }], 58 }],
58 ], 59 ],
59 }, 60 },
60 { 61 {
61 'target_name': 'chromevox_static_files', 62 'target_name': 'chromevox_static_files',
62 'type': 'none', 63 'type': 'none',
63 'copies': [ 64 'copies': [
64 { 65 {
65 'destination': '<(chromevox_dest_dir)/chromevox/background', 66 'destination': '<(chromevox_dest_dir)/chromevox/background',
66 'files': [ 67 'files': [
67 'chromevox/background/kbexplorer.html', 68 'chromevox/background/kbexplorer.html',
68 'chromevox/background/options.html', 69 'chromevox/background/options.html',
69 ], 70 ],
70 }, 71 },
71 { 72 {
72 'destination': '<(chromevox_dest_dir)/cvox2/background', 73 'destination': '<(chromevox_dest_dir)/cvox2/background',
73 'files': [ 74 'files': [
74 'cvox2/background/background.html', 75 'cvox2/background/background.html',
76 'cvox2/background/panel.html',
75 ], 77 ],
76 }, 78 },
77 ], 79 ],
78 }, 80 },
79 { 81 {
80 # JavaScript files that are always directly included into the 82 # JavaScript files that are always directly included into the
81 # destination directory. 83 # destination directory.
82 'target_name': 'chromevox_uncompiled_js_files', 84 'target_name': 'chromevox_uncompiled_js_files',
83 'type': 'none', 85 'type': 'none',
84 'copies': [ 86 'copies': [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 }, 129 },
128 ], 130 ],
129 }, 131 },
130 { 132 {
131 'target_name': 'chromevox_deps', 133 'target_name': 'chromevox_deps',
132 'type': 'none', 134 'type': 'none',
133 'variables': { 135 'variables': {
134 'deps_js_output_file': '<(chromevox_dest_dir)/deps.js', 136 'deps_js_output_file': '<(chromevox_dest_dir)/deps.js',
135 }, 137 },
136 'sources': [ 138 'sources': [
137 '<(chromevox1_content_script_loader_file)', 139 '<(chromevox_content_script_loader_file)',
138 '<(chromevox1_kbexplorer_loader_file)', 140 '<(chromevox_kbexplorer_loader_file)',
139 '<(chromevox1_options_script_loader_file)', 141 '<(chromevox_options_script_loader_file)',
140 '<(chromevox2_background_script_loader_file)', 142 '<(chromevox_background_script_loader_file)',
143 '<(chromevox_panel_script_loader_file)',
141 ], 144 ],
142 'includes': ['generate_deps.gypi'], 145 'includes': ['generate_deps.gypi'],
143 }, 146 },
144 { 147 {
145 'target_name': 'chromevox_manifest', 148 'target_name': 'chromevox_manifest',
146 'type': 'none', 149 'type': 'none',
147 'variables': { 150 'variables': {
148 'output_manifest_path': '<(chromevox_dest_dir)/manifest.json', 151 'output_manifest_path': '<(chromevox_dest_dir)/manifest.json',
149 }, 152 },
150 'includes': [ 'generate_manifest.gypi', ], 153 'includes': [ 'generate_manifest.gypi', ],
151 }, 154 },
152 { 155 {
153 'target_name': 'chromevox_guest_manifest', 156 'target_name': 'chromevox_guest_manifest',
154 'type': 'none', 157 'type': 'none',
155 'variables': { 158 'variables': {
156 'output_manifest_path': '<(chromevox_dest_dir)/manifest_guest.json', 159 'output_manifest_path': '<(chromevox_dest_dir)/manifest_guest.json',
157 'is_guest_manifest': 1, 160 'is_guest_manifest': 1,
158 }, 161 },
159 'includes': [ 'generate_manifest.gypi', ], 162 'includes': [ 'generate_manifest.gypi', ],
160 }, 163 },
161 ], 164 ],
162 'conditions': [ 165 'conditions': [
163 ['chromevox_compress_js==1', { 166 ['chromevox_compress_js==1', {
164 'targets': [ 167 'targets': [
165 { 168 {
166 'target_name': 'chromevox1_content_script', 169 'target_name': 'chromevox_content_script',
167 'type': 'none', 170 'type': 'none',
168 'variables': { 171 'variables': {
169 'output_file': '<(chromevox_dest_dir)/chromeVoxChromePageScript. js', 172 'output_file': '<(chromevox_dest_dir)/chromeVoxChromePageScript. js',
170 }, 173 },
171 'sources': [ '<(chromevox1_content_script_loader_file)' ], 174 'sources': [ '<(chromevox_content_script_loader_file)' ],
172 'includes': [ 'compress_js.gypi', ], 175 'includes': [ 'compress_js.gypi', ],
173 }, 176 },
174 { 177 {
175 'target_name': 'chromevox1_options_script', 178 'target_name': 'chromevox_options_script',
176 'type': 'none', 179 'type': 'none',
177 'variables': { 180 'variables': {
178 'output_file': '<(chromevox_dest_dir)/chromeVoxChromeOptionsScri pt.js', 181 'output_file': '<(chromevox_dest_dir)/chromeVoxChromeOptionsScri pt.js',
179 }, 182 },
180 'sources': [ '<(chromevox1_options_script_loader_file)' ], 183 'sources': [ '<(chromevox_options_script_loader_file)' ],
181 'includes': [ 'compress_js.gypi', ], 184 'includes': [ 'compress_js.gypi', ],
182 }, 185 },
183 { 186 {
184 'target_name': 'chromevox1_kbexplorer_script', 187 'target_name': 'chromevox_kbexplorer_script',
185 'type': 'none', 188 'type': 'none',
186 'variables': { 189 'variables': {
187 'output_file': '<(chromevox_dest_dir)/chromeVoxKbExplorerScript. js', 190 'output_file': '<(chromevox_dest_dir)/chromeVoxKbExplorerScript. js',
188 }, 191 },
189 'sources': [ '<(chromevox1_kbexplorer_loader_file)' ], 192 'sources': [ '<(chromevox_kbexplorer_loader_file)' ],
190 'includes': [ 'compress_js.gypi', ], 193 'includes': [ 'compress_js.gypi', ],
191 }, 194 },
192 { 195 {
193 'target_name': 'chromevox2_background_script', 196 'target_name': 'chromevox_background_script',
194 'type': 'none', 197 'type': 'none',
195 'variables': { 198 'variables': {
196 'output_file': '<(chromevox_dest_dir)/chromeVox2ChromeBackground Script.js', 199 'output_file': '<(chromevox_dest_dir)/chromeVox2ChromeBackground Script.js',
197 }, 200 },
198 'sources': [ 201 'sources': [
199 '<(chromevox2_background_script_loader_file)', 202 '<(chromevox_background_script_loader_file)',
200 ], 203 ],
201 'includes': [ 'compress_js.gypi', ], 204 'includes': [ 'compress_js.gypi', ],
202 }, 205 },
206 {
207 'target_name': 'chromevox_panel_script',
208 'type': 'none',
209 'variables': {
210 'output_file': '<(chromevox_dest_dir)/chromeVoxPanelScript.js',
211 },
212 'sources': [ '<(chromevox_panel_script_loader_file)' ],
213 'includes': [ 'compress_js.gypi', ],
214 },
203 ], 215 ],
204 }, { # chromevox_compress_js==0 216 }, { # chromevox_compress_js==0
205 'targets': [ 217 'targets': [
206 { 218 {
207 'target_name': 'chromevox_copied_scripts', 219 'target_name': 'chromevox_copied_scripts',
208 'type': 'none', 220 'type': 'none',
209 'variables': { 221 'variables': {
210 'dest_dir': '<(chromevox_dest_dir)', 222 'dest_dir': '<(chromevox_dest_dir)',
211 }, 223 },
212 'sources': [ 224 'sources': [
213 '<(chromevox1_content_script_loader_file)', 225 '<(chromevox_content_script_loader_file)',
214 '<(chromevox1_kbexplorer_loader_file)', 226 '<(chromevox_kbexplorer_loader_file)',
215 '<(chromevox1_options_script_loader_file)', 227 '<(chromevox_options_script_loader_file)',
216 '<(chromevox2_background_script_loader_file)', 228 '<(chromevox_background_script_loader_file)',
229 '<(chromevox_panel_script_loader_file)',
217 ], 230 ],
218 'includes': [ 'copy_js.gypi', ], 231 'includes': [ 'copy_js.gypi', ],
219 }, 232 },
220 ], 233 ],
221 }], 234 }],
222 ], 235 ],
223 }], 236 }],
224 ], 237 ],
225 } 238 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698