OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # These variables need to be args. |
| 6 |
| 7 # Override to dynamically link the cras (ChromeOS audio) library. |
| 8 use_cras = false |
| 9 |
| 10 # Option e.g. for Linux distributions to link pulseaudio directly |
| 11 # (DT_NEEDED) instead of using dlopen. This helps with automated |
| 12 # detection of ABI mismatches and prevents silent errors. |
| 13 # |
| 14 # TODO(ajwong): Why is this prefixed "linux_"? |
| 15 linux_link_pulseaudio = false |
| 16 |
| 17 # TODO(ajwong): Enable libvpx once that's converted. |
| 18 media_use_ffmpeg = true |
| 19 media_use_libvpx = false |
| 20 if (is_android) { |
| 21 # Android doesn't use ffmpeg or libvpx. |
| 22 media_use_ffmpeg = false |
| 23 media_use_libvpx = false |
| 24 } |
| 25 |
| 26 # TODO(ajwong): how to disable embedded? |
| 27 # Original conditional: (OS=="linux" or OS=="freebsd" or OS=="solaris") and embe
dded!=1 |
| 28 use_alsa = false |
| 29 use_pulseaudio = false |
| 30 if (is_posix && !is_android) { |
| 31 use_alsa = true |
| 32 if (!use_cras) { |
| 33 use_pulseaudio = true |
| 34 } |
| 35 } |
| 36 |
| 37 # TODO(ajwong): is_openbsd should be a platform define. |
| 38 is_openbsd = false |
| 39 |
| 40 # TODO(ajwong): This should be branding controlled? |
| 41 proprietary_codecs = false |
| 42 |
| 43 # TODO(ajwong): Where are these coming from?jk |
| 44 enable_mpeg2ts_stream_parser = false |
| 45 enable_browser_cdms = is_android |
OLD | NEW |