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 """Main entry point for toolchain_build buildbots. | 6 """Main entry point for toolchain_build buildbots. |
7 | 7 |
8 Passes its arguments to toolchain_build.py. | 8 Passes its arguments to toolchain_build.py. |
9 """ | 9 """ |
10 | 10 |
11 import os | 11 import os |
(...skipping 14 matching lines...) Expand all Loading... |
26 sys.stdout.flush() | 26 sys.stdout.flush() |
27 subprocess.check_call([ | 27 subprocess.check_call([ |
28 sys.executable, os.path.join(NACL_DIR, 'build', 'run_build_tests.py')]) | 28 sys.executable, os.path.join(NACL_DIR, 'build', 'run_build_tests.py')]) |
29 | 29 |
30 # Toolchain build emits its own annotator stages. | 30 # Toolchain build emits its own annotator stages. |
31 sys.stdout.flush() | 31 sys.stdout.flush() |
32 subprocess.check_call([ | 32 subprocess.check_call([ |
33 sys.executable, | 33 sys.executable, |
34 os.path.join(NACL_DIR, 'toolchain_build', 'toolchain_build.py')] + | 34 os.path.join(NACL_DIR, 'toolchain_build', 'toolchain_build.py')] + |
35 sys.argv[1:]) | 35 sys.argv[1:]) |
OLD | NEW |