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

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

Issue 2437593005: Fix compilation of uber-fat binaries. (Closed)
Patch Set: Fix typo in native_client_sdk/PRESUBMIT.py Created 4 years, 2 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 | « native_client_sdk/PRESUBMIT.py ('k') | no next file » | 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 gn_args = ['is_debug=false'] 426 gn_args = ['is_debug=false']
427 if extra_gn_args is not None: 427 if extra_gn_args is not None:
428 gn_args += extra_gn_args 428 gn_args += extra_gn_args
429 platform = getos.GetPlatform() 429 platform = getos.GetPlatform()
430 if platform == 'mac': 430 if platform == 'mac':
431 if options.mac_sdk: 431 if options.mac_sdk:
432 gn_args.append('mac_sdk_min="%s"' % options.mac_sdk) 432 gn_args.append('mac_sdk_min="%s"' % options.mac_sdk)
433 if arch == 'arm': 433 if arch == 'arm':
434 # Without this the target_cpu='arm' build complains about missing code 434 # Without this the target_cpu='arm' build complains about missing code
435 # signing identity 435 # signing identity
436 gn_args.append('use_ios_simulator=true') 436 gn_args.append('ios_enable_code_signing=false')
437 437
438 gn_exe = GetGNExecutable(platform) 438 gn_exe = GetGNExecutable(platform)
439 439
440 if arch is not None: 440 if arch is not None:
441 gn_args.append('target_cpu="%s"' % arch) 441 gn_args.append('target_cpu="%s"' % arch)
442 if arch == 'arm': 442 if arch == 'arm':
443 if options.no_arm_trusted: 443 if options.no_arm_trusted:
444 gn_args.append('enable_cross_trusted=false') 444 gn_args.append('enable_cross_trusted=false')
445 445
446 gn_args = ' '.join(gn_args) 446 gn_args = ' '.join(gn_args)
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 #BuildStepArchivePNaClComponent(chrome_revision) 872 #BuildStepArchivePNaClComponent(chrome_revision)
873 873
874 return 0 874 return 0
875 875
876 876
877 if __name__ == '__main__': 877 if __name__ == '__main__':
878 try: 878 try:
879 sys.exit(main(sys.argv[1:])) 879 sys.exit(main(sys.argv[1:]))
880 except KeyboardInterrupt: 880 except KeyboardInterrupt:
881 buildbot_common.ErrorExit('build_sdk: interrupted') 881 buildbot_common.ErrorExit('build_sdk: interrupted')
OLDNEW
« no previous file with comments | « native_client_sdk/PRESUBMIT.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698