OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # Override to dynamically link the cras (ChromeOS audio) library. | 8 # Override to dynamically link the cras (ChromeOS audio) library. |
9 'use_cras%': 0, | 9 'use_cras%': 0, |
10 # Option e.g. for Linux distributions to link pulseaudio directly | 10 # Option e.g. for Linux distributions to link pulseaudio directly |
11 # (DT_NEEDED) instead of using dlopen. This helps with automated | 11 # (DT_NEEDED) instead of using dlopen. This helps with automated |
12 # detection of ABI mismatches and prevents silent errors. | 12 # detection of ABI mismatches and prevents silent errors. |
13 'linux_link_pulseaudio%': 0, | 13 'linux_link_pulseaudio%': 0, |
14 'conditions': [ | 14 'conditions': [ |
15 # Enable ALSA and Pulse for runtime selection. | 15 # Enable ALSA and Pulse for runtime selection. |
16 ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and (chromecast==0 or is
_cast_desktop_build==1)', { | 16 ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and ((embedded!=1 and ch
romecast==0) or is_cast_desktop_build==1)', { |
17 # ALSA is always needed for Web MIDI even if the cras is enabled. | 17 # ALSA is always needed for Web MIDI even if the cras is enabled. |
18 'use_alsa%': 1, | 18 'use_alsa%': 1, |
19 'conditions': [ | 19 'conditions': [ |
20 ['use_cras==1', { | 20 ['use_cras==1', { |
21 'use_pulseaudio%': 0, | 21 'use_pulseaudio%': 0, |
22 }, { | 22 }, { |
23 'use_pulseaudio%': 1, | 23 'use_pulseaudio%': 1, |
24 }], | 24 }], |
25 ], | 25 ], |
26 }, { | 26 }, { |
(...skipping 2113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2140 'dependencies': [ | 2140 'dependencies': [ |
2141 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2141 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2142 ], | 2142 ], |
2143 }], | 2143 }], |
2144 ], | 2144 ], |
2145 }, | 2145 }, |
2146 ], | 2146 ], |
2147 }], | 2147 }], |
2148 ], | 2148 ], |
2149 } | 2149 } |
OLD | NEW |