Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Side by Side Diff: media/media_options.gni

Issue 396793003: Factorize media/audio into new GN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing audio deps. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/audio/audio_low_latency_input_output_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « media/audio/audio_low_latency_input_output_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698