diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-23 21:57:11 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-23 21:57:11 +0000 |
commit | 5f5ac6a852057825cb054642785c2b30ab46f1b2 (patch) | |
tree | ddc517c52e9e32560c38d298da06d9c2c52b0500 /base/base.gyp | |
parent | 930a187b4f69bbe38746021f715307d85d92cf3f (diff) | |
download | chromium_src-5f5ac6a852057825cb054642785c2b30ab46f1b2.zip chromium_src-5f5ac6a852057825cb054642785c2b30ab46f1b2.tar.gz chromium_src-5f5ac6a852057825cb054642785c2b30ab46f1b2.tar.bz2 |
posix: split OS-specific bits out of sys_info_posix
Split into Linux and BSD-specific files.
Review URL: http://codereview.chromium.org/427010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32860 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gyp')
-rw-r--r-- | base/base.gyp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/base/base.gyp b/base/base.gyp index e7eda09..5ba7d4b 100644 --- a/base/base.gyp +++ b/base/base.gyp @@ -297,7 +297,10 @@ 'string_util_win.h', 'sys_info.h', 'sys_info_chromeos.cc', + 'sys_info_freebsd.cc', + 'sys_info_linux.cc', 'sys_info_mac.cc', + 'sys_info_openbsd.cc', 'sys_info_posix.cc', 'sys_info_win.cc', 'sys_string_conversions.h', @@ -465,6 +468,16 @@ ], }, ], + # For now, just test the *BSD platforms enough to exclude them. + # Subsequent changes will include them further. + [ 'OS != "freebsd"', { + 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], + }, + ], + [ 'OS != "openbsd"', { + 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], + }, + ], [ 'GENERATOR == "quentin"', { # Quentin builds don't have a recent enough glibc to include the # inotify headers |