[Telemetry] Fix android unittests that run after testRendererCrash.
[chromium-blink-merge.git] / media / media_options.gni
blob23decabcf905e0a0c327ac0daa1184debf2dd472
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.
5 # These variables need to be args.
7 # Override to dynamically link the cras (ChromeOS audio) library.
8 use_cras = false
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.
14 # TODO(ajwong): Why is this prefixed "linux_"?
15 linux_link_pulseaudio = false
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
26 # TODO(ajwong): how to disable embedded?
27 # Original conditional: (OS=="linux" or OS=="freebsd" or OS=="solaris") and embedded!=1
28 use_alsa = false
29 use_pulseaudio = false
30 if (is_posix && !is_android && !is_mac) {
31   use_alsa = true
32   if (!use_cras) {
33     use_pulseaudio = true
34   }
37 # TODO(ajwong): is_openbsd should be a platform define.
38 is_openbsd = false
40 # TODO(ajwong): This should be branding controlled?
41 proprietary_codecs = false
43 # TODO(ajwong): Where are these coming from?jk
44 enable_mpeg2ts_stream_parser = false
45 enable_browser_cdms = is_android