summaryrefslogtreecommitdiffstats
path: root/media/media_options.gni
diff options
context:
space:
mode:
authorxhwang <xhwang@chromium.org>2015-06-25 02:17:17 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-25 09:18:23 +0000
commite70b7ee129f05a3f838f1bc92efc0a44967a5f2f (patch)
treeed0bd06652fcb450e333b4d36f36d604eb67f024 /media/media_options.gni
parentcc4a8e1227c9d931f3189a1b435074641e896d9b (diff)
downloadchromium_src-e70b7ee129f05a3f838f1bc92efc0a44967a5f2f.zip
chromium_src-e70b7ee129f05a3f838f1bc92efc0a44967a5f2f.tar.gz
chromium_src-e70b7ee129f05a3f838f1bc92efc0a44967a5f2f.tar.bz2
media: Enable MojoMediaApplication in the utility process.
Also refactor GN args and macros about "enable_mojo_media" to support running MojoMediaApplication in the browser process or the utility process. BUG=479935 TEST=Media plays with MojoMediaApplication running in the utility process. Review URL: https://codereview.chromium.org/1201363002 Cr-Commit-Position: refs/heads/master@{#336104}
Diffstat (limited to 'media/media_options.gni')
-rw-r--r--media/media_options.gni8
1 files changed, 6 insertions, 2 deletions
diff --git a/media/media_options.gni b/media/media_options.gni
index 746b541..cd7440a 100644
--- a/media/media_options.gni
+++ b/media/media_options.gni
@@ -45,8 +45,12 @@ declare_args() {
# default since it's not available on the normal Web Platform and costs money.
enable_mpeg2ts_stream_parser = false
- # Experiment to enable mojo based media renderer: http://crbug.com/431776
- enable_media_mojo_renderer = false
+ # Experiment to enable mojo media application: http://crbug.com/431776
+ # Valid options are:
+ # - "none": Do not use mojo media application.
+ # - "browser": Use mojo media application hosted in the browser process.
+ # - "utility": Use mojo media application hosted in the utility process.
+ enable_mojo_media = "none"
# TODO(GYP): This should be a platform define.
is_openbsd = false