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

Unified Diff: tools/dom/scripts/dartdomgenerator.py

Issue 609403004: Removed old IDL parser and peg parser code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More code cleanup Created 6 years, 3 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 | tools/dom/scripts/database.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/dartdomgenerator.py
diff --git a/tools/dom/scripts/dartdomgenerator.py b/tools/dom/scripts/dartdomgenerator.py
index 896bb2588faa0057112dab3db78593de4261eb3a..cc0d07c41aff556d7c033fb9781a6190c2f1117d 100755
--- a/tools/dom/scripts/dartdomgenerator.py
+++ b/tools/dom/scripts/dartdomgenerator.py
@@ -219,9 +219,6 @@ def main():
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.')
parser.add_option('--systems', dest='systems',
action='store', type='string',
default='htmldart2js,htmldartium',
@@ -239,9 +236,6 @@ def main():
action='store_true',
default=False,
help='''Update the metadata list of DOM APIs''')
- parser.add_option('--blink-parser', dest='blink_parser',
- action='store_true', default=False,
- help='Use New Blink IDL parser.')
parser.add_option('--verbose', dest='logging_level',
action='store_false', default=logging.WARNING,
help='Output all informational messages')
@@ -274,15 +268,8 @@ def main():
UpdateCssProperties()
- if options.rebuild:
- # Parse the IDL and create the database.
- database = fremontcutbuilder.main(options.parallel, options.blink_parser,
- logging_level=logging_level)
- else:
- # TODO(terry): Should be able to remove this...
- # Load the previously generated database.
- if not options.blink_parser:
- database = LoadDatabase(database_dir, options.use_database_cache)
+ # Parse the IDL and create the database.
+ database = fremontcutbuilder.main(options.parallel, logging_level=logging_level)
GenerateFromDatabase(database, dart2js_output_dir, dartium_output_dir,
options.update_dom_metadata, logging_level)
« no previous file with comments | « no previous file | tools/dom/scripts/database.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698