$OpenBSD: patch-base_base_gypi,v 1.6 2011/06/08 20:36:56 robert Exp $ --- base/base.gypi.orig Mon Jun 6 11:11:47 2011 +++ base/base.gypi Wed Jun 8 16:55:48 2011 @@ -192,6 +192,7 @@ 'process_util.h', 'process_util_linux.cc', 'process_util_mac.mm', + 'process_util_openbsd.cc', 'process_util_posix.cc', 'process_util_win.cc', 'process_win.cc', @@ -363,12 +364,11 @@ 'message_pump_glib_x.cc', ], }], - [ 'OS != "linux"', { + [ 'OS != "linux" or OS != "openbsd"', { 'sources!': [ # Not automatically excluded by the *linux.cc rules. 'gtk_util.cc', 'gtk_util.h', - 'linux_util.cc', ], }, ], @@ -408,10 +408,10 @@ },], ['OS=="freebsd" or OS=="openbsd"', { 'sources!': [ - 'base/files/file_path_watcher_linux.cc', + 'files/file_path_watcher_linux.cc', ], 'sources': [ - 'base/files/file_path_watcher_stub.cc', + 'files/file_path_watcher_stub.cc', ], }], ], @@ -481,6 +481,12 @@ ], }], [ 'OS == "freebsd" or OS == "openbsd"', { + 'sources!': [ + 'file_util_linux.cc', + 'process_linux.cc', + 'process_util_linux.cc', + ], + 'include_dirs': [ '/usr/local/include' ], 'link_settings': { 'libraries': [ '-L/usr/local/lib -lexecinfo',