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

Unified Diff: media/BUILD.gn

Issue 1079333002: Require udev for MidiManagerAlsa (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simple-hotplug
Patch Set: Rebase Created 5 years, 8 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 | « no previous file | media/media.gyp » ('j') | 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 559e29ade71326f11e9f536314467371637e5e9c..826dfb4c321a14de2c8beb03b0eac5818903f726 100644
--- a/media/BUILD.gn
+++ b/media/BUILD.gn
@@ -368,15 +368,12 @@ component("media") {
]
}
- if (use_alsa) {
+ if (use_alsa && use_udev) {
libs += [ "asound" ]
sources += [
"midi/midi_manager_alsa.cc",
"midi/midi_manager_alsa.h",
]
- }
-
- if (use_udev) {
deps += [ "//device/udev_linux" ]
}
@@ -679,7 +676,7 @@ test("media_unittests") {
]
}
- if (use_alsa) {
+ if (use_alsa && use_udev) {
sources += [ "midi/midi_manager_alsa_unittest.cc" ]
}
« no previous file with comments | « no previous file | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698