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

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

Issue 1763213002: Change scripts to avoid generating things that bloat the compiled code (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add annotation for Notification.data Created 4 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/dartmetadata.py ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/generator.py
diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py
index a5488b255af3f3d4bc049008f825d20c45decfa1..85e0d9ef190fa644ba381a93115d15751dfe22c1 100644
--- a/tools/dom/scripts/generator.py
+++ b/tools/dom/scripts/generator.py
@@ -1378,6 +1378,11 @@ _idl_type_registry = monitored.Dict('generator._idl_type_registry', {
'SVGTransform': TypeData(clazz='SVGTearOff', native_type="SVGPropertyTearOff<SVGTransform>"),
'SVGTransformList': TypeData(clazz='SVGTearOff', item_type='SVGTransform',
native_type='SVGTransformListPropertyTearOff'),
+
+ # TODO(alanknight): A better way to handle typedef ordering issues.
+ 'DOMHighResTimeStamp': TypeData(clazz='Primitive', dart_type='num', native_type='double'),
+ 'PerformanceEntryList': TypeData(clazz='Interface', dart_type='List<PerformanceEntry>'),
+ 'JSON': TypeData(clazz='Primitive', dart_type='Object'),
})
_svg_supplemental_includes = [
« no previous file with comments | « tools/dom/scripts/dartmetadata.py ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698