| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # | 2 # |
| 3 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 3 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 4 # for details. All rights reserved. Use of this source code is governed by a | 4 # for details. All rights reserved. Use of this source code is governed by a |
| 5 # BSD-style license that can be found in the LICENSE file. | 5 # BSD-style license that can be found in the LICENSE file. |
| 6 | 6 |
| 7 import imp | 7 import imp |
| 8 import optparse | 8 import optparse |
| 9 import os | 9 import os |
| 10 import subprocess | 10 import subprocess |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 'content_shell_scratch' : 'ContentShell%(bits)s.app', | 217 'content_shell_scratch' : 'ContentShell%(bits)s.app', |
| 218 | 218 |
| 219 'zip' : True, | 219 'zip' : True, |
| 220 }, | 220 }, |
| 221 'win32' : { | 221 'win32' : { |
| 222 'editor' : os.path.join('dart', 'DartEditor.exe'), | 222 'editor' : os.path.join('dart', 'DartEditor.exe'), |
| 223 'chrome' : os.path.join('dart', 'chromium', 'chrome.exe'), | 223 'chrome' : os.path.join('dart', 'chromium', 'chrome.exe'), |
| 224 'content_shell' : os.path.join('dart', 'chromium', | 224 'content_shell' : os.path.join('dart', 'chromium', |
| 225 'content_shell.exe'), | 225 'content_shell.exe'), |
| 226 | 226 |
| 227 'msi_scratch' : 'darteditor-installer-windows-%(bits)s.exe', | 227 'msi_scratch' : 'darteditor-installer-windows-%(bits)s.msi', |
| 228 'editor_scratch' : 'DartEditor%(bits)s.exe', | 228 'editor_scratch' : 'DartEditor%(bits)s.exe', |
| 229 'chrome_scratch' : 'chromium%(bits)s.exe', | 229 'chrome_scratch' : 'chromium%(bits)s.exe', |
| 230 'content_shell_scratch' : 'content_shell%(bits)s.exe', | 230 'content_shell_scratch' : 'content_shell%(bits)s.exe', |
| 231 | 231 |
| 232 'zip' : False, | 232 'zip' : False, |
| 233 }, | 233 }, |
| 234 } | 234 } |
| 235 | 235 |
| 236 # Desitination of zip files we download | 236 # Desitination of zip files we download |
| 237 for system in ('macos', 'win32'): | 237 for system in ('macos', 'win32'): |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 # Upload *.msi installer and set 'public-read ACL | 303 # Upload *.msi installer and set 'public-read ACL |
| 304 if system == 'win32': | 304 if system == 'win32': |
| 305 postsign_msi = os.path.join( | 305 postsign_msi = os.path.join( |
| 306 postsign_dir, locations[system]['msi_scratch'] % config) | 306 postsign_dir, locations[system]['msi_scratch'] % config) |
| 307 upload_msi_installer_to_new_location( | 307 upload_msi_installer_to_new_location( |
| 308 options.channel, config, postsign_msi) | 308 options.channel, config, postsign_msi) |
| 309 | 309 |
| 310 if __name__ == '__main__': | 310 if __name__ == '__main__': |
| 311 main() | 311 main() |
| 312 | 312 |
| OLD | NEW |