diff options
author | Dan Sinclair <dsinclair@google.com> | 2015-08-17 14:04:28 -0400 |
---|---|---|
committer | Dan Sinclair <dsinclair@google.com> | 2015-08-17 14:04:28 -0400 |
commit | cfc706a186ac6b6bb0bfb4ce7abeb87571be4ec6 (patch) | |
tree | 1dff9f2b0a018f58aeae40c78da04590ec753682 /update.py | |
parent | d09b4de6a6b12a313a36b40bb3886a4b3324d957 (diff) | |
download | chromium-trace-cfc706a186ac6b6bb0bfb4ce7abeb87571be4ec6.tar.gz |
Upgrade update.py to catapult repo changes
The trace-viewer project has moved into the catapult repo. This CL modifes
the update.py script to use the correct URL for catapult and fixes up the
build script path to work with the catapult tracing_build folder naming.
Change-Id: I2ad299ec7a097554623e70dd6bec531ba285a2b5
Signed-off-by: Dan Sinclair <dsinclair@google.com>
Diffstat (limited to 'update.py')
-rwxr-xr-x | update.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,10 +4,10 @@ import codecs, httplib, json, optparse, os, urllib, shutil, subprocess, sys output_html_file = 'systrace_trace_viewer.html' -upstream_git = 'https://github.com/google/trace-viewer.git' +upstream_git = 'https://github.com/catapult-project/catapult.git' script_dir = os.path.dirname(os.path.abspath(sys.argv[0])) -trace_viewer_dir = os.path.join(script_dir, 'trace-viewer') +trace_viewer_dir = os.path.join(script_dir, 'catapult') parser = optparse.OptionParser() parser.add_option('--local', dest='local_dir', metavar='DIR', @@ -51,10 +51,10 @@ else: # Generate the vulcanized result. -build_dir = os.path.join(trace_viewer_dir) +build_dir = os.path.join(trace_viewer_dir, 'tracing') sys.path.append(build_dir) -from tracing.build import vulcanize_trace_viewer +from tracing_build import vulcanize_trace_viewer with codecs.open(output_html_file, encoding='utf-8', mode='w') as f: vulcanize_trace_viewer.WriteTraceViewer( f, |