DescriptionUpdate run_mojo_media_renderer.py for shell and service changes.
Updates the script to handle recent changes:
html_viewer has moved to components.
kiosk_wm is run by default.
services built locally, don't need origin mapping?
avoid html_document.cc:150 Check failed: !is_headless_
--args-for is deprecated (pass app args as shell args)
Also update mojo_media_application.cc arg init.
Tested that this works with:
gn gen out/Debug --args='is_debug=true use_goma=true proprietary_codecs=true ffmpeg_branding="ChromeOS" enable_media_mojo_renderer=true'
ninja -C out/Debug/ -j 1500 -l 10 mojo media/mojo/services components/html_viewer mojo/services/network
media/mojo/scripts/run_mojo_media_renderer.py --build-dir out/Debug --verbose http://wxh.kir/ensemble/kqed.html
BUG=NONE
TEST=Script works (or closer to working...)
R=sky@chromium.org,xhwang@chromium.org
Committed: https://crrev.com/5ea51a1f1ce3b2e200fc95b232120c1582f31eab
Cr-Commit-Position: refs/heads/master@{#326690}
Patch Set 1 #Patch Set 2 : Append shell and app arguments correctly. #Patch Set 3 : Remove unnecessary origin and mapping args, broken headless flag; update comments. #
Total comments: 2
Patch Set 4 : Inline --enable-mojo-media-renderer option. #
Total comments: 4
Patch Set 5 : Combine --vmodule switches for html_viewer and media; update comment. #Patch Set 6 : Remove out of date base::CommandLine init. #
Messages
Total messages: 19 (6 generated)
|