Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Side by Side Diff: native_client_sdk/src/build_tools/build_sdk.py

Issue 1243823002: [NaCl SDK] Second phase of enable glibc arm toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@reenable_irtext
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/sdk_files.list » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 ['irt_core_newlib_arm.nexe', 'irt_core_arm.nexe'], 438 ['irt_core_newlib_arm.nexe', 'irt_core_arm.nexe'],
439 ['nacl_helper_bootstrap', 'nacl_helper_bootstrap_arm'], 439 ['nacl_helper_bootstrap', 'nacl_helper_bootstrap_arm'],
440 ['nonsfi_loader_newlib_arm_nonsfi.nexe', 'nonsfi_loader_arm'], 440 ['nonsfi_loader_newlib_arm_nonsfi.nexe', 'nonsfi_loader_arm'],
441 ['sel_ldr', 'sel_ldr_arm'] 441 ['sel_ldr', 'sel_ldr_arm']
442 ] 442 ]
443 InstallFiles(GetNinjaOutDir('arm'), tools_dir, arm_files) 443 InstallFiles(GetNinjaOutDir('arm'), tools_dir, arm_files)
444 444
445 for tc in toolchains: 445 for tc in toolchains:
446 if tc in ('host', 'clang-newlib'): 446 if tc in ('host', 'clang-newlib'):
447 continue 447 continue
448 # TODO(sbc): remove this once untrusted.gypi can build arm glibc targets
449 elif tc == 'arm_glibc':
450 continue
451 elif tc == 'pnacl': 448 elif tc == 'pnacl':
452 xarches = (None, 'ia32', 'x64', 'arm') 449 xarches = (None, 'ia32', 'x64', 'arm')
453 elif tc in ('x86_glibc', 'x86_newlib'): 450 elif tc in ('x86_glibc', 'x86_newlib'):
454 xarches = ('ia32', 'x64') 451 xarches = ('ia32', 'x64')
455 elif tc in ('arm_glibc', 'arm_newlib', 'arm_bionic'): 452 elif tc in ('arm_glibc', 'arm_newlib', 'arm_bionic'):
456 xarches = ('arm',) 453 xarches = ('arm',)
457 else: 454 else:
458 raise AssertionError('unexpected toolchain value: %s' % tc) 455 raise AssertionError('unexpected toolchain value: %s' % tc)
459 456
460 for xarch in xarches: 457 for xarch in xarches:
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
1158 BuildStepArchivePNaClComponent(chrome_revision) 1155 BuildStepArchivePNaClComponent(chrome_revision)
1159 1156
1160 return 0 1157 return 0
1161 1158
1162 1159
1163 if __name__ == '__main__': 1160 if __name__ == '__main__':
1164 try: 1161 try:
1165 sys.exit(main(sys.argv[1:])) 1162 sys.exit(main(sys.argv[1:]))
1166 except KeyboardInterrupt: 1163 except KeyboardInterrupt:
1167 buildbot_common.ErrorExit('build_sdk: interrupted') 1164 buildbot_common.ErrorExit('build_sdk: interrupted')
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/sdk_files.list » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698