| 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 declare_args() { | 5 declare_args() { |
| 6 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of | 6 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of |
| 7 # using dlopen. This helps with automated detection of ABI mismatches and | 7 # using dlopen. This helps with automated detection of ABI mismatches and |
| 8 # prevents silent errors. | 8 # prevents silent errors. |
| 9 link_pulseaudio = false | 9 link_pulseaudio = false |
| 10 | 10 |
| 11 # Enable usage of FFmpeg within the media library. Used for most software | 11 # Enable usage of FFmpeg within the media library. Used for most software |
| 12 # based decoding, demuxing, and sometimes optimized FFTs. If disabled, | 12 # based decoding, demuxing, and sometimes optimized FFTs. If disabled, |
| 13 # implementors must provide their own demuxers and decoders. | 13 # implementors must provide their own demuxers and decoders. |
| 14 media_use_ffmpeg = true | 14 media_use_ffmpeg = true |
| 15 | 15 |
| 16 # Enable usage of libvpx within the media library. Used for software based | 16 # Enable usage of libvpx within the media library. Used for software based |
| 17 # decoding of VP9 and VP8A type content. | 17 # decoding of VP9 and VP8A type content. |
| 18 media_use_libvpx = true | 18 media_use_libvpx = true |
| 19 | 19 |
| 20 # Neither Android nor iOS use ffmpeg or libvpx. | 20 # Enable libwebm for multiplexing video and audio for JS recording API. |
| 21 media_use_libwebm = true |
| 22 |
| 23 # Neither Android nor iOS use ffmpeg, libvpx nor libwebm. |
| 21 if (is_android || is_ios) { | 24 if (is_android || is_ios) { |
| 22 media_use_ffmpeg = false | 25 media_use_ffmpeg = false |
| 23 media_use_libvpx = false | 26 media_use_libvpx = false |
| 27 media_use_libwebm = false |
| 24 } | 28 } |
| 25 | 29 |
| 26 # Override to dynamically link the cras (ChromeOS audio) library. | 30 # Override to dynamically link the cras (ChromeOS audio) library. |
| 27 use_cras = false | 31 use_cras = false |
| 28 | 32 |
| 29 # Enables runtime selection of PulseAudio library. | 33 # Enables runtime selection of PulseAudio library. |
| 30 use_pulseaudio = false | 34 use_pulseaudio = false |
| 31 | 35 |
| 32 # Enables runtime selection of ALSA library for audio. | 36 # Enables runtime selection of ALSA library for audio. |
| 33 use_alsa = false | 37 use_alsa = false |
| (...skipping 14 matching lines...) Expand all Loading... |
| 48 # Experiment to enable mojo media application: http://crbug.com/431776 | 52 # Experiment to enable mojo media application: http://crbug.com/431776 |
| 49 # Valid options are: | 53 # Valid options are: |
| 50 # - "none": Do not use mojo media application. | 54 # - "none": Do not use mojo media application. |
| 51 # - "browser": Use mojo media application hosted in the browser process. | 55 # - "browser": Use mojo media application hosted in the browser process. |
| 52 # - "utility": Use mojo media application hosted in the utility process. | 56 # - "utility": Use mojo media application hosted in the utility process. |
| 53 enable_mojo_media = "none" | 57 enable_mojo_media = "none" |
| 54 | 58 |
| 55 # TODO(GYP): This should be a platform define. | 59 # TODO(GYP): This should be a platform define. |
| 56 is_openbsd = false | 60 is_openbsd = false |
| 57 } | 61 } |
| OLD | NEW |