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

Unified Diff: Source/build/scripts/make_event_factory.py

Issue 287663003: Do not generate EventTarget.cpp which is not used in the build. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/make_event_factory.py
diff --git a/Source/build/scripts/make_event_factory.py b/Source/build/scripts/make_event_factory.py
index 6bb46b8199c13ced67c9c56ff39ad23688101345..1bd736bc4402a842f89fa093903b059e53a097aa 100755
--- a/Source/build/scripts/make_event_factory.py
+++ b/Source/build/scripts/make_event_factory.py
@@ -65,6 +65,8 @@ class EventFactoryWriter(name_macros.Writer):
def __init__(self, in_file_path):
super(EventFactoryWriter, self).__init__(in_file_path)
+ if self.namespace == 'EventTarget':
+ return
self._outputs[(self.namespace + self.suffix + ".cpp")] = self.generate_implementation
@template_expander.use_jinja('EventFactory.cpp.tmpl', filters=filters)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698