| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |