$OpenBSD: patch-ui_base_ui_base_gyp,v 1.14 2016/05/27 06:28:21 robert Exp $
--- ui/base/ui_base.gyp.orig.port	Wed May 25 21:01:13 2016
+++ ui/base/ui_base.gyp	Thu May 26 08:09:49 2016
@@ -456,7 +456,7 @@
             'x/selection_utils.h',
           ]
         }],
-        ['use_aura==0 or OS!="linux"', {
+        ['use_aura==0 or (OS!="linux" and OS!="openbsd")', {
           'sources!': [
             'resource/resource_bundle_auralinux.cc',
           ],
@@ -480,7 +480,7 @@
             '../../build/linux/system.gyp:glib',
           ],
         }],
-        ['OS=="linux"', {
+        ['OS=="linux" or os_bsd==1', {
           'conditions': [
             ['toolkit_views==0 and use_aura==0', {
               # Note: because of gyp predence rules this has to be defined as
@@ -513,7 +513,7 @@
             'clipboard/clipboard_aurax11.cc',
           ],
         }],
-        ['chromeos==1 or (use_aura==1 and OS=="linux" and use_x11==0)', {
+        ['chromeos==1 or (use_aura==1 and (OS=="linux" or os_bsd==1) and use_x11==0)', {
           'sources!': [
             'dragdrop/os_exchange_data_provider_aurax11.cc',
           ],
