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

Unified Diff: media/media_options.gni

Issue 1528533002: [Chromecast] Replace architecure-based conditionals with flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Add remaining instances Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: media/media_options.gni
diff --git a/media/media_options.gni b/media/media_options.gni
index 07b7fdee74d31e5956e9f465c6b12511caaae645..bd78fe661b2e6b48ce1571d49767391b95618a0e 100644
--- a/media/media_options.gni
+++ b/media/media_options.gni
@@ -37,8 +37,8 @@ declare_args() {
# Alsa should be used on non-Android, non-Mac POSIX systems, and Chromecast
# builds for desktop Linux.
- if (is_posix && !is_headless && !is_android && !is_mac &&
- (!is_chromecast || target_cpu != "arm")) {
+ if ((is_posix && !is_headless && !is_android && !is_mac) ||
+ is_cast_dekstop_build) {
halliwell 2015/12/15 02:18:46 fix "dekstop"
slan 2015/12/15 03:11:11 Good catch... turns out the logic wasn't correct e
use_alsa = true
if (!use_cras) {
use_pulseaudio = true
« no previous file with comments | « chromecast/chromecast.gni ('k') | ui/ozone/ozone.gni » ('j') | ui/ozone/ozone.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698