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

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

Issue 664543003: Benchmark sample for SDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
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 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 if 'host' in toolchains: 659 if 'host' in toolchains:
660 toolchains.remove('host') 660 toolchains.remove('host')
661 toolchains.append(getos.GetPlatform()) 661 toolchains.append(getos.GetPlatform())
662 662
663 filters['TOOLS'] = toolchains 663 filters['TOOLS'] = toolchains
664 664
665 # Update examples and libraries 665 # Update examples and libraries
666 filters['DEST'] = [ 666 filters['DEST'] = [
667 'getting_started', 667 'getting_started',
668 'examples/api', 668 'examples/api',
669 'examples/benchmarks',
669 'examples/demo', 670 'examples/demo',
670 'examples/tutorial', 671 'examples/tutorial',
671 'src' 672 'src'
672 ] 673 ]
673 674
674 tree = parse_dsc.LoadProjectTree(SDK_SRC_DIR, include=filters) 675 tree = parse_dsc.LoadProjectTree(SDK_SRC_DIR, include=filters)
675 build_projects.UpdateProjects(pepperdir, tree, clobber=clobber, 676 build_projects.UpdateProjects(pepperdir, tree, clobber=clobber,
676 toolchains=toolchains) 677 toolchains=toolchains)
677 678
678 679
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 BuildStepArchiveSDKTools() 1064 BuildStepArchiveSDKTools()
1064 1065
1065 return 0 1066 return 0
1066 1067
1067 1068
1068 if __name__ == '__main__': 1069 if __name__ == '__main__':
1069 try: 1070 try:
1070 sys.exit(main(sys.argv)) 1071 sys.exit(main(sys.argv))
1071 except KeyboardInterrupt: 1072 except KeyboardInterrupt:
1072 buildbot_common.ErrorExit('build_sdk: interrupted') 1073 buildbot_common.ErrorExit('build_sdk: interrupted')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698