Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5503)

Unified Diff: base/base.gyp

Issue 427010: posix: split linux-specific bits out of sys_info_posix (Closed)
Patch Set: date Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/sys_info_freebsd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gyp
diff --git a/base/base.gyp b/base/base.gyp
index e7eda0916d09e7a2fc751cc821e62eed0e2e06f3..5ba7d4b310c7fa822371a0b2f9a956bde4427d02 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
« no previous file with comments | « no previous file | base/sys_info_freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698