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

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

Issue 779103002: Revert of Various changes required to support ChromeVox Next to read Views and Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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',
11 'chromevox1_background_script_loader_file': 'chromevox/background/loader .js', 11 'chromevox1_background_script_loader_file': 'chromevox/background/loader .js',
12 'chromevox1_content_script_loader_file': 'chromevox/injected/loader.js', 12 'chromevox1_content_script_loader_file': 'chromevox/injected/loader.js',
13 'chromevox1_kbexplorer_loader_file': 'chromevox/background/kbexplorer_lo ader.js', 13 'chromevox1_kbexplorer_loader_file': 'chromevox/background/kbexplorer_lo ader.js',
14 'chromevox1_options_script_loader_file': 'chromevox/background/options_l oader.js', 14 'chromevox1_options_script_loader_file': 'chromevox/background/options_l oader.js',
15 'chromevox2_background_script_loader_file': 'cvox2/background/loader.js' , 15 'chromevox2_background_script_loader_file': 'cvox2/background/loader.js' ,
16 }, 16 },
17 'includes': [ 17 'includes': [
18 'chromevox_tests.gypi', 18 'chromevox_tests.gypi',
19 'common.gypi', 19 'common.gypi',
20 ], 20 ],
21 'targets': [ 21 'targets': [
22 { 22 {
23 'target_name': 'chromevox', 23 'target_name': 'chromevox',
24 'type': 'none', 24 'type': 'none',
25 'dependencies': [ 25 'dependencies': [
26 'chromevox_resources', 26 'chromevox_resources',
27 'chromevox_manifest', 27 'chromevox1_manifest',
28 'chromevox_guest_manifest', 28 'chromevox1_guest_manifest',
29 'chromevox2_manifest',
30 'chromevox2_guest_manifest',
29 ], 31 ],
30 }, 32 },
31 { 33 {
32 'target_name': 'chromevox_resources', 34 'target_name': 'chromevox_resources',
33 'type': 'none', 35 'type': 'none',
34 'dependencies': [ 36 'dependencies': [
35 'chromevox_assets', 37 'chromevox_assets',
36 'chromevox_static_files', 38 'chromevox_static_files',
37 'chromevox_strings', 39 'chromevox_strings',
38 'chromevox_uncompiled_js_files', 40 'chromevox_uncompiled_js_files',
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 }, 149 },
148 'sources': [ 150 'sources': [
149 '<(chromevox1_background_script_loader_file)', 151 '<(chromevox1_background_script_loader_file)',
150 '<(chromevox1_content_script_loader_file)', 152 '<(chromevox1_content_script_loader_file)',
151 '<(chromevox1_kbexplorer_loader_file)', 153 '<(chromevox1_kbexplorer_loader_file)',
152 '<(chromevox1_options_script_loader_file)', 154 '<(chromevox1_options_script_loader_file)',
153 '<(chromevox2_background_script_loader_file)', 155 '<(chromevox2_background_script_loader_file)',
154 ], 156 ],
155 'includes': ['generate_deps.gypi'], 157 'includes': ['generate_deps.gypi'],
156 }, 158 },
157 # Used for webstore releases.
158 { 159 {
159 'target_name': 'chromevox_webstore_manifest', 160 'target_name': 'chromevox1_manifest',
160 'type': 'none', 161 'type': 'none',
161 'variables': { 162 'variables': {
162 'output_manifest_path': '<(chromevox_dest_dir)/manifest.json', 163 'output_manifest_path': '<(chromevox_dest_dir)/manifest.json',
163 }, 164 },
164 'includes': [ 'generate_manifest.gypi', ], 165 'includes': [ 'generate_manifest.gypi', ],
165 }, 166 },
166 { 167 {
167 'target_name': 'chromevox_manifest', 168 'target_name': 'chromevox1_guest_manifest',
168 'type': 'none', 169 'type': 'none',
169 'variables': { 170 'variables': {
170 'output_manifest_path': '<(chromevox_dest_dir)/manifest.json', 171 'output_manifest_path': '<(chromevox_dest_dir)/manifest_guest.json',
171 # TODO(dtseng): Flip this to 1 once ChromeVox Next is ready. 172 'is_guest_manifest': 1,
172 'is_chromevox_next': 0,
173 }, 173 },
174 'includes': [ 'generate_manifest.gypi', ], 174 'includes': [ 'generate_manifest.gypi', ],
175 }, 175 },
176 { 176 {
177 'target_name': 'chromevox_guest_manifest', 177 'target_name': 'chromevox2_manifest',
178 'type': 'none', 178 'type': 'none',
179 'variables': { 179 'variables': {
180 'output_manifest_path': '<(chromevox_dest_dir)/manifest_guest.json', 180 'output_manifest_path': '<(chromevox_dest_dir)/manifest_next.json',
181 'is_guest_manifest': 1, 181 'is_chromevox_next': 1,
182 # TODO(dtseng): Flip this to 1 once ChromeVox Next is ready.
183 'is_chromevox_next': 0,
184 }, 182 },
185 'includes': [ 'generate_manifest.gypi', ], 183 'includes': [ 'generate_manifest.gypi', ],
186 }, 184 },
185 {
186 'target_name': 'chromevox2_guest_manifest',
187 'type': 'none',
188 'variables': {
189 'output_manifest_path': '<(chromevox_dest_dir)/manifest_next_guest.j son',
190 'is_guest_manifest': 1,
191 'is_chromevox_next': 1,
192 },
193 'includes': [ 'generate_manifest.gypi', ],
194 },
187 ], 195 ],
188 'conditions': [ 196 'conditions': [
189 ['chromevox_compress_js==1', { 197 ['chromevox_compress_js==1', {
190 'targets': [ 198 'targets': [
191 { 199 {
192 'target_name': 'chromevox1_content_script', 200 'target_name': 'chromevox1_content_script',
193 'type': 'none', 201 'type': 'none',
194 'variables': { 202 'variables': {
195 'output_file': '<(chromevox_dest_dir)/chromeVoxChromePageScript. js', 203 'output_file': '<(chromevox_dest_dir)/chromeVoxChromePageScript. js',
196 }, 204 },
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 '<(chromevox2_background_script_loader_file)', 261 '<(chromevox2_background_script_loader_file)',
254 ], 262 ],
255 'includes': [ 'copy_js.gypi', ], 263 'includes': [ 'copy_js.gypi', ],
256 }, 264 },
257 ], 265 ],
258 }], 266 }],
259 ], 267 ],
260 }], 268 }],
261 ], 269 ],
262 } 270 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698