summaryrefslogtreecommitdiffstats
path: root/chrome/test/perf
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 01:32:55 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 01:32:55 +0000
commit36b7dcaa8f31bf38f0ea8cb5bb7061a6acd6e302 (patch)
tree08efa602788c875cc33ee503fd604aa838bff3e7 /chrome/test/perf
parentfa9b8274cab171496d1c46d803b07269452bb61d (diff)
downloadchromium_src-36b7dcaa8f31bf38f0ea8cb5bb7061a6acd6e302.zip
chromium_src-36b7dcaa8f31bf38f0ea8cb5bb7061a6acd6e302.tar.gz
chromium_src-36b7dcaa8f31bf38f0ea8cb5bb7061a6acd6e302.tar.bz2
Add builds of miscellaneous .exes:
base\debug_message.exe chrome\test\perf\perf_tests.exe chrome\tools\convert_dict\convert_dict.exe chrome\tools\profiles\generate_profile.exe Review URL: http://codereview.chromium.org/11541 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5812 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/perf')
-rw-r--r--chrome/test/perf/perftests.scons75
1 files changed, 75 insertions, 0 deletions
diff --git a/chrome/test/perf/perftests.scons b/chrome/test/perf/perftests.scons
new file mode 100644
index 0000000..2a75ef2
--- /dev/null
+++ b/chrome/test/perf/perftests.scons
@@ -0,0 +1,75 @@
+# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+Import('env')
+
+env = env.Clone()
+
+env.ApplySConscript([
+ '$BASE_DIR/gfx/using_base_gfx.scons',
+ '$BASE_DIR/using_base.scons',
+ '$BZIP2_DIR/using_bzip2.scons',
+ '$CHROME_DIR/third_party/hunspell/using_hunspell.scons',
+ '$CHROME_SRC_DIR/build/using_googleurl.scons',
+ '$CHROME_SRC_DIR/build/using_v8.scons',
+ '$GTEST_DIR/../using_gtest.scons',
+ '$ICU38_DIR/using_icu38.scons',
+ '$LIBJPEG_DIR/using_libjpeg.scons',
+ '$LIBPNG_DIR/using_libpng.scons',
+ '$LIBXML_DIR/using_libxml.scons',
+ '$LIBXSLT_DIR/using_libxslt.scons',
+ '$MODP_B64_DIR/using_modp_b64.scons',
+ '$NET_DIR/using_net.scons',
+ '$SDCH_DIR/using_sdch.scons',
+ '$SKIA_DIR/using_skia.scons',
+ '$ZLIB_DIR/using_zlib.scons',
+])
+
+env.Prepend(
+ CPPDEFINES = [
+ 'PERF_TEST',
+ ],
+ LIBS = [
+ 'activex_shim',
+ 'browser',
+ 'browser_views',
+ 'common',
+ 'debugger',
+ 'default_plugin',
+ 'glue',
+ 'JavaScriptCore_pcre',
+ 'plugin',
+ 'port',
+ 'renderer',
+ 'sqlite',
+ 'util',
+ 'v8_snapshot',
+ 'V8Bindings',
+ 'views',
+ 'WebCore',
+ 'WTF',
+ ],
+)
+
+if env['PLATFORM'] == 'win32':
+ env.Prepend(
+ LIBS = [
+ 'rpcrt4',
+ 'shlwapi',
+ 'winmm',
+ ],
+ )
+
+input_files = [
+ 'perftests.cc',
+ 'url_parse_perftest.cc',
+ '$BASE_DIR/perftimer$OBJSUFFIX',
+ '$CHROME_DIR/browser/safe_browsing/database_perftest.cc',
+ '$CHROME_DIR/browser/visitedlink_master$OBJSUFFIX',
+ '$CHROME_DIR/browser/visitedlink_perftest.cc',
+ '$CHROME_DIR/common/json_value_serializer_perftest.cc',
+ '$CHROME_DIR/test/test_file_util$OBJSUFFIX',
+]
+
+env.ChromeTestProgram('perf_tests', input_files)