Chromium Code Reviews| 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', |
| 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 'chromevox1_manifest', | |
| 28 'chromevox1_guest_manifest', | |
| 29 'chromevox2_manifest', | 27 'chromevox2_manifest', |
|
dmazzoni
2014/11/20 21:37:20
It's a little confusing to reference chromevox2_ma
| |
| 30 'chromevox2_guest_manifest', | 28 'chromevox2_guest_manifest', |
| 31 ], | 29 ], |
| 32 }, | 30 }, |
| 33 { | 31 { |
| 34 'target_name': 'chromevox_resources', | 32 'target_name': 'chromevox_resources', |
| 35 'type': 'none', | 33 'type': 'none', |
| 36 'dependencies': [ | 34 'dependencies': [ |
| 37 'chromevox_assets', | 35 'chromevox_assets', |
| 38 'chromevox_static_files', | 36 'chromevox_static_files', |
| 39 'chromevox_strings', | 37 'chromevox_strings', |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 149 }, | 147 }, |
| 150 'sources': [ | 148 'sources': [ |
| 151 '<(chromevox1_background_script_loader_file)', | 149 '<(chromevox1_background_script_loader_file)', |
| 152 '<(chromevox1_content_script_loader_file)', | 150 '<(chromevox1_content_script_loader_file)', |
| 153 '<(chromevox1_kbexplorer_loader_file)', | 151 '<(chromevox1_kbexplorer_loader_file)', |
| 154 '<(chromevox1_options_script_loader_file)', | 152 '<(chromevox1_options_script_loader_file)', |
| 155 '<(chromevox2_background_script_loader_file)', | 153 '<(chromevox2_background_script_loader_file)', |
| 156 ], | 154 ], |
| 157 'includes': ['generate_deps.gypi'], | 155 'includes': ['generate_deps.gypi'], |
| 158 }, | 156 }, |
| 157 # Used for webstore releases. | |
| 159 { | 158 { |
| 160 'target_name': 'chromevox1_manifest', | 159 'target_name': 'chromevox1_manifest', |
|
dmazzoni
2014/11/20 21:37:20
Maybe this one should be chromevox_webstore_manife
| |
| 161 'type': 'none', | 160 'type': 'none', |
| 162 'variables': { | 161 'variables': { |
| 163 'output_manifest_path': '<(chromevox_dest_dir)/manifest.json', | 162 'output_manifest_path': '<(chromevox_dest_dir)/manifest.json', |
| 164 }, | 163 }, |
| 165 'includes': [ 'generate_manifest.gypi', ], | 164 'includes': [ 'generate_manifest.gypi', ], |
| 166 }, | 165 }, |
| 167 { | 166 { |
| 168 'target_name': 'chromevox1_guest_manifest', | |
| 169 'type': 'none', | |
| 170 'variables': { | |
| 171 'output_manifest_path': '<(chromevox_dest_dir)/manifest_guest.json', | |
| 172 'is_guest_manifest': 1, | |
| 173 }, | |
| 174 'includes': [ 'generate_manifest.gypi', ], | |
| 175 }, | |
| 176 { | |
| 177 'target_name': 'chromevox2_manifest', | 167 'target_name': 'chromevox2_manifest', |
| 178 'type': 'none', | 168 'type': 'none', |
| 179 'variables': { | 169 'variables': { |
| 180 'output_manifest_path': '<(chromevox_dest_dir)/manifest_next.json', | 170 'output_manifest_path': '<(chromevox_dest_dir)/manifest.json', |
| 181 'is_chromevox_next': 1, | 171 'is_chromevox_next': 1, |
| 182 }, | 172 }, |
| 183 'includes': [ 'generate_manifest.gypi', ], | 173 'includes': [ 'generate_manifest.gypi', ], |
| 184 }, | 174 }, |
| 185 { | 175 { |
| 186 'target_name': 'chromevox2_guest_manifest', | 176 'target_name': 'chromevox2_guest_manifest', |
| 187 'type': 'none', | 177 'type': 'none', |
| 188 'variables': { | 178 'variables': { |
| 189 'output_manifest_path': '<(chromevox_dest_dir)/manifest_next_guest.j son', | 179 'output_manifest_path': '<(chromevox_dest_dir)/manifest_guest.json', |
| 190 'is_guest_manifest': 1, | 180 'is_guest_manifest': 1, |
| 191 'is_chromevox_next': 1, | 181 'is_chromevox_next': 1, |
| 192 }, | 182 }, |
| 193 'includes': [ 'generate_manifest.gypi', ], | 183 'includes': [ 'generate_manifest.gypi', ], |
| 194 }, | 184 }, |
| 195 ], | 185 ], |
| 196 'conditions': [ | 186 'conditions': [ |
| 197 ['chromevox_compress_js==1', { | 187 ['chromevox_compress_js==1', { |
| 198 'targets': [ | 188 'targets': [ |
| 199 { | 189 { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 261 '<(chromevox2_background_script_loader_file)', | 251 '<(chromevox2_background_script_loader_file)', |
| 262 ], | 252 ], |
| 263 'includes': [ 'copy_js.gypi', ], | 253 'includes': [ 'copy_js.gypi', ], |
| 264 }, | 254 }, |
| 265 ], | 255 ], |
| 266 }], | 256 }], |
| 267 ], | 257 ], |
| 268 }], | 258 }], |
| 269 ], | 259 ], |
| 270 } | 260 } |
| OLD | NEW |