summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-media_capture_BUILD.gn
blob: c48066bb345822daeb4de5c08a4b565637ff35fd (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-04-19 19:06:35 UTC
+++ media/capture/BUILD.gn
@@ -153,6 +153,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 = [
OpenPOWER on IntegriCloud