Commit 04d740fb authored by xhwang's avatar xhwang Committed by Commit bot

media: Enable logging for mojo services in run_mojo_media_renderer.py.

TBR=mikhal1@chromium.org
BUG=410451

Review URL: https://codereview.chromium.org/1003333002

Cr-Commit-Position: refs/heads/master@{#320644}
parent 3d4669df
......@@ -30,17 +30,23 @@ def _BuildShellCommand(args):
shell_command = [os.path.join(build_dir, "mojo_shell")]
options = []
options.append(
"--origin=https://storage.googleapis.com/mojo/services/linux-x64/%s" %
sdk_version)
options.append("--url-mappings=mojo:html_viewer=file://%s/html_viewer.mojo,"
"mojo:media=file://%s/media.mojo" % (build_dir, build_dir))
args_for_html_viewer = "--enable-mojo-media-renderer --is-headless "
if args.verbose:
args_for_html_viewer += \
"--vmodule=pipeline*=3,*renderer_impl*=3,*mojo_demuxer*=3"
options.append("--args-for=mojo:html_viewer %s" % args_for_html_viewer)
if args.verbose:
args_for_media = "--vmodule=mojo*service=3"
options.append("--args-for=mojo:media %s" % args_for_media)
full_command = shell_command + options + [args.url]
if args.verbose:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment