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

Side by Side Diff: media/media_options.gni

Issue 2279863003: [chromecast] Enables mojo:media everywhere. (Closed)
Patch Set: rebase Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 use_pulseaudio = true 65 use_pulseaudio = true
66 } 66 }
67 } 67 }
68 } 68 }
69 69
70 declare_args() { 70 declare_args() {
71 # Experiment to enable mojo media services (e.g. "renderer", "cdm", see 71 # Experiment to enable mojo media services (e.g. "renderer", "cdm", see
72 # |mojo_media_services|). When enabled, selected mojo paths will be enabled in 72 # |mojo_media_services|). When enabled, selected mojo paths will be enabled in
73 # the media pipeline and corresponding services will hosted in the selected 73 # the media pipeline and corresponding services will hosted in the selected
74 # remote process (e.g. "utility" process, see |mojo_media_host|). 74 # remote process (e.g. "utility" process, see |mojo_media_host|).
75 enable_mojo_media = is_android || (is_chromecast && !is_cast_desktop_build) 75 enable_mojo_media = is_android || is_chromecast
76 } 76 }
77 77
78 # Use a second declare_args() to pick up possible overrides of enable_mojo_media 78 # Use a second declare_args() to pick up possible overrides of enable_mojo_media
79 # from --args command line flags. See "gn help declare_args". 79 # from --args command line flags. See "gn help declare_args".
80 declare_args() { 80 declare_args() {
81 # A list of mojo media services that should be used in the media pipeline. 81 # A list of mojo media services that should be used in the media pipeline.
82 # Must not be empty if |enable_mojo_media| is true. 82 # Must not be empty if |enable_mojo_media| is true.
83 # Valid entries in the list are: 83 # Valid entries in the list are:
84 # - "renderer": Use mojo-based media Renderer service. 84 # - "renderer": Use mojo-based media Renderer service.
85 # - "cdm": Use mojo-based Content Decryption Module. 85 # - "cdm": Use mojo-based Content Decryption Module.
(...skipping 26 matching lines...) Expand all
112 "cdm", 112 "cdm",
113 "renderer", 113 "renderer",
114 ] 114 ]
115 mojo_media_host = "browser" 115 mojo_media_host = "browser"
116 } else { 116 } else {
117 mojo_media_services = [ "video_decoder" ] 117 mojo_media_services = [ "video_decoder" ]
118 mojo_media_host = "gpu" 118 mojo_media_host = "gpu"
119 } 119 }
120 } 120 }
121 } 121 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698