| 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 30 matching lines...) Expand all Loading... |
| 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 'chromevox1_content_script', |
| 48 'chromevox1_kbexplorer_script', | 48 'chromevox1_kbexplorer_script', |
| 49 'chromevox1_options_script', | 49 'chromevox1_options_script', |
| 50 'chromevox2_background_script', | 50 'chromevox2_background_script', |
| 51 'chromevox2_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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 '<(chromevox1_content_script_loader_file)', |
| 138 '<(chromevox1_kbexplorer_loader_file)', | 140 '<(chromevox1_kbexplorer_loader_file)', |
| 139 '<(chromevox1_options_script_loader_file)', | 141 '<(chromevox1_options_script_loader_file)', |
| 140 '<(chromevox2_background_script_loader_file)', | 142 '<(chromevox2_background_script_loader_file)', |
| 143 '<(chromevox2_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', ], |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 'target_name': 'chromevox2_background_script', | 196 'target_name': 'chromevox2_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 '<(chromevox2_background_script_loader_file)', |
| 200 ], | 203 ], |
| 201 'includes': [ 'compress_js.gypi', ], | 204 'includes': [ 'compress_js.gypi', ], |
| 202 }, | 205 }, |
| 206 { |
| 207 'target_name': 'chromevox2_panel_script', |
| 208 'type': 'none', |
| 209 'variables': { |
| 210 'output_file': '<(chromevox_dest_dir)/chromeVoxPanelScript.js', |
| 211 }, |
| 212 'sources': [ '<(chromevox2_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 '<(chromevox1_content_script_loader_file)', |
| 214 '<(chromevox1_kbexplorer_loader_file)', | 226 '<(chromevox1_kbexplorer_loader_file)', |
| 215 '<(chromevox1_options_script_loader_file)', | 227 '<(chromevox1_options_script_loader_file)', |
| 216 '<(chromevox2_background_script_loader_file)', | 228 '<(chromevox2_background_script_loader_file)', |
| 229 '<(chromevox2_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 } |
| OLD | NEW |