| 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 ['OS=="android"', { | 15 ['OS=="android"', { |
| 16 # Android doesn't use ffmpeg. | 16 # Android doesn't use ffmpeg. |
| 17 'media_use_ffmpeg%': 0, | 17 'media_use_ffmpeg%': 0, |
| 18 # Android doesn't use libvpx. | 18 # Android doesn't use libvpx. |
| 19 'media_use_libvpx%': 0, | 19 'media_use_libvpx%': 0, |
| 20 }, { # 'OS!="android"' | 20 }, { # 'OS!="android"' |
| 21 'media_use_ffmpeg%': 1, | 21 'media_use_ffmpeg%': 1, |
| 22 'media_use_libvpx%': 1, | 22 'media_use_libvpx%': 1, |
| 23 }], | 23 }], |
| 24 # Enable ALSA and Pulse for runtime selection. | 24 # Enable ALSA and Pulse for runtime selection. |
| 25 ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and embedded!=1', { | 25 ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and (embedded!=1 or (chr
omecast==1 and target_arch!="arm"))', { |
| 26 # ALSA is always needed for Web MIDI even if the cras is enabled. | 26 # ALSA is always needed for Web MIDI even if the cras is enabled. |
| 27 'use_alsa%': 1, | 27 'use_alsa%': 1, |
| 28 'conditions': [ | 28 'conditions': [ |
| 29 ['use_cras==1', { | 29 ['use_cras==1', { |
| 30 'use_pulseaudio%': 0, | 30 'use_pulseaudio%': 0, |
| 31 }, { | 31 }, { |
| 32 'use_pulseaudio%': 1, | 32 'use_pulseaudio%': 1, |
| 33 }], | 33 }], |
| 34 ], | 34 ], |
| 35 }, { | 35 }, { |
| (...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1748 ], | 1748 ], |
| 1749 }], | 1749 }], |
| 1750 ], | 1750 ], |
| 1751 }], | 1751 }], |
| 1752 ], | 1752 ], |
| 1753 }, | 1753 }, |
| 1754 ], | 1754 ], |
| 1755 }], | 1755 }], |
| 1756 ], | 1756 ], |
| 1757 } | 1757 } |
| OLD | NEW |