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

Side by Side Diff: media/media_options.gni

Issue 2434673002: media: Rename MojoMediaApplication to MediaService (Closed)
Patch Set: media: Rename MojoMediaApplication to MediaService Created 4 years, 2 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 | « media/gpu/BUILD.gn ('k') | media/mojo/services/BUILD.gn » ('j') | 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.
86 # - "audio_decoder": Use mojo-based audio decoder in the default media 86 # - "audio_decoder": Use mojo-based audio decoder in the default media
87 # Renderer. Cannot be used with the mojo Renderer above. 87 # Renderer. Cannot be used with the mojo Renderer above.
88 # - "video_decoder": Use mojo-based video decoder in the default media 88 # - "video_decoder": Use mojo-based video decoder in the default media
89 # Renderer. Cannot be used with the mojo Renderer above. 89 # Renderer. Cannot be used with the mojo Renderer above.
90 mojo_media_services = [] 90 mojo_media_services = []
91 91
92 # The process to host the mojo media application. 92 # The process to host the mojo media service.
93 # Valid options are: 93 # Valid options are:
94 # - "none": Do not use mojo media application. 94 # - "none": Do not use mojo media service.
95 # - "browser": Use mojo media application hosted in the browser process. 95 # - "browser": Use mojo media service hosted in the browser process.
96 # - "gpu": Use mojo media application hosted in the gpu process. 96 # - "gpu": Use mojo media service hosted in the gpu process.
97 # - "utility": Use mojo media application hosted in the utility process. 97 # - "utility": Use mojo media service hosted in the utility process.
98 mojo_media_host = "none" 98 mojo_media_host = "none"
99 99
100 # Default mojo_media_services and mojo_media_host on various platforms. 100 # Default mojo_media_services and mojo_media_host on various platforms.
101 # Can be overridden by gn build arguments from the --args command line flag 101 # Can be overridden by gn build arguments from the --args command line flag
102 # for local testing. 102 # for local testing.
103 if (enable_mojo_media) { 103 if (enable_mojo_media) {
104 if (is_android) { 104 if (is_android) {
105 mojo_media_services = [ 105 mojo_media_services = [
106 "cdm", 106 "cdm",
107 "audio_decoder", 107 "audio_decoder",
(...skipping 11 matching lines...) Expand all
119 } 119 }
120 } 120 }
121 } 121 }
122 122
123 declare_args() { 123 declare_args() {
124 # This switch defines whether the Media Remoting implementation will be built. 124 # This switch defines whether the Media Remoting implementation will be built.
125 # When enabled, media is allowed to be renderer and played back on remote 125 # When enabled, media is allowed to be renderer and played back on remote
126 # devices when the tab is being casted and other conditions are met. 126 # devices when the tab is being casted and other conditions are met.
127 enable_media_remoting = !is_chromecast && !is_ios && !is_android 127 enable_media_remoting = !is_chromecast && !is_ios && !is_android
128 } 128 }
OLDNEW
« no previous file with comments | « media/gpu/BUILD.gn ('k') | media/mojo/services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698