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 |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 # TODO(GYP): How to handled the "embedded" use case? | 35 # TODO(GYP): How to handled the "embedded" use case? |
36 # Original conditional: (OS=="linux" or OS=="freebsd" or OS=="solaris") and em
bedded!=1 | 36 # Original conditional: (OS=="linux" or OS=="freebsd" or OS=="solaris") and em
bedded!=1 |
37 if (is_posix && !is_android && !is_mac) { | 37 if (is_posix && !is_android && !is_mac) { |
38 use_alsa = true | 38 use_alsa = true |
39 if (!use_cras) { | 39 if (!use_cras) { |
40 use_pulseaudio = true | 40 use_pulseaudio = true |
41 } | 41 } |
42 } | 42 } |
43 | 43 |
| 44 # Enables AC3/EAC3 audio demuxing. Disabled by default because it's only |
| 45 # demuxing, not decoding. It's of limited use (but can be used to implement |
| 46 # AC3/EAC3 audio pass-through) |
| 47 enable_ac3_eac3_audio_demuxing = false |
| 48 |
44 # Enables the MPEG2-TS stream parser for use with Media Source. Disabled by | 49 # Enables the MPEG2-TS stream parser for use with Media Source. Disabled by |
45 # default since it's not available on the normal Web Platform and costs money. | 50 # default since it's not available on the normal Web Platform and costs money. |
46 enable_mpeg2ts_stream_parser = false | 51 enable_mpeg2ts_stream_parser = false |
47 | 52 |
48 # Enables browser side Content Decryption Modules. Required for android where | 53 # Enables browser side Content Decryption Modules. Required for android where |
49 # the typical PPAPI based CDM is not available. | 54 # the typical PPAPI based CDM is not available. |
50 enable_browser_cdms = is_android | 55 enable_browser_cdms = is_android |
51 | 56 |
52 # TODO(GYP): This should be a platform define. | 57 # TODO(GYP): This should be a platform define. |
53 is_openbsd = false | 58 is_openbsd = false |
54 } | 59 } |
OLD | NEW |