OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client 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 getopt | 6 import getopt |
7 import sys | 7 import sys |
8 import subprocess | 8 import subprocess |
9 import re | 9 import re |
10 import os | 10 import os |
11 | 11 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 print >>sys.stderr, ['Usage: ', | 122 print >>sys.stderr, ['Usage: ', |
123 argv[0], | 123 argv[0], |
124 '-a {Win32|x64} -o output_file [-p native_client_path] input_file'] | 124 '-a {Win32|x64} -o output_file [-p native_client_path] input_file'] |
125 # endtry | 125 # endtry |
126 | 126 |
127 # enddef | 127 # enddef |
128 | 128 |
129 if __name__ == '__main__': | 129 if __name__ == '__main__': |
130 sys.exit(main(sys.argv)) | 130 sys.exit(main(sys.argv)) |
131 # endif | 131 # endif |
OLD | NEW |