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

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: 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 698205b72670aaa69324d59799f1cffd4ec3ab7a..34a46c9f68740b443a74b22c64725ebd4c131b25 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