$OpenBSD: patch-third_party_WebKit_WebCore_WebCore_gyp_WebCore_gyp,v 1.2 2011/02/08 09:43:02 espie Exp $
--- third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp.orig	Fri Jan 21 10:22:41 2011
+++ third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp	Mon Jan 24 11:45:53 2011
@@ -911,7 +911,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',
@@ -1073,7 +1073,7 @@
         ['exclude', 'platform/LinkHash\\.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$'],
@@ -1180,7 +1180,7 @@
             ['exclude', 'platform/chromium/DragImageChromiumSkia\\.cpp$'],
           ],
         }],
-        ['OS!="linux" and OS!="freebsd"', {
+        ['OS!="linux" and OS!="freebsd" and OS!="openbsd"', {
           'sources/': [
             ['exclude', '(Gtk|Linux)\\.cpp$'],
             ['exclude', 'Harfbuzz[^/]+\\.(cpp|h)$'],
@@ -1342,7 +1342,7 @@
             ['exclude', 'rendering/RenderThemeChromiumSkia\\.cpp$'],
           ],
         }],
-        ['OS!="linux" and OS!="freebsd"', {
+        ['OS!="linux" and OS!="freebsd" and OS!="openbsd"', {
           'sources/': [
             ['exclude', '(Gtk|Linux)\\.cpp$'],
           ],
