Index: client/tools/update.py |
diff --git a/client/tools/update.py b/client/tools/update.py |
index 364960bd3887c6054e64a2e77a21ba684ffef9d6..f73eec6e197dfb69c4e0d5e0e89174bc939e8ec9 100755 |
--- a/client/tools/update.py |
+++ b/client/tools/update.py |
@@ -25,11 +25,6 @@ def convertOne(infile, options): |
outfile = join(outDirBase, infile) |
print 'converting %s to %s' % (infile, outfile) |
- # TODO(jmesserly): this is a workaround for an OOM error in DartC |
- # See bug 5393264 |
- if options.optimize: |
- os.putenv('DART_JVMARGS', '-Xmx512m') |
- |
if 'dart' in options.target: |
htmlconverter.convertForDartium( |
infile, |
@@ -38,7 +33,7 @@ def convertOne(infile, options): |
options.verbose) |
if 'js' in options.target: |
htmlconverter.convertForChromium( |
- infile, options.optimize, options.frog, options.dartc_extra_flags, |
+ infile, options.dartc_extra_flags, |
outfile.replace('.html', '-js.html'), |
options.verbose) |
@@ -50,14 +45,6 @@ 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, |
- action="store_true") |
result.add_option("--verbose", |
help="Print verbose output", |
default=False, |