| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Generate a spatial analysis against an arbitrary library. | 6 """Generate a spatial analysis against an arbitrary library. |
| 7 | 7 |
| 8 Adapted for Skia's use case from | 8 Adapted for Skia's use case from |
| 9 chromium/src/tools/binary_size/run_binary_size_analysis.py. Main changes: | 9 chromium/src/tools/binary_size/run_binary_size_analysis.py. Main changes: |
| 10 | 10 |
| (...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 808 else: | 808 else: |
| 809 # Just a guess. Hopefully all paths in the input file are absolute. | 809 # Just a guess. Hopefully all paths in the input file are absolute. |
| 810 symbol_path_origin_dir = os.path.abspath(os.getcwd()) | 810 symbol_path_origin_dir = os.path.abspath(os.getcwd()) |
| 811 DumpCompactTree(symbols, symbol_path_origin_dir, opts.githash, | 811 DumpCompactTree(symbols, symbol_path_origin_dir, opts.githash, |
| 812 opts.commit_ts, opts.issue_number, opts.gsutil_path) | 812 opts.commit_ts, opts.issue_number, opts.gsutil_path) |
| 813 print 'Report data uploaded to GS.' | 813 print 'Report data uploaded to GS.' |
| 814 | 814 |
| 815 | 815 |
| 816 if __name__ == '__main__': | 816 if __name__ == '__main__': |
| 817 sys.exit(main()) | 817 sys.exit(main()) |
| OLD | NEW |