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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 235 |
236 # List of toolchain headers to install. | 236 # List of toolchain headers to install. |
237 # Source is relative to top of Chromium tree, destination is relative | 237 # Source is relative to top of Chromium tree, destination is relative |
238 # to the toolchain header directory. | 238 # to the toolchain header directory. |
239 NACL_HEADER_MAP = { | 239 NACL_HEADER_MAP = { |
240 'newlib': [ | 240 'newlib': [ |
241 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'), | 241 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'), |
242 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'), | 242 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'), |
243 ('native_client/src/untrusted/irt/irt.h', ''), | 243 ('native_client/src/untrusted/irt/irt.h', ''), |
244 ('native_client/src/untrusted/irt/irt_dev.h', ''), | 244 ('native_client/src/untrusted/irt/irt_dev.h', ''), |
| 245 ('native_client/src/untrusted/irt/irt_extension.h', ''), |
245 ('native_client/src/untrusted/nacl/nacl_dyncode.h', 'nacl/'), | 246 ('native_client/src/untrusted/nacl/nacl_dyncode.h', 'nacl/'), |
246 ('native_client/src/untrusted/nacl/nacl_startup.h', 'nacl/'), | 247 ('native_client/src/untrusted/nacl/nacl_startup.h', 'nacl/'), |
247 ('native_client/src/untrusted/pthread/pthread.h', ''), | 248 ('native_client/src/untrusted/pthread/pthread.h', ''), |
248 ('native_client/src/untrusted/pthread/semaphore.h', ''), | 249 ('native_client/src/untrusted/pthread/semaphore.h', ''), |
249 ('native_client/src/untrusted/valgrind/dynamic_annotations.h', 'nacl/'), | 250 ('native_client/src/untrusted/valgrind/dynamic_annotations.h', 'nacl/'), |
250 ('ppapi/nacl_irt/public/irt_ppapi.h', ''), | 251 ('ppapi/nacl_irt/public/irt_ppapi.h', ''), |
251 ], | 252 ], |
252 'glibc': [ | 253 'glibc': [ |
253 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'), | 254 ('native_client/src/include/nacl/nacl_exception.h', 'nacl/'), |
254 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'), | 255 ('native_client/src/include/nacl/nacl_minidump.h', 'nacl/'), |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1055 BuildStepArchiveSDKTools() | 1056 BuildStepArchiveSDKTools() |
1056 | 1057 |
1057 return 0 | 1058 return 0 |
1058 | 1059 |
1059 | 1060 |
1060 if __name__ == '__main__': | 1061 if __name__ == '__main__': |
1061 try: | 1062 try: |
1062 sys.exit(main(sys.argv)) | 1063 sys.exit(main(sys.argv)) |
1063 except KeyboardInterrupt: | 1064 except KeyboardInterrupt: |
1064 buildbot_common.ErrorExit('build_sdk: interrupted') | 1065 buildbot_common.ErrorExit('build_sdk: interrupted') |
OLD | NEW |