| 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" ]
|
| }
|
|
|
|
|