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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 (proprietary_codecs && is_chromecast) || use_libfuzzer || use_afl | 42 (proprietary_codecs && is_chromecast) || use_libfuzzer || use_afl |
43 | 43 |
44 # Enable support for the 'cbcs' encryption scheme added by MPEG Common | 44 # Enable support for the 'cbcs' encryption scheme added by MPEG Common |
45 # Encryption 3rd Edition (ISO/IEC 23001-7), published 02/15/2016. | 45 # Encryption 3rd Edition (ISO/IEC 23001-7), published 02/15/2016. |
46 enable_cbcs_encryption_scheme = is_chromecast | 46 enable_cbcs_encryption_scheme = is_chromecast |
47 | 47 |
48 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the | 48 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the |
49 # platform. Enable by default for Chromecast. | 49 # platform. Enable by default for Chromecast. |
50 enable_hevc_demuxing = proprietary_codecs && is_chromecast | 50 enable_hevc_demuxing = proprietary_codecs && is_chromecast |
51 | 51 |
| 52 # Enable Dolby Vision demuxing. Enable by default for Chromecast. Actual |
| 53 # decoding must be provided by the platform. Note some Dolby Vision profiles |
| 54 # which are encoded using HEVC require |enable_hevc_demuxing| to be enabled. |
| 55 enable_dolby_vision_demuxing = |
| 56 proprietary_codecs && is_chromecast && !is_android |
| 57 |
52 enable_webrtc = !is_ios && !is_cast_audio_only | 58 enable_webrtc = !is_ios && !is_cast_audio_only |
53 | 59 |
54 # Enable HLS with SAMPLE-AES decryption. | 60 # Enable HLS with SAMPLE-AES decryption. |
55 # Enabled by default on the cast desktop implementation to allow unit tests of | 61 # Enabled by default on the cast desktop implementation to allow unit tests of |
56 # MP2TS parsing support. | 62 # MP2TS parsing support. |
57 enable_hls_sample_aes = proprietary_codecs && is_cast_desktop_build | 63 enable_hls_sample_aes = proprietary_codecs && is_cast_desktop_build |
58 } | 64 } |
59 | 65 |
60 # enable_hls_sample_aes can only be true if enable_mse_mpeg2ts_stream_parser is. | 66 # enable_hls_sample_aes can only be true if enable_mse_mpeg2ts_stream_parser is. |
61 assert(enable_mse_mpeg2ts_stream_parser || !enable_hls_sample_aes) | 67 assert(enable_mse_mpeg2ts_stream_parser || !enable_hls_sample_aes) |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 } | 168 } |
163 } | 169 } |
164 } | 170 } |
165 | 171 |
166 declare_args() { | 172 declare_args() { |
167 # This switch defines whether the Media Remoting implementation will be built. | 173 # This switch defines whether the Media Remoting implementation will be built. |
168 # When enabled, media is allowed to be renderer and played back on remote | 174 # When enabled, media is allowed to be renderer and played back on remote |
169 # devices when the tab is being casted and other conditions are met. | 175 # devices when the tab is being casted and other conditions are met. |
170 enable_media_remoting = !is_chromecast && !is_ios && !is_android | 176 enable_media_remoting = !is_chromecast && !is_ios && !is_android |
171 } | 177 } |
OLD | NEW |