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

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

Issue 10854137: [NaCl SDK] gtest_ppapi library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove hacks Created 8 years, 4 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/libraries/build.scons » ('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 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 env = os.environ 632 env = os.environ
633 633
634 buildbot_common.Run(['make', '-j8'], 634 buildbot_common.Run(['make', '-j8'],
635 cwd=os.path.abspath(example_dir), shell=True, env=env) 635 cwd=os.path.abspath(example_dir), shell=True, env=env)
636 636
637 TEST_EXAMPLE_LIST = [ 637 TEST_EXAMPLE_LIST = [
638 ] 638 ]
639 639
640 TEST_LIBRARY_LIST = [ 640 TEST_LIBRARY_LIST = [
641 'gtest', 641 'gtest',
642 'gtest_ppapi',
642 ] 643 ]
643 644
644 def BuildStepCopyTests(pepperdir, toolchains, build_experimental): 645 def BuildStepCopyTests(pepperdir, toolchains, build_experimental):
645 buildbot_common.BuildStep('Copy Tests') 646 buildbot_common.BuildStep('Copy Tests')
646 647
647 testingdir = os.path.join(pepperdir, 'testing') 648 testingdir = os.path.join(pepperdir, 'testing')
648 buildbot_common.RemoveDir(testingdir) 649 buildbot_common.RemoveDir(testingdir)
649 buildbot_common.MakeDir(testingdir) 650 buildbot_common.MakeDir(testingdir)
650 651
651 args = ['--dstroot=%s' % pepperdir, '--master'] 652 args = ['--dstroot=%s' % pepperdir, '--master']
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 # Archive on non-trybots. 833 # Archive on non-trybots.
833 if options.archive or buildbot_common.IsSDKBuilder(): 834 if options.archive or buildbot_common.IsSDKBuilder():
834 BuildStepArchiveBundle(pepper_ver, clnumber, tarfile) 835 BuildStepArchiveBundle(pepper_ver, clnumber, tarfile)
835 BuildStepArchiveSDKTools() 836 BuildStepArchiveSDKTools()
836 837
837 return 0 838 return 0
838 839
839 840
840 if __name__ == '__main__': 841 if __name__ == '__main__':
841 sys.exit(main(sys.argv)) 842 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698