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

Side by Side Diff: media/media_options.gni

Issue 1800953002: Add MojoVideoDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanups. Created 4 years, 9 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
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("//build/config/headless_build.gni") 7 import("//build/config/headless_build.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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 # for testing only and will override the default platform MojoMediaClient. 78 # for testing only and will override the default platform MojoMediaClient.
79 enable_test_mojo_media_client = false 79 enable_test_mojo_media_client = false
80 } 80 }
81 81
82 # Use a second declare_args() to pick up possible overrides of enable_mojo_media 82 # Use a second declare_args() to pick up possible overrides of enable_mojo_media
83 # from --args command line flags. See "gn help declare_args". 83 # from --args command line flags. See "gn help declare_args".
84 declare_args() { 84 declare_args() {
85 # A list of mojo media services that should be used in the media pipeline. 85 # A list of mojo media services that should be used in the media pipeline.
86 # Must not be empty if |enable_mojo_media| is true. 86 # Must not be empty if |enable_mojo_media| is true.
87 # Valid entries in the list are: 87 # Valid entries in the list are:
88 # - "renderer": Use mojo based media Renderer service. 88 # - "renderer": Use mojo-based media Renderer service.
89 # - "cdm": Use mojo based Content Decryption Module. 89 # - "cdm": Use mojo based Content Decryption Module.
xhwang 2016/03/15 05:13:18 add "-" as well
sandersd (OOO until July 31) 2016/03/15 18:31:02 Done.
90 # - "audio_decoder": Use mojo based audio decoder in the default media 90 # - "audio_decoder": Use mojo-based audio decoder in the default media
91 # Renderer. Cannot be used with the mojo Renderer above. 91 # Renderer. Cannot be used with the mojo Renderer above.
92 # TODO(xhwang): Support mojo base video decoders here. 92 # - "video_decoder": Use mojo-based video decoder in the default media
93 # See http://crbug.com/542910 and http://crbug.com/522298 93 # Renderer. Cannot be used with the mojo Renderer above.
94 mojo_media_services = [] 94 mojo_media_services = []
95 95
96 # The process to host the mojo media application. 96 # The process to host the mojo media application.
97 # Valid options are: 97 # Valid options are:
98 # - "none": Do not use mojo media application. 98 # - "none": Do not use mojo media application.
99 # - "browser": Use mojo media application hosted in the browser process. 99 # - "browser": Use mojo media application hosted in the browser process.
100 # - "gpu": Use mojo media application hosted in the gpu process. 100 # - "gpu": Use mojo media application hosted in the gpu process.
101 # - "utility": Use mojo media application hosted in the utility process. 101 # - "utility": Use mojo media application hosted in the utility process.
102 mojo_media_host = "none" 102 mojo_media_host = "none"
103 103
(...skipping 12 matching lines...) Expand all
116 "cdm", 116 "cdm",
117 "renderer", 117 "renderer",
118 ] 118 ]
119 mojo_media_host = "browser" 119 mojo_media_host = "browser"
120 } else { 120 } else {
121 mojo_media_services = [ "cdm" ] 121 mojo_media_services = [ "cdm" ]
122 mojo_media_host = "utility" 122 mojo_media_host = "utility"
123 } 123 }
124 } 124 }
125 } 125 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698