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

Unified Diff: tools/utils.py

Issue 11825012: Fix for go.sh breaking because the dart binary in /testing hasn't been updated. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: tools/utils.py
diff --git a/tools/utils.py b/tools/utils.py
index dee1c8a2a538f7afc65278ed92e6d346293c6922..c1305b598d076f38c15ca5170d266ab0f906f86a 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -319,6 +319,12 @@ def DartBinary():
return os.path.join(dart_binary_prefix, GuessOS(), 'dart')
+def DartSdkBinary():
+ tools_dir = os.path.dirname(os.path.realpath(__file__))
blois 2013/01/09 00:44:48 This directs to the sdk directory which in term di
Andrei Mouravski 2013/01/09 15:33:45 I'm confused, where should it point? On 2013/01/0
+ dart_binary_prefix = os.path.join(tools_dir, '..', 'sdk' , 'bin')
+ return os.path.join(dart_binary_prefix, 'dart')
+
+
if __name__ == "__main__":
import sys
Main(sys.argv)
« tools/dom/scripts/dartdomgenerator.py ('K') | « tools/dom/scripts/dartdomgenerator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698