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

Side by Side Diff: media/media_options.gni

Issue 2115603002: Use FFmpegVideoDecoder from a UtilityProcess (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error on win Created 4 years 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//testing/libfuzzer/fuzzer_test.gni") 7 import("//testing/libfuzzer/fuzzer_test.gni")
8 8
9 declare_args() { 9 declare_args() {
10 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of 10 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 use_pulseaudio = true 67 use_pulseaudio = true
68 } 68 }
69 } 69 }
70 } 70 }
71 71
72 declare_args() { 72 declare_args() {
73 # Experiment to enable mojo media services (e.g. "renderer", "cdm", see 73 # Experiment to enable mojo media services (e.g. "renderer", "cdm", see
74 # |mojo_media_services|). When enabled, selected mojo paths will be enabled in 74 # |mojo_media_services|). When enabled, selected mojo paths will be enabled in
75 # the media pipeline and corresponding services will hosted in the selected 75 # the media pipeline and corresponding services will hosted in the selected
76 # remote process (e.g. "utility" process, see |mojo_media_host|). 76 # remote process (e.g. "utility" process, see |mojo_media_host|).
77 enable_mojo_media = is_android || is_chromecast 77 enable_mojo_media = is_android || is_chromecast || is_desktop_linux
78 78
79 # Enable the TestMojoMediaClient to be used in mojo MediaService. This is for 79 # Enable the TestMojoMediaClient to be used in mojo MediaService. This is for
80 # testing only and will override the default platform MojoMediaClient, if any. 80 # testing only and will override the default platform MojoMediaClient, if any.
81 enable_test_mojo_media_client = false 81 enable_test_mojo_media_client = false
82 } 82 }
83 83
84 # Use a second declare_args() to pick up possible overrides of enable_mojo_media 84 # Use a second declare_args() to pick up possible overrides of enable_mojo_media
85 # from --args command line flags. See "gn help declare_args". 85 # from --args command line flags. See "gn help declare_args".
86 declare_args() { 86 declare_args() {
87 # A list of mojo media services that should be used in the media pipeline. 87 # A list of mojo media services that should be used in the media pipeline.
(...skipping 24 matching lines...) Expand all
112 "cdm", 112 "cdm",
113 "audio_decoder", 113 "audio_decoder",
114 ] 114 ]
115 mojo_media_host = "gpu" 115 mojo_media_host = "gpu"
116 } else if (is_chromecast) { 116 } else if (is_chromecast) {
117 mojo_media_services = [ 117 mojo_media_services = [
118 "cdm", 118 "cdm",
119 "renderer", 119 "renderer",
120 ] 120 ]
121 mojo_media_host = "browser" 121 mojo_media_host = "browser"
122 } else if (is_desktop_linux) {
sandersd (OOO until July 31) 2016/12/15 00:38:02 |is_desktop_linux| seems to be defined as |current
123 mojo_media_services = [ "video_decoder" ]
124 mojo_media_host = "utility"
122 } else { 125 } else {
123 mojo_media_services = [ "video_decoder" ] 126 mojo_media_services = [ "video_decoder" ]
sandersd (OOO until July 31) 2016/12/15 00:38:02 Do you plan to expand past desktop linux eventuall
124 mojo_media_host = "gpu" 127 mojo_media_host = "gpu"
125 } 128 }
126 } 129 }
127 } 130 }
128 131
129 declare_args() { 132 declare_args() {
130 # This switch defines whether the Media Remoting implementation will be built. 133 # This switch defines whether the Media Remoting implementation will be built.
131 # When enabled, media is allowed to be renderer and played back on remote 134 # When enabled, media is allowed to be renderer and played back on remote
132 # devices when the tab is being casted and other conditions are met. 135 # devices when the tab is being casted and other conditions are met.
133 enable_media_remoting = !is_chromecast && !is_ios && !is_android 136 enable_media_remoting = !is_chromecast && !is_ios && !is_android
134 } 137 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698