blob: e49186be9c23f1e6ebd618926fbc8bcdfbcccb45 [file] [log] [blame]
Jamie Gennis2da489c2012-09-19 18:06:29 -07001The trace-viewer directory contains code from:
Jamie Gennis92791472012-03-05 17:33:58 -08002
Jamie Gennis2da489c2012-09-19 18:06:29 -07003 http://trace-viewer.googlecode.com/svn/trunk/
Jamie Gennisd1270ce2012-05-06 13:27:13 -07004
Jamie Gennis2da489c2012-09-19 18:06:29 -07005The file UPSTREAM_REVISION contains the upstream revision number that was last
6pulled. Changes should be made upstream and then pulled into the trace-viewer
7directory.
Jamie Gennisd1270ce2012-05-06 13:27:13 -07008
Jamie Gennis2da489c2012-09-19 18:06:29 -07009The update.py script should be used to pull the latest upstream code, update
10the UPSTREAM_REVISION file, and package the CSS and Javascript files into
11style.css and script.js, respectively. These generated files are being checked
12into the git repository, and they get embedded in each trace HTML file that
13systrace.py generates.
14
15To make development of trace-viewer code in the context of systrace easier,
16systrace supports arguments to generate HTML files that link to files in a
17trace-viewer development directory rather than embedding the JS and CSS in the
18HTML. Do take advantage of this, you should check out the trace-viewer code in
19a new directory (e.g. trace-viewer-dev) and use systrace as follows:
20
21 $ ./systrace.py --link-assets --asset-dir trace-viewer-dev
22