Chromium Code Reviews| 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 (embedded!=1 or (chr omecast==1 and target_arch!="arm"))', { | 16 ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and (chromecast==0 or is _cast_desktop_build==1)', { |
|
slan
2015/12/15 04:15:24
We can get rid of this as soon as we have a CMA ba
halliwell
2015/12/15 15:41:55
What was the old "embedded!=1" condition for and w
slan
2015/12/15 15:59:35
'embedded' is synonymous with 'chromecast' (even o
halliwell
2015/12/15 16:09:18
Aha ... didn't know that :) Thanks!
| |
| 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 2092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2119 'dependencies': [ | 2119 'dependencies': [ |
| 2120 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2120 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 2121 ], | 2121 ], |
| 2122 }], | 2122 }], |
| 2123 ], | 2123 ], |
| 2124 }, | 2124 }, |
| 2125 ], | 2125 ], |
| 2126 }], | 2126 }], |
| 2127 ], | 2127 ], |
| 2128 } | 2128 } |
| OLD | NEW |