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

Side by Side Diff: tools/skpdiff/generate_pmetric_tables.py

Issue 19608005: move skpdiff into tools (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « tools/skpdiff/diff_viewer.js ('k') | tools/skpdiff/skpdiff_main.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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()
OLDNEW
« no previous file with comments | « tools/skpdiff/diff_viewer.js ('k') | tools/skpdiff/skpdiff_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698