diff options
author | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-27 13:48:03 +0000 |
---|---|---|
committer | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-27 13:48:03 +0000 |
commit | db71728e5bc139ecfa97823e5613d882257cef4c (patch) | |
tree | 773f60b5e5db3b4f2e10c442f5fd11f2fa88d870 /base/SConscript | |
parent | 32065cfaaf2ef49d9e4cbbbcf21e92dcb3b10072 (diff) | |
download | chromium_src-db71728e5bc139ecfa97823e5613d882257cef4c.zip chromium_src-db71728e5bc139ecfa97823e5613d882257cef4c.tar.gz chromium_src-db71728e5bc139ecfa97823e5613d882257cef4c.tar.bz2 |
Make perftimer and run_all_perftests compile on Posix. Stub out a few things into process_util_posix, and add a function to raise to a high priority.
BUG=1343318
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1438 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/SConscript')
-rw-r--r-- | base/SConscript | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/base/SConscript b/base/SConscript index c754dc7..b08d5db 100644 --- a/base/SConscript +++ b/base/SConscript @@ -74,8 +74,8 @@ input_files = [ 'non_thread_safe.cc', 'path_service.cc', 'pickle.cc', - 'revocable_store.cc', 'ref_counted.cc', + 'revocable_store.cc', 'sha2.cc', 'stats_table.cc', 'string_escape.cc', @@ -333,8 +333,10 @@ else: icudata = '../icudt38l.dat' env.Alias('base', ['.', installed_base_unittests, icudata]) +# TODO(sgk) should this be moved into base.lib like everything else? This will +# require updating a bunch of other SConscripts which link directly against +# this generated object file. +env_tests.StaticObject('perftimer.cc') -# These aren't ported to other platforms yet. -if env['PLATFORM'] == 'win32': - env_tests.StaticObject('perftimer.cc') - env_tests.StaticObject('run_all_perftests.cc') +# Since run_all_perftests supplies a main, we cannot have it in base.lib +env_tests.StaticObject('run_all_perftests.cc') |