OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 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 | 6 |
7 from optparse import OptionParser | 7 from optparse import OptionParser |
8 import os | 8 import os |
9 import subprocess | 9 import subprocess |
10 import sys | 10 import sys |
11 | 11 |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 if options.mode == 'i': | 264 if options.mode == 'i': |
265 fail = LogDeps('<(PRODUCT_DIR)', nexe, arch, tools) | 265 fail = LogDeps('<(PRODUCT_DIR)', nexe, arch, tools) |
266 | 266 |
267 if out: | 267 if out: |
268 out.close() | 268 out.close() |
269 return fail | 269 return fail |
270 | 270 |
271 | 271 |
272 if __name__ == '__main__': | 272 if __name__ == '__main__': |
273 sys.exit(Main(sys.argv)) | 273 sys.exit(Main(sys.argv)) |
OLD | NEW |