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

Unified Diff: client/tools/update.py

Issue 8570020: Fixed update to correctly call htmlconverter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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: client/tools/update.py
diff --git a/client/tools/update.py b/client/tools/update.py
index f1e6c0b768b21c65fee3b2d8bf1daec8d36d1807..364960bd3887c6054e64a2e77a21ba684ffef9d6 100755
--- a/client/tools/update.py
+++ b/client/tools/update.py
@@ -38,7 +38,7 @@ def convertOne(infile, options):
options.verbose)
if 'js' in options.target:
htmlconverter.convertForChromium(
- infile, options.optimize, options.dartc_extra_flags,
+ infile, options.optimize, options.frog, options.dartc_extra_flags,
outfile.replace('.html', '-js.html'),
options.verbose)
@@ -50,6 +50,10 @@ def Flags():
help="The target html to generate",
metavar="[js,dart]",
default='js,dart')
+ result.add_option("--frog",
+ help="Use frog compiler (default dartc)",
+ default=False,
+ action="store_true")
result.add_option("--optimize",
help="Use optimizer in dartc",
default=False,
« 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