Index: media/BUILD.gn |
diff --git a/media/BUILD.gn b/media/BUILD.gn |
index 31a6efd100e6fa1ec25aac54553438cbdba98d9d..a19ec54949804258bbff67319cadc917ac39cab2 100644 |
--- a/media/BUILD.gn |
+++ b/media/BUILD.gn |
@@ -361,6 +361,10 @@ component("media") { |
] |
} |
+ if (use_udev) { |
+ deps += [ "//device/udev_linux" ] |
+ } |
+ |
# A simple WebM encoder for animated avatars on ChromeOS. |
if (use_ozone) { |
@@ -671,6 +675,10 @@ test("media_unittests") { |
] |
} |
+ if (use_alsa) { |
+ sources += [ "midi/midi_manager_alsa_unittest.cc" ] |
+ } |
+ |
# include_dirs += [ |
# # Needed by media_drm_bridge.cc. |
# target_gen_dir, |