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

Unified Diff: sky/tools/skydb

Issue 1065723003: Teach skydb about the --trace-startup flag (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/skydb
diff --git a/sky/tools/skydb b/sky/tools/skydb
index 6160030e48ceee4b422c19374f2f80b7a8e80fce..f8757f2557f430964e5dfc112f152ca042926d3c 100755
--- a/sky/tools/skydb
+++ b/sky/tools/skydb
@@ -113,6 +113,9 @@ class SkyDebugger(object):
shell_args.append(
'--args-for=mojo:window_manager %s' % self._url_from_args(args))
+ if args.trace_startup:
+ shell_args.append('--trace-startup')
+
# Map all mojo: urls to http: urls using the --origin command.
build_dir_url = SkyServer.url_for_path(
remote_server_port,
@@ -566,6 +569,7 @@ class SkyDebugger(object):
default=DEFAULT_URL)
start_parser.add_argument('--show-command', action='store_true',
help='Display the shell command and exit')
+ start_parser.add_argument('--trace-startup', action='store_true')
start_parser.set_defaults(func=self.start_command)
stop_parser = subparsers.add_parser('stop',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698