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

Unified Diff: tools/dom/dom.py

Issue 14732003: Implement Model-Driven-Views spec for Dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: trying upload again Created 7 years, 8 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/dom/dom.py
diff --git a/tools/dom/dom.py b/tools/dom/dom.py
index 5832af47e5ab4f6b143561bc11f7fe70088b5d1b..ff5bf997255c4be22c1ba10c62012e4a392cd5aa 100755
--- a/tools/dom/dom.py
+++ b/tools/dom/dom.py
@@ -98,8 +98,10 @@ def compile_dart2js(dart_file, checked):
def gen():
os.chdir(os.path.join('tools', 'dom', 'scripts'))
- return call([os.path.join(os.getcwd(), 'dartdomgenerator.py'),
+ result = call([os.path.join(os.getcwd(), 'dartdomgenerator.py'),
'--rebuild', '--parallel', '--systems=htmldart2js,htmldartium'])
+ os.chdir(os.path.join('..', '..', '..'))
blois 2013/05/01 17:00:42 Is this necessary? The script should reset the pat
Jennifer Messerly 2013/05/01 18:03:44 Unless init_dir was a recent addition, yeah, this
Jennifer Messerly 2013/05/01 18:11:46 I figured it out. Python __file__ is a relative pa
+ return result
def http_server():
print('Browse tests at '

Powered by Google App Engine
This is Rietveld 408576698