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/headless_build.gni") | 6 import("//build/config/headless_build.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 |
11 # prevents silent errors. | 11 # prevents silent errors. |
12 link_pulseaudio = false | 12 link_pulseaudio = false |
13 | 13 |
14 # Enable usage of FFmpeg within the media library. Used for most software | 14 # Enable usage of FFmpeg within the media library. Used for most software |
15 # based decoding, demuxing, and sometimes optimized FFTs. If disabled, | 15 # based decoding, demuxing, and sometimes optimized FFTs. If disabled, |
16 # implementors must provide their own demuxers and decoders. | 16 # implementors must provide their own demuxers and decoders. |
17 media_use_ffmpeg = true | 17 media_use_ffmpeg = true |
18 | 18 |
19 # Enable usage of libvpx within the media library. Used for software based | 19 # Enable usage of libvpx within the media library. Used for software based |
20 # decoding of VP9 and VP8A type content. | 20 # decoding of VP9 and VP8A type content. |
21 media_use_libvpx = true | 21 media_use_libvpx = true |
22 | 22 |
23 # Enable libwebm for multiplexing video and audio for JS recording API. | 23 # Neither Android nor iOS use ffmpeg, libvpx. |
24 media_use_libwebm = true | |
25 | |
26 # Neither Android nor iOS use ffmpeg, libvpx nor libwebm. | |
27 if (is_android || is_ios) { | 24 if (is_android || is_ios) { |
28 media_use_ffmpeg = false | 25 media_use_ffmpeg = false |
29 media_use_libvpx = false | 26 media_use_libvpx = false |
30 media_use_libwebm = false | |
31 } | 27 } |
32 | 28 |
33 # Override to dynamically link the cras (ChromeOS audio) library. | 29 # Override to dynamically link the cras (ChromeOS audio) library. |
34 use_cras = false | 30 use_cras = false |
35 | 31 |
36 # Enables runtime selection of PulseAudio library. | 32 # Enables runtime selection of PulseAudio library. |
37 use_pulseaudio = false | 33 use_pulseaudio = false |
38 | 34 |
39 # Enables runtime selection of ALSA library for audio. | 35 # Enables runtime selection of ALSA library for audio. |
40 use_alsa = false | 36 use_alsa = false |
(...skipping 24 matching lines...) Expand all Loading... |
65 # Valid options are: | 61 # Valid options are: |
66 # - "none": Do not use mojo media application. | 62 # - "none": Do not use mojo media application. |
67 # - "browser": Use mojo media application hosted in the browser process. | 63 # - "browser": Use mojo media application hosted in the browser process. |
68 # - "gpu": Use mojo media application hosted in the gpu process. | 64 # - "gpu": Use mojo media application hosted in the gpu process. |
69 # - "utility": Use mojo media application hosted in the utility process. | 65 # - "utility": Use mojo media application hosted in the utility process. |
70 enable_mojo_media = "none" | 66 enable_mojo_media = "none" |
71 | 67 |
72 # TODO(GYP): This should be a platform define. | 68 # TODO(GYP): This should be a platform define. |
73 is_openbsd = false | 69 is_openbsd = false |
74 } | 70 } |
OLD | NEW |