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 20 matching lines...) Expand all Loading... |
31 use_cras = false | 31 use_cras = false |
32 | 32 |
33 # Enables runtime selection of PulseAudio library. | 33 # Enables runtime selection of PulseAudio library. |
34 use_pulseaudio = false | 34 use_pulseaudio = false |
35 | 35 |
36 # Enables runtime selection of ALSA library for audio. | 36 # Enables runtime selection of ALSA library for audio. |
37 use_alsa = false | 37 use_alsa = false |
38 | 38 |
39 # TODO(GYP): How to handled the "embedded" use case? | 39 # TODO(GYP): How to handled the "embedded" use case? |
40 # Original conditional: (OS=="linux" or OS=="freebsd" or OS=="solaris") and em
bedded!=1 | 40 # Original conditional: (OS=="linux" or OS=="freebsd" or OS=="solaris") and em
bedded!=1 |
41 if (is_posix && !is_android && !is_mac) { | 41 if (is_posix && !is_android && !is_mac && !is_chromeos_os) { |
42 use_alsa = true | 42 use_alsa = true |
43 if (!use_cras) { | 43 if (!use_cras) { |
44 use_pulseaudio = true | 44 use_pulseaudio = true |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 # Enables the MPEG2-TS stream parser for use with Media Source. Disabled by | 48 # Enables the MPEG2-TS stream parser for use with Media Source. Disabled by |
49 # default since it's not available on the normal Web Platform and costs money. | 49 # default since it's not available on the normal Web Platform and costs money. |
50 enable_mpeg2ts_stream_parser = false | 50 enable_mpeg2ts_stream_parser = false |
51 | 51 |
52 # Experiment to enable mojo media application: http://crbug.com/431776 | 52 # Experiment to enable mojo media application: http://crbug.com/431776 |
53 # Valid options are: | 53 # Valid options are: |
54 # - "none": Do not use mojo media application. | 54 # - "none": Do not use mojo media application. |
55 # - "browser": Use mojo media application hosted in the browser process. | 55 # - "browser": Use mojo media application hosted in the browser process. |
56 # - "utility": Use mojo media application hosted in the utility process. | 56 # - "utility": Use mojo media application hosted in the utility process. |
57 enable_mojo_media = "none" | 57 enable_mojo_media = "none" |
58 | 58 |
59 # TODO(GYP): This should be a platform define. | 59 # TODO(GYP): This should be a platform define. |
60 is_openbsd = false | 60 is_openbsd = false |
61 } | 61 } |
OLD | NEW |