OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 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 """Script to build binary components of the SDK. | 6 """Script to build binary components of the SDK. |
7 | 7 |
8 This script builds binary components of the Native Client SDK, create tarballs | 8 This script builds binary components of the Native Client SDK, create tarballs |
9 for them, and uploads them to Google Cloud Storage. | 9 for them, and uploads them to Google Cloud Storage. |
10 | 10 |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 ('sel_ldr', 'sel_ldr_x86_32'), | 236 ('sel_ldr', 'sel_ldr_x86_32'), |
237 ('ncval_new', 'ncval'), | 237 ('ncval_new', 'ncval'), |
238 ('irt_core_newlib_x32.nexe', 'irt_core_x86_32.nexe'), | 238 ('irt_core_newlib_x32.nexe', 'irt_core_x86_32.nexe'), |
239 ('irt_core_newlib_x64.nexe', 'irt_core_x86_64.nexe'), | 239 ('irt_core_newlib_x64.nexe', 'irt_core_x86_64.nexe'), |
240 ] | 240 ] |
241 | 241 |
242 if PLATFORM == 'linux': | 242 if PLATFORM == 'linux': |
243 files.append(['nacl_helper_bootstrap', 'nacl_helper_bootstrap_x86_32']) | 243 files.append(['nacl_helper_bootstrap', 'nacl_helper_bootstrap_x86_32']) |
244 files.append(['nonsfi_loader_newlib_x32_nonsfi.nexe', | 244 files.append(['nonsfi_loader_newlib_x32_nonsfi.nexe', |
245 'nonsfi_loader_x86_32']) | 245 'nonsfi_loader_x86_32']) |
| 246 files.append(['nonsfi_loader_newlib_arm_nonsfi.nexe', |
| 247 'nonsfi_loader_arm']) |
246 | 248 |
247 # Add .exe extensions to all windows tools | 249 # Add .exe extensions to all windows tools |
248 for pair in files: | 250 for pair in files: |
249 if PLATFORM == 'win' and not pair[0].endswith('.nexe'): | 251 if PLATFORM == 'win' and not pair[0].endswith('.nexe'): |
250 pair[0] += '.exe' | 252 pair[0] += '.exe' |
251 pair[1] += '.exe' | 253 pair[1] += '.exe' |
252 | 254 |
253 return files | 255 return files |
254 | 256 |
255 | 257 |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 if options.upload: | 580 if options.upload: |
579 UploadArchives() | 581 UploadArchives() |
580 | 582 |
581 return 0 | 583 return 0 |
582 | 584 |
583 if __name__ == '__main__': | 585 if __name__ == '__main__': |
584 try: | 586 try: |
585 sys.exit(main(sys.argv[1:])) | 587 sys.exit(main(sys.argv[1:])) |
586 except KeyboardInterrupt: | 588 except KeyboardInterrupt: |
587 buildbot_common.ErrorExit('build_artifacts: interrupted') | 589 buildbot_common.ErrorExit('build_artifacts: interrupted') |
OLD | NEW |