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

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

Issue 1282593002: Add ChromeVox panel and implement caption display functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes to accessibility_manager in this change Created 5 years, 4 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 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_background_script', 47 'chromevox1_background_script',
48 'chromevox1_content_script', 48 'chromevox1_content_script',
49 'chromevox1_kbexplorer_script', 49 'chromevox1_kbexplorer_script',
50 'chromevox1_options_script', 50 'chromevox1_options_script',
51 'chromevox2_background_script', 51 'chromevox2_background_script',
52 'chromevox2_panel_script',
52 ], 53 ],
53 }, { # chromevox_compress_js==0 54 }, { # chromevox_compress_js==0
54 'dependencies': [ 55 'dependencies': [
55 'chromevox_copied_scripts', 56 'chromevox_copied_scripts',
56 'chromevox_deps', 57 'chromevox_deps',
57 ], 58 ],
58 }], 59 }],
59 ], 60 ],
60 }, 61 },
61 { 62 {
62 'target_name': 'chromevox_static_files', 63 'target_name': 'chromevox_static_files',
63 'type': 'none', 64 'type': 'none',
64 'copies': [ 65 'copies': [
65 { 66 {
66 'destination': '<(chromevox_dest_dir)/chromevox/background', 67 'destination': '<(chromevox_dest_dir)/chromevox/background',
67 'files': [ 68 'files': [
68 'chromevox/background/background.html', 69 'chromevox/background/background.html',
69 'chromevox/background/kbexplorer.html', 70 'chromevox/background/kbexplorer.html',
70 'chromevox/background/options.html', 71 'chromevox/background/options.html',
71 ], 72 ],
72 }, 73 },
73 { 74 {
74 'destination': '<(chromevox_dest_dir)/cvox2/background', 75 'destination': '<(chromevox_dest_dir)/cvox2/background',
75 'files': [ 76 'files': [
76 'cvox2/background/background.html', 77 'cvox2/background/background.html',
78 'cvox2/background/panel.html',
77 ], 79 ],
78 }, 80 },
79 ], 81 ],
80 }, 82 },
81 { 83 {
82 # JavaScript files that are always directly included into the 84 # JavaScript files that are always directly included into the
83 # destination directory. 85 # destination directory.
84 'target_name': 'chromevox_uncompiled_js_files', 86 'target_name': 'chromevox_uncompiled_js_files',
85 'type': 'none', 87 'type': 'none',
86 'copies': [ 88 'copies': [
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 'type': 'none', 136 'type': 'none',
135 'variables': { 137 'variables': {
136 'deps_js_output_file': '<(chromevox_dest_dir)/deps.js', 138 'deps_js_output_file': '<(chromevox_dest_dir)/deps.js',
137 }, 139 },
138 'sources': [ 140 'sources': [
139 '<(chromevox1_background_script_loader_file)', 141 '<(chromevox1_background_script_loader_file)',
140 '<(chromevox1_content_script_loader_file)', 142 '<(chromevox1_content_script_loader_file)',
141 '<(chromevox1_kbexplorer_loader_file)', 143 '<(chromevox1_kbexplorer_loader_file)',
142 '<(chromevox1_options_script_loader_file)', 144 '<(chromevox1_options_script_loader_file)',
143 '<(chromevox2_background_script_loader_file)', 145 '<(chromevox2_background_script_loader_file)',
146 '<(chromevox2_panel_script_loader_file)',
144 ], 147 ],
145 'includes': ['generate_deps.gypi'], 148 'includes': ['generate_deps.gypi'],
146 }, 149 },
147 { 150 {
148 'target_name': 'chromevox_manifest', 151 'target_name': 'chromevox_manifest',
149 'type': 'none', 152 'type': 'none',
150 'variables': { 153 'variables': {
151 'output_manifest_path': '<(chromevox_dest_dir)/manifest.json', 154 'output_manifest_path': '<(chromevox_dest_dir)/manifest.json',
152 }, 155 },
153 'includes': [ 'generate_manifest.gypi', ], 156 'includes': [ 'generate_manifest.gypi', ],
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 'type': 'none', 209 'type': 'none',
207 'variables': { 210 'variables': {
208 'output_file': '<(chromevox_dest_dir)/chromeVox2ChromeBackground Script.js', 211 'output_file': '<(chromevox_dest_dir)/chromeVox2ChromeBackground Script.js',
209 }, 212 },
210 'sources': [ 213 'sources': [
211 '<(chromevox1_background_script_loader_file)', 214 '<(chromevox1_background_script_loader_file)',
212 '<(chromevox2_background_script_loader_file)', 215 '<(chromevox2_background_script_loader_file)',
213 ], 216 ],
214 'includes': [ 'compress_js.gypi', ], 217 'includes': [ 'compress_js.gypi', ],
215 }, 218 },
219 {
220 'target_name': 'chromevox2_panel_script',
221 'type': 'none',
222 'variables': {
223 'output_file': '<(chromevox_dest_dir)/chromeVoxPanelScript.js',
224 },
225 'sources': [ '<(chromevox2_panel_script_loader_file)' ],
226 'includes': [ 'compress_js.gypi', ],
227 },
216 ], 228 ],
217 }, { # chromevox_compress_js==0 229 }, { # chromevox_compress_js==0
218 'targets': [ 230 'targets': [
219 { 231 {
220 'target_name': 'chromevox_copied_scripts', 232 'target_name': 'chromevox_copied_scripts',
221 'type': 'none', 233 'type': 'none',
222 'variables': { 234 'variables': {
223 'dest_dir': '<(chromevox_dest_dir)', 235 'dest_dir': '<(chromevox_dest_dir)',
224 }, 236 },
225 'sources': [ 237 'sources': [
226 '<(chromevox1_background_script_loader_file)', 238 '<(chromevox1_background_script_loader_file)',
227 '<(chromevox1_content_script_loader_file)', 239 '<(chromevox1_content_script_loader_file)',
228 '<(chromevox1_kbexplorer_loader_file)', 240 '<(chromevox1_kbexplorer_loader_file)',
229 '<(chromevox1_options_script_loader_file)', 241 '<(chromevox1_options_script_loader_file)',
230 '<(chromevox2_background_script_loader_file)', 242 '<(chromevox2_background_script_loader_file)',
243 '<(chromevox2_panel_script_loader_file)',
231 ], 244 ],
232 'includes': [ 'copy_js.gypi', ], 245 'includes': [ 'copy_js.gypi', ],
233 }, 246 },
234 ], 247 ],
235 }], 248 }],
236 ], 249 ],
237 }], 250 }],
238 ], 251 ],
239 } 252 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698