| 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 26 matching lines...) Expand all Loading... |
| 37 # it only provides demuxing, and is only useful for AC3/EAC3 audio | 37 # it only provides demuxing, and is only useful for AC3/EAC3 audio |
| 38 # pass-through to HDMI sink on Chromecast. | 38 # pass-through to HDMI sink on Chromecast. |
| 39 enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast | 39 enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast |
| 40 | 40 |
| 41 enable_mse_mpeg2ts_stream_parser = | 41 enable_mse_mpeg2ts_stream_parser = |
| 42 (proprietary_codecs && is_chromecast) || use_libfuzzer || use_afl | 42 (proprietary_codecs && is_chromecast) || use_libfuzzer || use_afl |
| 43 | 43 |
| 44 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the | 44 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the |
| 45 # platform. Enable by default for Chromecast. | 45 # platform. Enable by default for Chromecast. |
| 46 enable_hevc_demuxing = proprietary_codecs && is_chromecast | 46 enable_hevc_demuxing = proprietary_codecs && is_chromecast |
| 47 |
| 48 enable_webrtc = !is_ios |
| 47 } | 49 } |
| 48 | 50 |
| 49 # Use a second declare_args() to pick up possible overrides of |use_cras|. | 51 # Use a second declare_args() to pick up possible overrides of |use_cras|. |
| 50 declare_args() { | 52 declare_args() { |
| 51 # Enables runtime selection of PulseAudio library. | 53 # Enables runtime selection of PulseAudio library. |
| 52 use_pulseaudio = false | 54 use_pulseaudio = false |
| 53 | 55 |
| 54 # Enables runtime selection of ALSA library for audio. | 56 # Enables runtime selection of ALSA library for audio. |
| 55 use_alsa = false | 57 use_alsa = false |
| 56 | 58 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 } | 125 } |
| 124 } | 126 } |
| 125 } | 127 } |
| 126 | 128 |
| 127 declare_args() { | 129 declare_args() { |
| 128 # This switch defines whether the Media Remoting implementation will be built. | 130 # This switch defines whether the Media Remoting implementation will be built. |
| 129 # When enabled, media is allowed to be renderer and played back on remote | 131 # When enabled, media is allowed to be renderer and played back on remote |
| 130 # devices when the tab is being casted and other conditions are met. | 132 # devices when the tab is being casted and other conditions are met. |
| 131 enable_media_remoting = !is_chromecast && !is_ios && !is_android | 133 enable_media_remoting = !is_chromecast && !is_ios && !is_android |
| 132 } | 134 } |
| OLD | NEW |