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

Unified Diff: lib/html/scripts/dartdomgenerator.py

Issue 11033049: Make fremontcut serial by default (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 8 years, 2 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 | lib/html/scripts/databasebuilder.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/scripts/dartdomgenerator.py
diff --git a/lib/html/scripts/dartdomgenerator.py b/lib/html/scripts/dartdomgenerator.py
index 46ae9bae32e49961bacc0e0da373c7a7cdb4b0f6..dc43468dcecbc337e326fe36e4281aca90c74d33 100755
--- a/lib/html/scripts/dartdomgenerator.py
+++ b/lib/html/scripts/dartdomgenerator.py
@@ -156,6 +156,9 @@ def GenerateSingleFile(library_path, output_dir):
def main():
parser = optparse.OptionParser()
+ parser.add_option('--parallel', dest='parallel',
+ action='store_true', default=False,
+ help='Use fremontcut in parallel mode.')
parser.add_option('--rebuild', dest='rebuild',
action='store_true', default=False,
help='Rebuild the database from IDL using fremontcut.')
@@ -189,7 +192,7 @@ def main():
if options.rebuild:
# Parse the IDL and create the database.
- database = fremontcutbuilder.main()
+ database = fremontcutbuilder.main(options.parallel)
else:
# Load the previously generated database.
database = LoadDatabase(database_dir, options.use_database_cache)
« no previous file with comments | « no previous file | lib/html/scripts/databasebuilder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698