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

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: Correct declare_args bug. 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..96582e5af9e64d42cfbf4c351388b2b31fcfd3d6 100644
--- a/media/media_options.gni
+++ b/media/media_options.gni
@@ -38,7 +38,7 @@ 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")) {
+ (!is_chromecast || is_cast_desktop_build)) {
use_alsa = true
if (!use_cras) {
use_pulseaudio = true
« chromecast/BUILD.gn ('K') | « media/media.gyp ('k') | media/midi/midi.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698