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

Side by Side Diff: infra/bots/recipe_modules/core/resources/run_binary_size_analysis.py

Issue 2198173002: Re-organize Skia recipes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix missing dependency Created 4 years, 4 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/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
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())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698