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

Side by Side Diff: sky/engine/bindings/scripts/dart_compiler.py

Issue 915293003: Rename sky/engine/bindings2 to sky/engine/bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more better Created 5 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 unified diff | Download patch
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (C) 2013 Google Inc. All rights reserved. 2 # Copyright (C) 2013 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 for output_code, output_filename in zip(output_code_list, output_filenam es): 94 for output_code, output_filename in zip(output_code_list, output_filenam es):
95 write_file(output_code, output_filename, self.only_if_changed) 95 write_file(output_code, output_filename, self.only_if_changed)
96 96
97 def generate_dart_blink_and_write(self, global_entries, output_filename): 97 def generate_dart_blink_and_write(self, global_entries, output_filename):
98 output_code = self.code_generator.generate_dart_blink(global_entries) 98 output_code = self.code_generator.generate_dart_blink(global_entries)
99 write_file(output_code, output_filename, self.only_if_changed) 99 write_file(output_code, output_filename, self.only_if_changed)
100 100
101 @abc.abstractmethod 101 @abc.abstractmethod
102 def compile_file(self, idl_filename): 102 def compile_file(self, idl_filename):
103 pass 103 pass
OLDNEW
« no previous file with comments | « sky/engine/bindings/scripts/dart_callback_interface.py ('k') | sky/engine/bindings/scripts/dart_interface.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698