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

Side by Side Diff: tracing/tracing_build/vulcanize_trace_viewer.py

Issue 1376953005: Move tracing/third_party/tvcm -> third_party/py_vulcanize. (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Created 5 years, 2 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 # Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import codecs 5 import codecs
6 import argparse 6 import argparse
7 import os 7 import os
8 import sys 8 import sys
9 9
10 import tracing_project 10 import tracing_project
11 from tvcm import generate 11 from py_vulcanize import generate
12 12
13 13
14 def Main(argv): 14 def Main(argv):
15 15
16 parser = argparse.ArgumentParser( 16 parser = argparse.ArgumentParser(
17 usage='%(prog)s <options>', 17 usage='%(prog)s <options>',
18 epilog=('Produces a standalone HTML import that contains the\n' 18 epilog=('Produces a standalone HTML import that contains the\n'
19 'trace viewer.')) 19 'trace viewer.'))
20 20
21 project = tracing_project.TracingProject() 21 project = tracing_project.TracingProject()
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 load_sequence = vulcanizer.CalcLoadSequenceForModuleNames( 75 load_sequence = vulcanizer.CalcLoadSequenceForModuleNames(
76 module_names) 76 module_names)
77 77
78 if report_deps: 78 if report_deps:
79 sys.stdout.write(vulcanizer.GetDepsGraphFromModuleNames(module_names)) 79 sys.stdout.write(vulcanizer.GetDepsGraphFromModuleNames(module_names))
80 80
81 generate.GenerateStandaloneHTMLToFile( 81 generate.GenerateStandaloneHTMLToFile(
82 output_file, load_sequence, 82 output_file, load_sequence,
83 minify=minify, report_sizes=report_sizes, 83 minify=minify, report_sizes=report_sizes,
84 output_html_head_and_body=output_html_head_and_body) 84 output_html_head_and_body=output_html_head_and_body)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698