BSD port changes for base/ (OS_POSIX/GTK instead of OS_LINUX
where applicable, missing includes, etc)

Review URL: http://codereview.chromium.org/774001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41143 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/base.gypi b/base/base.gypi
index b6bca90..c9d2e081 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -372,7 +372,7 @@
       },
       # Conditions that are not relevant for Win64 build
       'conditions': [
-        [ 'OS == "linux" or OS == "freebsd"', {
+        [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
           'conditions': [
             [ 'chromeos==1', {
                 'sources/': [ ['include', '_chromeos\\.cc$'] ]
@@ -417,7 +417,7 @@
             '../build/linux/system.gyp:gtk',
           ],
         },],
-        [ 'OS == "freebsd"', {
+        [ 'OS == "freebsd" or OS == "openbsd"', {
             'sources!': [
               'file_watcher_inotify.cc',
             ],
@@ -602,7 +602,7 @@
         },
       ],
     }],
-    [ 'OS == "linux" or OS == "freebsd"', {
+    [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
       'targets': [
         {
           'target_name': 'symbolize',