OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # -*- coding: utf-8 -*- | 2 # -*- coding: utf-8 -*- |
3 | 3 |
4 from __future__ import print_function | 4 from __future__ import print_function |
5 from math import * | 5 from math import * |
6 | 6 |
7 | 7 |
8 COPYRIGHT = '''/* | 8 COPYRIGHT = '''/* |
9 * Copyright 2013 Google Inc. | 9 * Copyright 2013 Google Inc. |
10 * | 10 * |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 | 140 |
141 | 141 |
142 def main(): | 142 def main(): |
143 pmetric_util_out = open('SkPMetricUtil_generated.h', 'wb') | 143 pmetric_util_out = open('SkPMetricUtil_generated.h', 'wb') |
144 generate_lookup_tables(pmetric_util_out) | 144 generate_lookup_tables(pmetric_util_out) |
145 pmetric_util_out.close() | 145 pmetric_util_out.close() |
146 | 146 |
147 | 147 |
148 if __name__ == '__main__': | 148 if __name__ == '__main__': |
149 main() | 149 main() |
OLD | NEW |