OLD | NEW |
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 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 | 795 |
796 def BuildStepBuildExamples(pepperdir, platform): | 796 def BuildStepBuildExamples(pepperdir, platform): |
797 BuildStepMakeAll(pepperdir, platform, 'examples', 'Build Examples') | 797 BuildStepMakeAll(pepperdir, platform, 'examples', 'Build Examples') |
798 | 798 |
799 | 799 |
800 TEST_EXAMPLE_LIST = [ | 800 TEST_EXAMPLE_LIST = [ |
801 'nacl_mounts_test', | 801 'nacl_mounts_test', |
802 ] | 802 ] |
803 | 803 |
804 TEST_LIBRARY_LIST = [ | 804 TEST_LIBRARY_LIST = [ |
| 805 'gmock', |
805 'gtest', | 806 'gtest', |
806 'gtest_ppapi', | 807 'gtest_ppapi', |
807 ] | 808 ] |
808 | 809 |
809 def BuildStepCopyTests(pepperdir, toolchains, build_experimental, clobber): | 810 def BuildStepCopyTests(pepperdir, toolchains, build_experimental, clobber): |
810 buildbot_common.BuildStep('Copy Tests') | 811 buildbot_common.BuildStep('Copy Tests') |
811 | 812 |
812 MakeDirectoryOrClobber(pepperdir, 'testlibs', clobber) | 813 MakeDirectoryOrClobber(pepperdir, 'testlibs', clobber) |
813 MakeDirectoryOrClobber(pepperdir, 'tests', clobber) | 814 MakeDirectoryOrClobber(pepperdir, 'tests', clobber) |
814 | 815 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 # Archive on non-trybots. | 1005 # Archive on non-trybots. |
1005 if options.archive or buildbot_common.IsSDKBuilder(): | 1006 if options.archive or buildbot_common.IsSDKBuilder(): |
1006 BuildStepArchiveBundle(pepper_ver, clnumber, tarfile) | 1007 BuildStepArchiveBundle(pepper_ver, clnumber, tarfile) |
1007 BuildStepArchiveSDKTools() | 1008 BuildStepArchiveSDKTools() |
1008 | 1009 |
1009 return 0 | 1010 return 0 |
1010 | 1011 |
1011 | 1012 |
1012 if __name__ == '__main__': | 1013 if __name__ == '__main__': |
1013 sys.exit(main(sys.argv)) | 1014 sys.exit(main(sys.argv)) |
OLD | NEW |