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

Unified Diff: tools/utils.py

Issue 9133019: bot: fix to get appropriate executable in windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/utils.py
diff --git a/tools/utils.py b/tools/utils.py
index 08cb2a6805365972f02d69ef7ce453889be78e3c..8f4a83ea90e9c47925a4d495d5e42013458020ca 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -119,7 +119,10 @@ def GetDartRunner(mode, arch, component):
elif component == 'frogsh':
return os.path.join(build_root, 'frog', 'bin', 'frogsh')
else:
- return os.path.join(build_root, 'dart')
+ suffix = ''
+ if IsWindows():
+ suffix = '.exe'
+ return os.path.join(build_root, 'dart') + suffix
# Mapping table between build mode and build configuration.
« 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