summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-media_capture_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-media_capture_BUILD.gn')
-rw-r--r--www/iridium/files/patch-media_capture_BUILD.gn19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/iridium/files/patch-media_capture_BUILD.gn b/www/iridium/files/patch-media_capture_BUILD.gn
new file mode 100644
index 000000000000..c48066bb3458
--- /dev/null
+++ b/www/iridium/files/patch-media_capture_BUILD.gn
@@ -0,0 +1,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 = [