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

Side by Side Diff: media/media_options.gni

Issue 1678103007: [Chromecast] Set use_alsa=true by default on Chromecast platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 import("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/headless_build.gni") 7 import("//build/config/headless_build.gni")
8 8
9 declare_args() { 9 declare_args() {
10 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of 10 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 is_openbsd = false 56 is_openbsd = false
57 } 57 }
58 58
59 declare_args() { 59 declare_args() {
60 # Enables runtime selection of PulseAudio library. 60 # Enables runtime selection of PulseAudio library.
61 use_pulseaudio = false 61 use_pulseaudio = false
62 62
63 # Enables runtime selection of ALSA library for audio. 63 # Enables runtime selection of ALSA library for audio.
64 use_alsa = false 64 use_alsa = false
65 65
66 # Alsa should be used on non-Android, non-Mac POSIX systems, and Chromecast 66 # Alsa should be used on non-Android, non-Mac POSIX systems.
67 # builds for desktop Linux. 67 if (is_posix && !is_headless && !is_android && !is_mac) {
68 if (is_posix && !is_headless && !is_android && !is_mac &&
69 (!is_chromecast || is_cast_desktop_build)) {
70 use_alsa = true 68 use_alsa = true
71 if (!use_cras) { 69
70 # Pulse is not supported on Chromecast platforms.
71 if (!use_cras && !is_chromecast) {
72 use_pulseaudio = true 72 use_pulseaudio = true
73 } 73 }
74 } 74 }
75 } 75 }
OLDNEW
« media/media.gyp ('K') | « media/media.gyp ('k') | media/midi/midi.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698