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 | 7 |
8 declare_args() { | 8 declare_args() { |
9 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of | 9 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of |
10 # using dlopen. This helps with automated detection of ABI mismatches and | 10 # using dlopen. This helps with automated detection of ABI mismatches and |
(...skipping 21 matching lines...) Expand all Loading... |
32 # Use low-memory buffers on non-Android builds of Chromecast. | 32 # Use low-memory buffers on non-Android builds of Chromecast. |
33 use_low_memory_buffer = is_chromecast && !is_android | 33 use_low_memory_buffer = is_chromecast && !is_android |
34 | 34 |
35 # Enables AC3/EAC3 audio demuxing. This is enabled only on Chromecast, since | 35 # Enables AC3/EAC3 audio demuxing. This is enabled only on Chromecast, since |
36 # it only provides demuxing, and is only useful for AC3/EAC3 audio | 36 # it only provides demuxing, and is only useful for AC3/EAC3 audio |
37 # pass-through to HDMI sink on Chromecast. | 37 # pass-through to HDMI sink on Chromecast. |
38 enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast | 38 enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast |
39 | 39 |
40 enable_mse_mpeg2ts_stream_parser = proprietary_codecs && is_chromecast | 40 enable_mse_mpeg2ts_stream_parser = proprietary_codecs && is_chromecast |
41 | 41 |
| 42 # Enable support for the 'cbcs' encryption scheme added by MPEG Common |
| 43 # Encryption 3rd Edition (ISO/IEC 23001-7), published 02/15/2016. |
| 44 enable_cbcs_encryption_scheme = is_chromecast |
| 45 |
42 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the | 46 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the |
43 # platform. Enable by default for Chromecast. | 47 # platform. Enable by default for Chromecast. |
44 enable_hevc_demuxing = proprietary_codecs && is_chromecast | 48 enable_hevc_demuxing = proprietary_codecs && is_chromecast |
45 | 49 |
46 # TODO(GYP): This should be a platform define. | 50 # TODO(GYP): This should be a platform define. |
47 is_openbsd = false | 51 is_openbsd = false |
48 } | 52 } |
49 | 53 |
50 # Use a second declare_args() to pick up possible overrides of |use_cras|. | 54 # Use a second declare_args() to pick up possible overrides of |use_cras|. |
51 declare_args() { | 55 declare_args() { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 "cdm", | 119 "cdm", |
116 "renderer", | 120 "renderer", |
117 ] | 121 ] |
118 mojo_media_host = "browser" | 122 mojo_media_host = "browser" |
119 } else { | 123 } else { |
120 mojo_media_services = [ "cdm" ] | 124 mojo_media_services = [ "cdm" ] |
121 mojo_media_host = "utility" | 125 mojo_media_host = "utility" |
122 } | 126 } |
123 } | 127 } |
124 } | 128 } |
OLD | NEW |