| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # copyright (c) 2012 the chromium authors. all rights reserved. | 2 # Copyright (c) 2012 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 """Build script to generate a new sdk_tools bundle. | 6 """Build script to generate a new sdk_tools bundle. |
| 7 | 7 |
| 8 This script packages the files necessary to generate the SDK updater -- the | 8 This script packages the files necessary to generate the SDK updater -- the |
| 9 tool users run to download new bundles, update existing bundles, etc. | 9 tool users run to download new bundles, update existing bundles, etc. |
| 10 """ | 10 """ |
| 11 | 11 |
| 12 import buildbot_common | 12 import buildbot_common |
| 13 import build_utils | 13 import build_utils |
| 14 import cStringIO | 14 import cStringIO |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 parser = optparse.OptionParser() | 157 parser = optparse.OptionParser() |
| 158 parser.add_option('-o', '--out', help='output directory', | 158 parser.add_option('-o', '--out', help='output directory', |
| 159 dest='out_dir', default='out') | 159 dest='out_dir', default='out') |
| 160 options, args = parser.parse_args(args[1:]) | 160 options, args = parser.parse_args(args[1:]) |
| 161 | 161 |
| 162 BuildUpdater(options.out_dir) | 162 BuildUpdater(options.out_dir) |
| 163 | 163 |
| 164 | 164 |
| 165 if __name__ == '__main__': | 165 if __name__ == '__main__': |
| 166 sys.exit(main(sys.argv)) | 166 sys.exit(main(sys.argv)) |
| OLD | NEW |