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 # Neither Android nor iOS use ffmpeg, libvpx. | 23 # iOS doesn't use ffmpeg, libvpx. |
24 if (is_android || is_ios) { | 24 if (is_ios) { |
25 media_use_ffmpeg = false | 25 media_use_ffmpeg = false |
26 media_use_libvpx = false | 26 media_use_libvpx = false |
27 } | 27 } |
28 | 28 |
29 # Override to dynamically link the cras (ChromeOS audio) library. | 29 # Override to dynamically link the cras (ChromeOS audio) library. |
30 use_cras = false | 30 use_cras = false |
31 | 31 |
32 # Enables runtime selection of PulseAudio library. | 32 # Enables runtime selection of PulseAudio library. |
33 use_pulseaudio = false | 33 use_pulseaudio = false |
34 | 34 |
(...skipping 26 matching lines...) Expand all Loading... |
61 # Valid options are: | 61 # Valid options are: |
62 # - "none": Do not use mojo media application. | 62 # - "none": Do not use mojo media application. |
63 # - "browser": Use mojo media application hosted in the browser process. | 63 # - "browser": Use mojo media application hosted in the browser process. |
64 # - "gpu": Use mojo media application hosted in the gpu process. | 64 # - "gpu": Use mojo media application hosted in the gpu process. |
65 # - "utility": Use mojo media application hosted in the utility process. | 65 # - "utility": Use mojo media application hosted in the utility process. |
66 enable_mojo_media = "none" | 66 enable_mojo_media = "none" |
67 | 67 |
68 # TODO(GYP): This should be a platform define. | 68 # TODO(GYP): This should be a platform define. |
69 is_openbsd = false | 69 is_openbsd = false |
70 } | 70 } |
OLD | NEW |