aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-media_capture_BUILD.gn
blob: df3d1fe0fbfbe891b983968bdb3cf38320cdbcf1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- media/capture/BUILD.gn.orig	2017-06-05 19:03:08 UTC
+++ media/capture/BUILD.gn
@@ -160,6 +160,16 @@ component("capture_lib") {
     ]
   }
 
+  if (is_bsd) {
+    sources -= [
+      "video/linux/video_capture_device_linux.cc",
+      "video/linux/video_capture_device_linux.h",
+      "video/linux/video_capture_device_factory_linux.cc",
+      "video/linux/video_capture_device_factory_linux.h",
+      "video/linux/v4l2_capture_delegate.cc",
+    ]
+  }
+
   if (is_win) {
     deps += [ "//media/base/win" ]
     libs = [