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

Unified Diff: client/tools/buildbot_annotated_steps.py

Issue 27668002: Revert revisions 28764, 28756, 28754, 28751 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | editor/tools/compile_analyzer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tools/buildbot_annotated_steps.py
===================================================================
--- client/tools/buildbot_annotated_steps.py (revision 28784)
+++ client/tools/buildbot_annotated_steps.py (working copy)
@@ -15,7 +15,6 @@
import imp
import os
-import platform
import re
import socket
import subprocess
@@ -135,10 +134,7 @@
buildbot_javahome = os.getenv('BUILDBOT_JAVA_HOME')
if buildbot_javahome:
current_pwd = os.getenv('PWD')
- if platform.system() != 'Windows':
- java_home = '/usr/lib/jvm/java-6-sun' # Hackety-hack. Please remove!
- else:
- java_home = os.path.join(current_pwd, buildbot_javahome)
+ java_home = os.path.join(current_pwd, buildbot_javahome)
java_bin = os.path.join(java_home, 'bin')
os.environ['JAVA_HOME'] = java_home
os.environ['PATH'] = '%s;%s' % (java_bin, os.environ['PATH'])
« no previous file with comments | « no previous file | editor/tools/compile_analyzer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698