OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # | 2 # |
3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3 # Copyright (c) 2011, 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 # Script to create snapshot files. | 7 # Script to create snapshot files. |
8 | 8 |
9 import getopt | 9 import getopt |
10 import optparse | 10 import optparse |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 if not makeFile(options.output, options.input_cc, | 94 if not makeFile(options.output, options.input_cc, |
95 options.vm_input_bin, options.input_bin): | 95 options.vm_input_bin, options.input_bin): |
96 print "Unable to generate snapshot in C buffer form" | 96 print "Unable to generate snapshot in C buffer form" |
97 return -1 | 97 return -1 |
98 | 98 |
99 return 0 | 99 return 0 |
100 | 100 |
101 if __name__ == '__main__': | 101 if __name__ == '__main__': |
102 sys.exit(Main()) | 102 sys.exit(Main()) |
OLD | NEW |