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

Unified Diff: media/mojo/scripts/run_mojo_media_renderer.py

Issue 1751713002: Remove stale mentions of mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo. Created 4 years, 9 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 | « components/url_formatter/DEPS ('k') | tools/perf/benchmarks/page_cycler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/scripts/run_mojo_media_renderer.py
diff --git a/media/mojo/scripts/run_mojo_media_renderer.py b/media/mojo/scripts/run_mojo_media_renderer.py
deleted file mode 100755
index d963e9ac46f456854b173457a29b4ce1ba7f531d..0000000000000000000000000000000000000000
--- a/media/mojo/scripts/run_mojo_media_renderer.py
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/env python
-# Copyright 2015 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-#
-# The script launches mandoline to test the mojo media renderer.
-
-import argparse
-import os
-import subprocess
-import sys
-
-
-root_path = os.path.realpath(
- os.path.join(
- os.path.dirname(
- os.path.realpath(__file__)),
- os.pardir,
- os.pardir,
- os.pardir))
-
-
-def _BuildCommand(args):
- build_dir = os.path.join(root_path, args.build_dir)
-
- runner = [os.path.join(build_dir, "mandoline")]
-
- options = ["--enable-mojo-media-renderer"]
- if args.verbose:
- options.append("--vmodule=pipeline*=3,*renderer_impl*=3,"
- "*mojo_demuxer*=3,mojo*service=3")
-
- full_command = runner + options + [args.url]
-
- if args.verbose:
- print full_command
-
- return full_command
-
-
-def main():
- parser = argparse.ArgumentParser(
- description="View a URL with Mandoline with mojo media renderer. "
- "You must have built //mandoline, //components/html_viewer, "
- "//mojo, //mojo/services/network and //media/mojo/services "
- "first.")
- parser.add_argument(
- "--build-dir",
- help="Path to the dir containing the linux-x64 binaries relative to the "
- "repo root (default: %(default)s)",
- default="out/Release")
- parser.add_argument("--verbose", help="Increase output verbosity.",
- action="store_true")
- parser.add_argument("url", help="The URL to be viewed")
-
- args = parser.parse_args()
- return subprocess.call(_BuildCommand(args))
-
-if __name__ == '__main__':
- sys.exit(main())
« no previous file with comments | « components/url_formatter/DEPS ('k') | tools/perf/benchmarks/page_cycler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698