summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-media_capture_BUILD.gn
blob: 971750616887874f1d034ce4de57585646a8f20f (plain)
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-03-09 20:04:34 UTC
+++ media/capture/BUILD.gn
@@ -135,6 +135,16 @@ component("capture") {
     ]
   }
 
+  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",  # For media_switches.
OpenPOWER on IntegriCloud