$OpenBSD: patch-third_party_WebKit_Source_WebCore_WebCore_gyp_WebCore_gyp,v 1.3 2011/06/08 20:36:56 robert Exp $
--- third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp.orig	Mon Jun  6 11:17:07 2011
+++ third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp	Wed Jun  8 09:58:36 2011
@@ -1060,7 +1060,7 @@
             '<(chromium_src_dir)/gpu/gpu.gyp:gles2_c_lib',
           ],
         }],
-        ['OS=="linux" or OS=="freebsd"', {
+        ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
           'dependencies': [
             '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
             '<(chromium_src_dir)/build/linux/system.gyp:gtk',
@@ -1267,7 +1267,7 @@
         ['exclude', 'platform/text/TextEncodingDetectorNone\\.cpp$'],
       ],
       'conditions': [
-        ['OS=="linux" or OS=="freebsd"', {
+        ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
           'sources/': [
             # Cherry-pick files excluded by the broader regular expressions above.
             ['include', 'platform/chromium/KeyCodeConversionGtk\\.cpp$'],
@@ -1386,7 +1386,7 @@
             ['exclude', 'platform/graphics/FontPlatformData\\.cpp$']
           ],
         }],
-        ['OS!="linux" and OS!="freebsd"', {
+        ['OS!="linux" and OS!="freebsd" and OS!="openbsd"', {
           'sources/': [
             ['exclude', '(Gtk|Linux)\\.cpp$'],
             ['exclude', 'Harfbuzz[^/]+\\.(cpp|h)$'],
@@ -1459,7 +1459,7 @@
           # warnings about uninitialized this.
           'cflags': ['-Wno-uninitialized'],
         }],
-        ['OS!="linux" and OS!="freebsd"', {
+        ['OS!="linux" and OS!="freebsd" and OS!="openbsd"', {
           'sources/': [
             ['exclude', '(Gtk|Linux)\\.cpp$'],
           ],
