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 """Entry point for both build and try bots. | 6 """Entry point for both build and try bots. |
7 | 7 |
8 This script is invoked from XXX, usually without arguments | 8 This script is invoked from XXX, usually without arguments |
9 to package an SDK. It automatically determines whether | 9 to package an SDK. It automatically determines whether |
10 this SDK is for mac, win, linux. | 10 this SDK is for mac, win, linux. |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 | 255 |
256 # List of toolchain headers to install. | 256 # List of toolchain headers to install. |
257 # Source is relative to top of Chromium tree, destination is relative | 257 # Source is relative to top of Chromium tree, destination is relative |
258 # to the toolchain header directory. | 258 # to the toolchain header directory. |
259 NACL_HEADER_MAP = { | 259 NACL_HEADER_MAP = { |
260 'newlib': [ | 260 'newlib': [ |
261 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'), | 261 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'), |
262 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'), | 262 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'), |
263 ('native_client/src/untrusted/irt/irt.h', ''), | 263 ('native_client/src/untrusted/irt/irt.h', ''), |
264 ('native_client/src/untrusted/irt/irt_dev.h', ''), | 264 ('native_client/src/untrusted/irt/irt_dev.h', ''), |
265 ('native_client/src/untrusted/irt/irt_extension.h', ''), | |
266 ('native_client/src/untrusted/nacl/nacl_dyncode.h', 'nacl/'), | 265 ('native_client/src/untrusted/nacl/nacl_dyncode.h', 'nacl/'), |
267 ('native_client/src/untrusted/nacl/nacl_startup.h', 'nacl/'), | 266 ('native_client/src/untrusted/nacl/nacl_startup.h', 'nacl/'), |
268 ('native_client/src/untrusted/pthread/pthread.h', ''), | 267 ('native_client/src/untrusted/pthread/pthread.h', ''), |
269 ('native_client/src/untrusted/pthread/semaphore.h', ''), | 268 ('native_client/src/untrusted/pthread/semaphore.h', ''), |
270 ('native_client/src/untrusted/valgrind/dynamic_annotations.h', 'nacl/'), | 269 ('native_client/src/untrusted/valgrind/dynamic_annotations.h', 'nacl/'), |
271 ('ppapi/nacl_irt/public/irt_ppapi.h', ''), | 270 ('ppapi/nacl_irt/public/irt_ppapi.h', ''), |
272 ], | 271 ], |
273 'glibc': [ | 272 'glibc': [ |
274 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'), | 273 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'), |
275 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'), | 274 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'), |
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1105 BuildStepArchiveSDKTools() | 1104 BuildStepArchiveSDKTools() |
1106 | 1105 |
1107 return 0 | 1106 return 0 |
1108 | 1107 |
1109 | 1108 |
1110 if __name__ == '__main__': | 1109 if __name__ == '__main__': |
1111 try: | 1110 try: |
1112 sys.exit(main(sys.argv[1:])) | 1111 sys.exit(main(sys.argv[1:])) |
1113 except KeyboardInterrupt: | 1112 except KeyboardInterrupt: |
1114 buildbot_common.ErrorExit('build_sdk: interrupted') | 1113 buildbot_common.ErrorExit('build_sdk: interrupted') |
OLD | NEW |