| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Script to create Chrome Installer archive. | 6 """Script to create Chrome Installer archive. |
| 7 | 7 |
| 8 This script is used to create an archive of all the files required for a | 8 This script is used to create an archive of all the files required for a |
| 9 Chrome install in appropriate directory structure. It reads chrome.release | 9 Chrome install in appropriate directory structure. It reads chrome.release |
| 10 file as input, creates chrome.7z archive, compresses setup.exe and | 10 file as input, creates chrome.7z archive, compresses setup.exe and |
| 11 generates packed_files.txt for mini_installer project. | 11 generates packed_files.txt for mini_installer project. |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 if not options.resource_file_path: | 378 if not options.resource_file_path: |
| 379 options.options.resource_file_path = os.path.join(options.build_dir, | 379 options.options.resource_file_path = os.path.join(options.build_dir, |
| 380 MINI_INSTALLER_INPUT_FILE) | 380 MINI_INSTALLER_INPUT_FILE) |
| 381 | 381 |
| 382 print sys.argv | 382 print sys.argv |
| 383 return options | 383 return options |
| 384 | 384 |
| 385 | 385 |
| 386 if '__main__' == __name__: | 386 if '__main__' == __name__: |
| 387 sys.exit(main(_ParseOptions())) | 387 sys.exit(main(_ParseOptions())) |
| OLD | NEW |