| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2009 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 import os | 6 import os |
| 7 import re | 7 import re |
| 8 import subprocess | 8 import subprocess |
| 9 import sys | 9 import sys |
| 10 import urllib | 10 import urllib |
| 11 | 11 |
| 12 IS_WIN = sys.platform.startswith('win') | 12 IS_WIN = sys.platform.startswith('win') |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 print('Update Failed. Bailing.') | 78 print('Update Failed. Bailing.') |
| 79 return rv | 79 return rv |
| 80 | 80 |
| 81 DoBuild(chrome_root, args[2:]) | 81 DoBuild(chrome_root, args[2:]) |
| 82 print('Success!') | 82 print('Success!') |
| 83 return 0 | 83 return 0 |
| 84 | 84 |
| 85 | 85 |
| 86 if __name__ == "__main__": | 86 if __name__ == "__main__": |
| 87 sys.exit(Main(sys.argv)) | 87 sys.exit(Main(sys.argv)) |
| OLD | NEW |