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

Unified Diff: media/media.gyp

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 | « media/BUILD.gn ('k') | media/midi/midi_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/media.gyp
diff --git a/media/media.gyp b/media/media.gyp
index 272ee39f630b7edd65abd86380f7fec9ccea570c..43a4df690147062fa62f776a51e75ee065e67026 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -1100,6 +1100,11 @@
'dependencies': [
'../device/udev_linux/udev.gyp:udev_linux',
],
+ }, { # use_udev==0
+ 'sources!': [
+ 'midi/midi_manager_alsa.cc',
+ 'midi/midi_manager_alsa.h',
+ ],
}],
], # conditions
'target_conditions': [
@@ -1415,7 +1420,7 @@
'video/capture/mac/video_capture_device_factory_mac_unittest.mm',
]
}],
- ['use_alsa==1', {
+ ['use_alsa==1 and use_udev==1', {
'sources': [
'midi/midi_manager_alsa_unittest.cc',
]
« no previous file with comments | « media/BUILD.gn ('k') | media/midi/midi_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698