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

Unified Diff: media/BUILD.gn

Issue 972473005: Fix //media:media_unittests for gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/BUILD.gn
diff --git a/media/BUILD.gn b/media/BUILD.gn
index 8b6cc692506f4a5b7147548fb620cf2234c80990..a6316f56b0a62d61ee3a7fb321f4f135601331b4 100644
--- a/media/BUILD.gn
+++ b/media/BUILD.gn
@@ -32,6 +32,9 @@ config("media_config") {
if (use_cras) {
defines += [ "USE_CRAS" ]
}
+ if (use_alsa) {
+ defines += [ "USE_ALSA" ]
+ }
}
config("media_dependent_config") {
@@ -352,7 +355,6 @@ component("media") {
if (use_alsa) {
libs += [ "asound" ]
- defines += [ "USE_ALSA" ]
sources += [
"midi/midi_manager_alsa.cc",
"midi/midi_manager_alsa.h",
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698