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

Unified Diff: sky/engine/build/scripts/make_event_factory.py

Issue 879743004: Remove the EventFactory machinery. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | sky/engine/build/scripts/scripts.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/build/scripts/make_event_factory.py
diff --git a/sky/engine/build/scripts/make_event_factory.py b/sky/engine/build/scripts/make_event_factory.py
index 7d241f8adc944477825a05c60defb8ab7d8c8a94..7f9ca8e8836d974cf9431da6f8dc86bb593efc98 100755
--- a/sky/engine/build/scripts/make_event_factory.py
+++ b/sky/engine/build/scripts/make_event_factory.py
@@ -64,18 +64,6 @@ 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)
- def generate_implementation(self):
- return {
- 'namespace': self.namespace,
- 'suffix': self.suffix,
- 'events': self.in_file.name_dictionaries,
- }
-
if __name__ == "__main__":
name_macros.Maker(EventFactoryWriter).main(sys.argv)
« no previous file with comments | « no previous file | sky/engine/build/scripts/scripts.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698