summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-19 01:13:36 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-19 01:13:36 +0000
commit18aa368793ad641482f92a600cb953807b22bea0 (patch)
treec6a2293096672f685d1a0c52ff7dcab2eb6f52b0 /net
parent1325bfb2fad2c13cd4d2d08f446d62c53b438b59 (diff)
downloadchromium_src-18aa368793ad641482f92a600cb953807b22bea0.zip
chromium_src-18aa368793ad641482f92a600cb953807b22bea0.tar.gz
chromium_src-18aa368793ad641482f92a600cb953807b22bea0.tar.bz2
Only link the new event lib on Linux systems.
Review URL: http://codereview.chromium.org/2982 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2398 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/SConscript8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/SConscript b/net/SConscript
index d6492ef..ef50eb8 100644
--- a/net/SConscript
+++ b/net/SConscript
@@ -170,7 +170,6 @@ env_tests.Prepend(
'net', # net must come before base and modp_b64
'bzip2', # bzip2 must come before base
'base',
- 'event',
'googleurl',
'gtest',
'icuuc',
@@ -209,6 +208,13 @@ if env['PLATFORM'] == 'win32':
],
)
+if env['PLATFORM'] == 'posix':
+ env_tests.Append(
+ LIBS = [
+ 'event',
+ ],
+ )
+
unittest_files = [
'base/auth_cache_unittest.cc',