aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-media_media.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-media_media.gyp')
-rw-r--r--www/chromium/files/patch-media_media.gyp26
1 files changed, 26 insertions, 0 deletions
diff --git a/www/chromium/files/patch-media_media.gyp b/www/chromium/files/patch-media_media.gyp
new file mode 100644
index 000000000000..9650e2b4f95c
--- /dev/null
+++ b/www/chromium/files/patch-media_media.gyp
@@ -0,0 +1,26 @@
+--- media/media.gyp.orig 2016-05-11 19:02:24 UTC
++++ media/media.gyp
+@@ -745,7 +745,13 @@
+ ['exclude', '_alsa\\.(h|cc)$'],
+ ],
+ }],
+- ['OS=="linux"', {
++ ['OS=="freebsd"', {
++ 'sources!': [
++ 'capture/video/linux/v4l2_capture_delegate.cc',
++ 'capture/video/linux/video_capture_device_factory_linux.cc',
++ ],
++ }],
++ ['OS=="linux" or os_bsd==1', {
+ 'conditions': [
+ ['use_x11==1', {
+ 'dependencies': [
+@@ -1095,7 +1101,7 @@
+ 'base/simd/filter_yuv_sse2.cc',
+ ],
+ }],
+- ['OS!="linux" and OS!="win"', {
++ ['OS!="linux" and OS!="win" and os_bsd!=1', {
+ 'sources!': [
+ 'base/keyboard_event_counter.cc',
+ 'base/keyboard_event_counter.h',