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

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

Issue 14367012: Move to new dart:typeddata types for dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revert generated files for html lib Created 7 years, 8 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
Index: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index a8672db99c0f572f232153b1621fa0441baa0b73..a369a606859f99045aad76048610bb38f9c5fa28 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -35,7 +35,7 @@ class DartiumBackend(HtmlDartGenerator):
return {}
def GenerateCallback(self, info):
- if IsPureInterface(self._interface.id):
+ if IsPureInterface(self._interface.id) or IsCustomType(self._interface.id):
return
cpp_impl_includes = set()
@@ -115,7 +115,7 @@ class DartiumBackend(HtmlDartGenerator):
def StartInterface(self, members_emitter):
# Create emitters for c++ implementation.
- if not IsPureInterface(self._interface.id):
+ if not IsPureInterface(self._interface.id) and not IsCustomType(self._interface.id):
self._cpp_header_emitter = self._cpp_library_emitter.CreateHeaderEmitter(
self._interface.id,
self._renamer.GetLibraryName(self._interface))

Powered by Google App Engine
This is Rietveld 408576698