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

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

Issue 10823016: [NaCl SDK] Don't copy .h files to src in SDK. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: feedback Created 8 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/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 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 if 'pnacl' in toolchains: 742 if 'pnacl' in toolchains:
743 tarname = 'p' + tarname 743 tarname = 'p' + tarname
744 tarfile = os.path.join(SERVER_DIR, tarname) 744 tarfile = os.path.join(SERVER_DIR, tarname)
745 745
746 if options.release: 746 if options.release:
747 pepper_ver = options.release 747 pepper_ver = options.release
748 print 'Building PEPPER %s at %s' % (pepper_ver, clnumber) 748 print 'Building PEPPER %s at %s' % (pepper_ver, clnumber)
749 749
750 if options.only_examples: 750 if options.only_examples:
751 BuildStepCopyExamples(pepperdir, toolchains) 751 BuildStepCopyExamples(pepperdir, toolchains)
752 BuildStepBuildLibraries(pepperdir, platform)
752 BuildStepBuildExamples(pepperdir, platform) 753 BuildStepBuildExamples(pepperdir, platform)
753 if options.test_examples: 754 if options.test_examples:
754 BuildStepTestExamples(pepperdir, platform, pepper_ver) 755 BuildStepTestExamples(pepperdir, platform, pepper_ver)
755 elif options.only_updater: 756 elif options.only_updater:
756 build_updater.BuildUpdater(OUT_DIR) 757 build_updater.BuildUpdater(OUT_DIR)
757 else: # Build everything. 758 else: # Build everything.
758 BuildStepBuildToolsTests() 759 BuildStepBuildToolsTests()
759 760
760 BuildStepDownloadToolchains(platform) 761 BuildStepDownloadToolchains(platform)
761 BuildStepCleanPepperDirs(pepperdir, pepperdir_old) 762 BuildStepCleanPepperDirs(pepperdir, pepperdir_old)
(...skipping 22 matching lines...) Expand all
784 # Archive on non-trybots. 785 # Archive on non-trybots.
785 if options.archive or buildbot_common.IsSDKBuilder(): 786 if options.archive or buildbot_common.IsSDKBuilder():
786 BuildStepArchiveBundle(pepper_ver, clnumber, tarfile) 787 BuildStepArchiveBundle(pepper_ver, clnumber, tarfile)
787 BuildStepArchiveSDKTools() 788 BuildStepArchiveSDKTools()
788 789
789 return 0 790 return 0
790 791
791 792
792 if __name__ == '__main__': 793 if __name__ == '__main__':
793 sys.exit(main(sys.argv)) 794 sys.exit(main(sys.argv))
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