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

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

Issue 23661005: [NaCl SDK] Add a very simple getting_started example at top-level. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add hello_tutorial.nmf Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/generate_make.py » ('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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 toolchains.remove('arm') 650 toolchains.remove('arm')
651 651
652 if 'host' in toolchains: 652 if 'host' in toolchains:
653 toolchains.remove('host') 653 toolchains.remove('host')
654 toolchains.append(getos.GetPlatform()) 654 toolchains.append(getos.GetPlatform())
655 655
656 filters['TOOLS'] = toolchains 656 filters['TOOLS'] = toolchains
657 657
658 # Update examples and libraries 658 # Update examples and libraries
659 filters['DEST'] = [ 659 filters['DEST'] = [
660 'getting_started',
660 'examples/api', 661 'examples/api',
661 'examples/demo', 662 'examples/demo',
662 'examples/getting_started',
663 'examples/tutorial', 663 'examples/tutorial',
664 'src' 664 'src'
665 ] 665 ]
666 666
667 tree = parse_dsc.LoadProjectTree(SDK_SRC_DIR, include=filters) 667 tree = parse_dsc.LoadProjectTree(SDK_SRC_DIR, include=filters)
668 build_projects.UpdateProjects(pepperdir, tree, clobber=clobber, 668 build_projects.UpdateProjects(pepperdir, tree, clobber=clobber,
669 toolchains=toolchains) 669 toolchains=toolchains)
670 670
671 671
672 def BuildStepMakeAll(pepperdir, directory, step_name, 672 def BuildStepMakeAll(pepperdir, directory, step_name,
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 BuildStepArchiveSDKTools() 953 BuildStepArchiveSDKTools()
954 954
955 return 0 955 return 0
956 956
957 957
958 if __name__ == '__main__': 958 if __name__ == '__main__':
959 try: 959 try:
960 sys.exit(main(sys.argv)) 960 sys.exit(main(sys.argv))
961 except KeyboardInterrupt: 961 except KeyboardInterrupt:
962 buildbot_common.ErrorExit('build_sdk: interrupted') 962 buildbot_common.ErrorExit('build_sdk: interrupted')
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/generate_make.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698