OLD | NEW |
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
| 122 |
| 123 declare_args() { |
| 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 |
| 126 # devices when the tab is being casted and other conditions are met. |
| 127 enable_media_remoting = !is_chromecast && !is_ios && !is_android |
| 128 } |
OLD | NEW |