diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-11 00:36:47 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-11 00:36:47 +0000 |
commit | c311074f821fe0b89b44c3e06d02936b1da1c296 (patch) | |
tree | 8f213dbf17814c6d3754fffa28e1a84fb842a4d0 /chrome/common/ipc_tests.scons | |
parent | a6aae4a0266149529cdb28b9db4ad8cb19741b80 (diff) | |
download | chromium_src-c311074f821fe0b89b44c3e06d02936b1da1c296.zip chromium_src-c311074f821fe0b89b44c3e06d02936b1da1c296.tar.gz chromium_src-c311074f821fe0b89b44c3e06d02936b1da1c296.tar.bz2 |
Build ipc_tests on linux.
Review URL: http://codereview.chromium.org/13366
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6762 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/ipc_tests.scons')
-rw-r--r-- | chrome/common/ipc_tests.scons | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/chrome/common/ipc_tests.scons b/chrome/common/ipc_tests.scons index 91c8363..48b098e 100644 --- a/chrome/common/ipc_tests.scons +++ b/chrome/common/ipc_tests.scons @@ -20,6 +20,11 @@ env.SConscript([ '$ZLIB_DIR/using_zlib.scons', ], {'env':env}) +if env['PLATFORM'] in ('posix', 'darwin'): + env.SConscript([ + '$LIBEVENT_DIR/using_libevent.scons', + ], {'env':env}) + # TODO(sgk): convert into a using_*.scons pattern when we update WebKit. env.Append( CPPPATH = [ @@ -69,15 +74,17 @@ if env['PLATFORM'] == 'win32': ], ) -if env['PLATFORM'] == 'win32': - # TODO(port): Port this. - input_files = [ - 'ipc_fuzzing_tests.cc', - 'ipc_tests.cc', +input_files = [ + 'ipc_fuzzing_tests.cc', + 'ipc_tests.cc', + + '$BASE_DIR/perftimer$OBJSUFFIX', +] - '$BASE_DIR/perftimer$OBJSUFFIX', - ] +if env['PLATFORM'] == 'posix': + # TODO(port): These tests don't work yet. + input_files.remove('ipc_fuzzing_tests.cc') - ipc_tests = env.ChromeTestProgram('ipc_tests', input_files) - i = env.Install('$TARGET_ROOT', ipc_tests) - Alias('chrome', i) +ipc_tests = env.ChromeTestProgram('ipc_tests', input_files) +i = env.Install('$TARGET_ROOT', ipc_tests) +Alias('chrome', i) |