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

Side by Side Diff: buildbot/buildbot_run.py

Issue 9443044: Beginnings of some msvs_... emulation (windows ninja) (Closed) Base URL: https://gyp.googlecode.com/svn/trunk
Patch Set: no pdb option for LIB Created 8 years, 10 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 | pylib/gyp/common.py » ('j') | pylib/gyp/common.py » ('J')
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 Google Inc. All rights reserved. 2 # Copyright (c) 2012 Google Inc. 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 6
7 """Argument-less script to select what to run on the buildbots.""" 7 """Argument-less script to select what to run on the buildbots."""
8 8
9 9
10 import os 10 import os
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 retcode = 0 72 retcode = 0
73 if sys.platform.startswith('linux'): 73 if sys.platform.startswith('linux'):
74 retcode += GypTestFormat('ninja') 74 retcode += GypTestFormat('ninja')
75 retcode += GypTestFormat('scons') 75 retcode += GypTestFormat('scons')
76 retcode += GypTestFormat('make') 76 retcode += GypTestFormat('make')
77 elif sys.platform == 'darwin': 77 elif sys.platform == 'darwin':
78 retcode += GypTestFormat('ninja') 78 retcode += GypTestFormat('ninja')
79 retcode += GypTestFormat('xcode') 79 retcode += GypTestFormat('xcode')
80 retcode += GypTestFormat('make') 80 retcode += GypTestFormat('make')
81 elif sys.platform == 'win32': 81 elif sys.platform == 'win32':
82 retcode += GypTestFormat('ninja')
Nico 2012/02/27 16:23:30 wasn't this in some other change already? do you n
scottmg 2012/02/28 00:01:13 I really suck at git. I think correct now.
82 retcode += GypTestFormat('msvs-2008', format='msvs', msvs_version='2008') 83 retcode += GypTestFormat('msvs-2008', format='msvs', msvs_version='2008')
83 if os.environ['BUILDBOT_BUILDERNAME'] == 'gyp-win64': 84 if os.environ['BUILDBOT_BUILDERNAME'] == 'gyp-win64':
84 retcode += GypTestFormat('msvs-2010', format='msvs', msvs_version='2010') 85 retcode += GypTestFormat('msvs-2010', format='msvs', msvs_version='2010')
85 else: 86 else:
86 raise Exception('Unknown platform') 87 raise Exception('Unknown platform')
87 if retcode: 88 if retcode:
88 # TODO(bradnelson): once the annotator supports a postscript (section for 89 # TODO(bradnelson): once the annotator supports a postscript (section for
89 # after the build proper that could be used for cumulative failures), 90 # after the build proper that could be used for cumulative failures),
90 # use that instead of this. This isolates the final return value so 91 # use that instead of this. This isolates the final return value so
91 # that it isn't misattributed to the last stage. 92 # that it isn't misattributed to the last stage.
92 print '@@@BUILD_STEP failures@@@' 93 print '@@@BUILD_STEP failures@@@'
93 sys.exit(retcode) 94 sys.exit(retcode)
94 95
95 96
96 if __name__ == '__main__': 97 if __name__ == '__main__':
97 GypBuild() 98 GypBuild()
OLDNEW
« no previous file with comments | « no previous file | pylib/gyp/common.py » ('j') | pylib/gyp/common.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698