mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 09:22:12 +00:00
Fix javahome for pub bots
Review URL: https://codereview.chromium.org//11573003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16118 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
9e77dd7986
commit
8b9954344c
|
@ -204,18 +204,16 @@ def main():
|
|||
|
||||
#TODO(sigmund): remove this indirection once we update our bots
|
||||
(name, version) = GetBuildInfo()
|
||||
# The buildbot will set a BUILDBOT_JAVA_HOME relative to the dart
|
||||
# root directory, set JAVA_HOME based on that.
|
||||
FixJavaHome()
|
||||
if name.startswith('dart-editor'):
|
||||
# TODO (danrubel) Fix dart-editor builds so that we can call FixJavaHome() before the build
|
||||
FixJavaHome()
|
||||
status = ProcessTools('release', name, version)
|
||||
elif name.startswith('pub-'):
|
||||
status = ProcessBot(name, 'pub')
|
||||
elif name.startswith('vm-android'):
|
||||
status = ProcessBot(name, 'android')
|
||||
else:
|
||||
# The buildbot will set a BUILDBOT_JAVA_HOME relative to the dart
|
||||
# root directory, set JAVA_HOME based on that.
|
||||
FixJavaHome()
|
||||
status = ProcessBot(name, 'compiler')
|
||||
|
||||
if status:
|
||||
|
|
Loading…
Reference in a new issue