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) |