OLD | NEW |
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 Loading... |
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 'chromevox_content_script', | 47 'chromevox_content_script', |
48 'chromevox_kbexplorer_script', | 48 'chromevox_kbexplorer_script', |
49 'chromevox_options_script', | 49 'chromevox_options_script', |
50 'chromevox_background_script', | 50 'chromevox_background_script', |
51 'chromevox_panel_script', | 51 'chromevox_panel_script', |
| 52 's2s_background_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 { |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 }, | 206 }, |
206 { | 207 { |
207 'target_name': 'chromevox_panel_script', | 208 'target_name': 'chromevox_panel_script', |
208 'type': 'none', | 209 'type': 'none', |
209 'variables': { | 210 'variables': { |
210 'output_file': '<(chromevox_dest_dir)/chromeVoxPanelScript.js', | 211 'output_file': '<(chromevox_dest_dir)/chromeVoxPanelScript.js', |
211 }, | 212 }, |
212 'sources': [ '<(chromevox_panel_script_loader_file)' ], | 213 'sources': [ '<(chromevox_panel_script_loader_file)' ], |
213 'includes': [ 'compress_js.gypi', ], | 214 'includes': [ 'compress_js.gypi', ], |
214 }, | 215 }, |
| 216 { |
| 217 'target_name': 's2s_background_script', |
| 218 'type': 'none', |
| 219 'variables': { |
| 220 'output_file': '<(chromevox_dest_dir)/s2sBackgroundScript.js', |
| 221 }, |
| 222 'sources': [ |
| 223 's2s/background/loader.js', |
| 224 ], |
| 225 'includes': [ 'compress_js.gypi', ], |
| 226 }, |
215 ], | 227 ], |
216 }, { # chromevox_compress_js==0 | 228 }, { # chromevox_compress_js==0 |
217 'targets': [ | 229 'targets': [ |
218 { | 230 { |
219 'target_name': 'chromevox_copied_scripts', | 231 'target_name': 'chromevox_copied_scripts', |
220 'type': 'none', | 232 'type': 'none', |
221 'variables': { | 233 'variables': { |
222 'dest_dir': '<(chromevox_dest_dir)', | 234 'dest_dir': '<(chromevox_dest_dir)', |
223 }, | 235 }, |
224 'sources': [ | 236 'sources': [ |
225 '<(chromevox_content_script_loader_file)', | 237 '<(chromevox_content_script_loader_file)', |
226 '<(chromevox_kbexplorer_loader_file)', | 238 '<(chromevox_kbexplorer_loader_file)', |
227 '<(chromevox_options_script_loader_file)', | 239 '<(chromevox_options_script_loader_file)', |
228 '<(chromevox_background_script_loader_file)', | 240 '<(chromevox_background_script_loader_file)', |
229 '<(chromevox_panel_script_loader_file)', | 241 '<(chromevox_panel_script_loader_file)', |
230 ], | 242 ], |
231 'includes': [ 'copy_js.gypi', ], | 243 'includes': [ 'copy_js.gypi', ], |
232 }, | 244 }, |
233 ], | 245 ], |
234 }], | 246 }], |
235 ], | 247 ], |
236 }], | 248 }], |
237 ], | 249 ], |
238 } | 250 } |
OLD | NEW |