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

Unified Diff: tools/binary_size/create_html_breakdown.py

Issue 2801663003: //tools/binary_size: Add Disassemble() to console.py. Tweak metadata. (Closed)
Patch Set: Review comments Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/binary_size/console.py ('k') | tools/binary_size/describe.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/binary_size/create_html_breakdown.py
diff --git a/tools/binary_size/create_html_breakdown.py b/tools/binary_size/create_html_breakdown.py
index 4f62031626b0d833de940baa2ab90f9a4a8253e5..44a6d1111d31d2a44805a4d4a693a51ab9209535 100755
--- a/tools/binary_size/create_html_breakdown.py
+++ b/tools/binary_size/create_html_breakdown.py
@@ -14,6 +14,7 @@ import sys
import helpers
import map2size
+import paths
# Node dictionary keys. These are output in json read by the webapp so
@@ -176,10 +177,11 @@ def main(argv):
'space)')
parser.add_argument('--include-symbols', action='store_true',
help='Use per-symbol granularity rather than per-file.')
- map2size.AddOptions(parser)
+ paths.AddOptions(parser)
args = helpers.AddCommonOptionsAndParseArgs(parser, argv)
- size_info = map2size.AnalyzeWithArgs(args, args.input_file)
+ lazy_paths = paths.LazyPaths(args=args, input_file=args.input_file)
+ size_info = map2size.Analyze(args.input_file, lazy_paths)
symbols = size_info.symbols
if not args.include_bss:
symbols = symbols.WhereInSection('b').Inverted()
« no previous file with comments | « tools/binary_size/console.py ('k') | tools/binary_size/describe.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698