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

Side by Side Diff: client/tools/buildbot_annotated_steps.py

Issue 11573003: Fix javahome for pub bots (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 #!/usr/bin/python 5 #!/usr/bin/python
6 6
7 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 7 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
8 # Use of this source code is governed by a BSD-style license that can be 8 # Use of this source code is governed by a BSD-style license that can be
9 # found in the LICENSE file. 9 # found in the LICENSE file.
10 10
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 if GetShouldClobber(): 197 if GetShouldClobber():
198 print '@@@BUILD_STEP Clobber@@@' 198 print '@@@BUILD_STEP Clobber@@@'
199 status = ClobberBuilder() 199 status = ClobberBuilder()
200 if status != 0: 200 if status != 0:
201 print '@@@STEP_FAILURE@@@' 201 print '@@@STEP_FAILURE@@@'
202 return status 202 return status
203 203
204 204
205 #TODO(sigmund): remove this indirection once we update our bots 205 #TODO(sigmund): remove this indirection once we update our bots
206 (name, version) = GetBuildInfo() 206 (name, version) = GetBuildInfo()
207 # The buildbot will set a BUILDBOT_JAVA_HOME relative to the dart
208 # root directory, set JAVA_HOME based on that.
209 FixJavaHome()
207 if name.startswith('dart-editor'): 210 if name.startswith('dart-editor'):
208 # TODO (danrubel) Fix dart-editor builds so that we can call FixJavaHome() b efore the build
209 FixJavaHome()
210 status = ProcessTools('release', name, version) 211 status = ProcessTools('release', name, version)
211 elif name.startswith('pub-'): 212 elif name.startswith('pub-'):
212 status = ProcessBot(name, 'pub') 213 status = ProcessBot(name, 'pub')
213 elif name.startswith('vm-android'): 214 elif name.startswith('vm-android'):
214 status = ProcessBot(name, 'android') 215 status = ProcessBot(name, 'android')
215 else: 216 else:
216 # The buildbot will set a BUILDBOT_JAVA_HOME relative to the dart
217 # root directory, set JAVA_HOME based on that.
218 FixJavaHome()
219 status = ProcessBot(name, 'compiler') 217 status = ProcessBot(name, 'compiler')
220 218
221 if status: 219 if status:
222 print '@@@STEP_FAILURE@@@' 220 print '@@@STEP_FAILURE@@@'
223 221
224 return status 222 return status
225 223
226 224
227 if __name__ == '__main__': 225 if __name__ == '__main__':
228 sys.exit(main()) 226 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698