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

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

Issue 952133004: Changes to support roll 39 IDLs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cleanup Created 5 years, 10 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 | « tools/dom/scripts/databasebuilder.py ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/fremontcutbuilder.py
diff --git a/tools/dom/scripts/fremontcutbuilder.py b/tools/dom/scripts/fremontcutbuilder.py
index 41021bd5d0c88fc40a048e7a5f4a6847e77d55e1..b8c80a6ce5bceb16a2d406d6d92aeff75a76f7ba 100755
--- a/tools/dom/scripts/fremontcutbuilder.py
+++ b/tools/dom/scripts/fremontcutbuilder.py
@@ -9,6 +9,7 @@ import logging.config
import os.path
import sys
import time
+import utilities
_logger = logging.getLogger('fremontcutbuilder')
@@ -77,6 +78,8 @@ def build_database(idl_files, database_dir, feature_defines=None,
rename_operation_arguments_on_merge=True,
logging_level=logging_level)
+ utilities.KNOWN_COMPONENTS = frozenset(['core', 'modules', 'dart'])
+
builder.import_idl_files(
[ os.path.join(current_dir, '..', 'idl', 'dart', 'dart.idl') ],
dart_options, True)
@@ -92,6 +95,9 @@ def build_database(idl_files, database_dir, feature_defines=None,
# Cleanup:
builder.normalize_annotations(['WebKit', 'Dart'])
+ # Map any IDL defined dictionaries to Dictionary.
+ builder.map_dictionaries()
+
conditionals_met = set(
'ENABLE_' + conditional for conditional in builder.conditionals_met)
known_conditionals = set(FEATURE_DEFINES + FEATURE_DISABLED)
« no previous file with comments | « tools/dom/scripts/databasebuilder.py ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698