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

Unified Diff: media/media_options.gni

Issue 1410883007: headless: Add gn settings for embedded build and headless mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep use_cups overridable. Created 5 years, 1 month 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
« no previous file with comments | « build/linux/BUILD.gn ('k') | net/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/media_options.gni
diff --git a/media/media_options.gni b/media/media_options.gni
index 466b6c54a4a01b584b17573c71451ad5086f156d..81469aad6ef79c75a112f4cb426cf1bab6ff0f0a 100644
--- a/media/media_options.gni
+++ b/media/media_options.gni
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/chromecast_build.gni")
+import("//build/config/headless_build.gni")
declare_args() {
# Allows distributions to link pulseaudio directly (DT_NEEDED) instead of
@@ -40,7 +41,7 @@ declare_args() {
# Alsa should be used on non-Android, non-Mac POSIX systems, and Chromecast
# builds for desktop Linux.
- if (is_posix && !is_android && !is_mac &&
+ if (is_posix && !is_headless && !is_android && !is_mac &&
(!is_chromecast || target_cpu != "arm")) {
use_alsa = true
if (!use_cras) {
« no previous file with comments | « build/linux/BUILD.gn ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698